AliFlux / VectorTileRenderer

A comprehensive Vector Map Tile Renderer for .Net/C#
MIT License
183 stars 51 forks source link

How to using OpenGL in SkiaGL? #19

Open duongvgm opened 3 years ago

duongvgm commented 3 years ago

Hi. Thanks for the wonderful library. I want to ask why not use OpenGL in SkiaGL? I am seeing comment:

`//var glInterface = GRGlInterface.CreateNativeGlInterface();

        //grContext = GRContext.Create(GRBackend.OpenGL, glInterface);

        //renderTarget = SkiaGL.CreateRenderTarget();

        //renderTarget.Width = this.width;

        //renderTarget.Height = this.height;`

Thanks!

AliFlux commented 3 years ago

I couldnt get the code to work with opengl. If you find a way, plz share a solution. Thanks