public SKGLSurfaceView(EvasObject parent) : base(parent) { glConfig = new Evas.Config() { color_format = Evas.ColorFormat.RGBA_8888, depth_bits = Evas.DepthBits.BIT_24, stencil_bits = Evas.StencilBits.BIT_8, options_bits = Evas.OptionsBits.NONE, multisample_bits = Evas.MultisampleBits.HIGH, }; }
public SKGLSurfaceView(EvasObject parent) : base(parent) { glConfig = new Evas.Config() { color_format = Evas.ColorFormat.RGBA_8888, depth_bits = Evas.DepthBits.BIT_24, stencil_bits = Evas.StencilBits.BIT_8, options_bits = Evas.OptionsBits.NONE, multisample_bits = Evas.MultisampleBits.HIGH, }; var isBgra = SKImageInfo.PlatformColorType == SKColorType.Bgra8888; renderTarget = new GRBackendRenderTargetDesc { Config = isBgra ? GRPixelConfig.Bgra8888 : GRPixelConfig.Rgba8888, Origin = GRSurfaceOrigin.BottomLeft, }; }