From e026caf6dbe927255b9393846209d846c9fef36e Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Mon, 5 Feb 2018 20:54:20 +0200 Subject: [PATCH] Switching from surface to texture in forms --- .../SkiaSharp.Views.Forms.Android/SKGLViewRenderer.cs | 2 +- .../SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Android/SKGLViewRenderer.cs b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Android/SKGLViewRenderer.cs index faa56411..57ac6cb5 100644 --- a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Android/SKGLViewRenderer.cs +++ b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Android/SKGLViewRenderer.cs @@ -4,7 +4,7 @@ using Android.Opengl; using Xamarin.Forms; using SKFormsView = SkiaSharp.Views.Forms.SKGLView; -using SKNativeView = SkiaSharp.Views.Android.SKGLSurfaceView; +using SKNativeView = SkiaSharp.Views.Android.SKGLTextureView; [assembly: ExportRenderer(typeof(SKFormsView), typeof(SkiaSharp.Views.Forms.SKGLViewRenderer))] diff --git a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs index 674e72d2..b2d5e801 100644 --- a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs +++ b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs @@ -7,7 +7,7 @@ using SKFormsView = SkiaSharp.Views.Forms.SKGLView; #if __ANDROID__ using Android.Content; using Xamarin.Forms.Platform.Android; -using SKNativeView = SkiaSharp.Views.Android.SKGLSurfaceView; +using SKNativeView = SkiaSharp.Views.Android.SKGLTextureView; using SKNativePaintGLSurfaceEventArgs = SkiaSharp.Views.Android.SKPaintGLSurfaceEventArgs; #elif __IOS__ using Xamarin.Forms.Platform.iOS;