浏览代码

update gif fix files

/zgh-build_scripts
guanghuispark 3 年前
当前提交
077179f0
共有 5 个文件被更改,包括 25 次插入25 次删除
  1. 22
      com.unity.uiwidgets/Runtime/rendering/layer.cs
  2. 3
      com.unity.uiwidgets/Runtime/rendering/view.cs
  3. 10
      com.unity.uiwidgets/Runtime/ui/native_bindings.cs
  4. 13
      com.unity.uiwidgets/Runtime/ui/painting.cs
  5. 2
      com.unity.uiwidgets/Runtime/widgets/widget_inspector.cs

22
com.unity.uiwidgets/Runtime/rendering/layer.cs


get { return (ContainerLayer) base.parent; }
}
public virtual void DisposeCPter()
public virtual void DisposeCPtr()
{
if(_engineLayer != null) {
_engineLayer.DisposeCPtr();

}
}
public EngineLayer engineLayer {
protected EngineLayer engineLayer {
get { return _engineLayer; }
set {
if(_engineLayer != null){

this.canvasBounds = canvasBounds;
}
public override void DisposeCPter()
public override void DisposeCPtr()
base.DisposeCPter();
base.DisposeCPtr();
if(_picture != null){
_picture.DisposeCPtr();
}

return addedLayers;
}
public override void DisposeCPter() {
base.DisposeCPter();
DisposeAllChildren();
}
private void DisposeAllChildren(){
public override void DisposeCPtr() {
base.DisposeCPtr();
child.DisposeCPter();
child.DisposeCPtr();
child = next;
}
}

child._nextSibling = null;
child._previousSibling = null;
dropChild(child);
child.DisposeCPter();
child.DisposeCPtr();
D.assert(!child.attached);
}

child._nextSibling = null;
D.assert(child.attached == attached);
dropChild(child);
child.DisposeCPter();
child.DisposeCPtr();
child = next;
}

3
com.unity.uiwidgets/Runtime/rendering/view.cs


var builder = new SceneBuilder();
using (var scene = layer.buildScene(builder)) {
Window.instance.render(scene);
builder.DisposeCPtr();
builder.DisposeCPtr();
D.assert(() => {
if (D.debugRepaintRainbowEnabled || D.debugRepaintTextRainbowEnabled) {
D.debugCurrentRepaintColor =

10
com.unity.uiwidgets/Runtime/ui/native_bindings.cs


_dispose();
}
}
public abstract class NativeWrapperCPtrDisposable : NativeWrapperDisposable {
public bool isDisposed = false;
protected NativeWrapperCPtrDisposable() {
}
protected NativeWrapperCPtrDisposable(IntPtr ptr) : base(ptr) {
}
}
}

13
com.unity.uiwidgets/Runtime/ui/painting.cs


public int rowBytes;
}
public class Image : NativeWrapperDisposable, IEquatable<Image> {
private bool isDisposed = false;
public class Image : NativeWrapperCPtrDisposable, IEquatable<Image> {
internal Image(IntPtr ptr) : base(ptr) {
}

public delegate void ImageDecoderCallback(Image result);
public class FrameInfo : NativeWrapper {
bool isDisposed = false;
public class FrameInfo : NativeWrapperCPtrDisposable {
internal FrameInfo(IntPtr ptr) : base(ptr) {
}

reverseDifference,
}
public abstract class EngineLayer : NativeWrapper {
private bool isDisposed = false;
public abstract class EngineLayer : NativeWrapperCPtrDisposable {
protected EngineLayer(IntPtr ptr) : base(ptr) {
}

bool transparentOccluder);
}
public class Picture : NativeWrapperDisposable {
public class Picture : NativeWrapperCPtrDisposable {
private bool isDisposed = false;
internal Picture(IntPtr ptr) : base(ptr) {
}

2
com.unity.uiwidgets/Runtime/widgets/widget_inspector.cs


}
public override void DisposeCPter() {
public override void DisposeCPtr() {
if(_picture != null){
_picture.DisposeCPtr();
}

正在加载...
取消
保存