UI 10x speedup with hardware antialias (#1787)

* enable MSAA, disable nvg antialias

* less opaque and clean up

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
George Hotz
2020-06-29 13:54:23 -07:00
committed by GitHub
parent df86c476c7
commit b62da571b4
2 changed files with 16 additions and 7 deletions
+3
View File
@@ -102,6 +102,9 @@ extern "C" FramebufferState* framebuffer_init(
EGL_DEPTH_SIZE, 0,
EGL_STENCIL_SIZE, 8,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR,
// enable MSAA
EGL_SAMPLE_BUFFERS, 1,
EGL_SAMPLES, 4,
EGL_NONE,
};