mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
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:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user