浏览代码

bug fix

/main
xingwei.zhu 5 年前
当前提交
a75c7062
共有 3 个文件被更改,包括 9 次插入4 次删除
  1. 5
      Runtime/ui/painting/canvas_shader.cs
  2. 2
      Runtime/ui/utils/basic_types/path.cs
  3. 6
      Runtime/ui/utils/basic_types/pool_items.cs

5
Runtime/ui/painting/canvas_shader.cs


var mat = _fill1Mat.getMaterial(paint.blendMode);
_getShaderPassAndProps(layer, paint, mesh.matrix, 1.0f, out var pass, out var props);
return PictureFlusher.CmdDraw.create(
var ret = PictureFlusher.CmdDraw.create(
mesh.dispose();
return ret;
}
public static PictureFlusher.CmdDraw stroke0(PictureFlusher.RenderLayer layer, Paint paint,

2
Runtime/ui/utils/basic_types/path.cs


return;
}
var points = TessellationGenerator.tessellateBezier(x1, y1, x2, y2, x3, y3, x4, y4, this._tessTol);
var points = uiTessellationGenerator.tessellateBezier(x1, y1, x2, y2, x3, y3, x4, y4, this._tessTol);
D.assert(points.Count > 0);
for (int i = 0; i < points.Count; i++) {
var point = points[i];

6
Runtime/ui/utils/basic_types/pool_items.cs


info += "| " + key + " = " + debugInfo[key]._watermark + " |\n";
debugInfo[key]._old_watermark = debugInfo[key]._watermark;
}
Debug.Log(info);
if (info != "") {
Debug.Log(info);
}
}
public static T alloc<T>() where T : PoolItem, new() {

正在加载...
取消
保存