For the sake of the docs tool :) made these members public
This commit is contained in:
Родитель
0857b75daa
Коммит
0b51772d1a
|
@ -13,7 +13,7 @@ namespace SkiaSharp.Views.Android
|
|||
|
||||
protected abstract void OnDrawFrame(SKSurface surface, GRBackendRenderTargetDesc renderTarget);
|
||||
|
||||
void GLSurfaceView.IRenderer.OnDrawFrame(IGL10 gl)
|
||||
public void OnDrawFrame(IGL10 gl)
|
||||
{
|
||||
// create the surface
|
||||
using (var surface = SKSurface.Create(context, renderTarget))
|
||||
|
@ -28,7 +28,7 @@ namespace SkiaSharp.Views.Android
|
|||
context.Flush();
|
||||
}
|
||||
|
||||
void GLSurfaceView.IRenderer.OnSurfaceChanged(IGL10 gl, int width, int height)
|
||||
public void OnSurfaceChanged(IGL10 gl, int width, int height)
|
||||
{
|
||||
GLES20.GlViewport(0, 0, width, height);
|
||||
|
||||
|
@ -36,7 +36,7 @@ namespace SkiaSharp.Views.Android
|
|||
renderTarget.Height = height;
|
||||
}
|
||||
|
||||
void GLSurfaceView.IRenderer.OnSurfaceCreated(IGL10 gl, EGLConfig config)
|
||||
public void OnSurfaceCreated(IGL10 gl, EGLConfig config)
|
||||
{
|
||||
FreeContext();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче