paulrouget / servofocus

Experimenting with a Xamarin.Forms + Servo
5 stars 2 forks source link

Override OpenGLViewRenderer #3

Closed paulrouget closed 6 years ago

paulrouget commented 6 years ago

See: https://github.com/xamarin/Xamarin.Forms/blob/5272dd8df76a934fb75090449d1496ae40a310d0/Xamarin.Forms.Platform.Android/Renderers/OpenGLViewRenderer.cs#L36

I want to change 2 things in this function: call setEGLContextClientVersion(3) instead of setEGLContextClientVersion(2) and call setEGLConfigChooser(8, 8, 8, 8, 24, 0).

mfkl commented 6 years ago

Pushed something. Let me know if that works.

paulrouget commented 6 years ago

Thanks. This works. It is properly overridden. Still have a Servo issue (see servo/webrender#1795) but it's unrelated.