source/SkiaSharp.Views/SkiaSharp.Views/Platform/Android/SKGLSurfaceView.cs [20:42]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : base(context, attrs) { Initialize(); } private void Initialize() { SetEGLContextClientVersion(2); SetEGLConfigChooser(8, 8, 8, 8, 0, 8); renderer = new InternalRenderer(this); SetRenderer(renderer); } public SKSize CanvasSize => renderer.CanvasSize; public GRContext GRContext => renderer.GRContext; public event EventHandler PaintSurface; protected virtual void OnPaintSurface(SKPaintGLSurfaceEventArgs e) { PaintSurface?.Invoke(this, e); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - source/SkiaSharp.Views/SkiaSharp.Views/Platform/Android/SKGLTextureView.cs [31:53]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : base(context, attrs) { Initialize(); } private void Initialize() { SetEGLContextClientVersion(2); SetEGLConfigChooser(8, 8, 8, 8, 0, 8); renderer = new InternalRenderer(this); SetRenderer(renderer); } public SKSize CanvasSize => renderer.CanvasSize; public GRContext GRContext => renderer.GRContext; public event EventHandler PaintSurface; protected virtual void OnPaintSurface(SKPaintGLSurfaceEventArgs e) { PaintSurface?.Invoke(this, e); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -