This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch reproducible-widget-previews
in repository efl.
View the commit online.
commit 493269b9a029be034d1415b2d3ec88d5ad748c72
Author: Cedric BAIL <[email protected]>
AuthorDate: Tue Mar 17 17:49:40 2026 -0600
gl_cocoa: force 1x framebuffer on Retina displays
Evas GL rendering assumes output size equals viewport size. On Retina
Macs the default NSOpenGLView backing store is 2x the point dimensions,
causing the rendered content to fill only a quarter of the window.
Disable wantsBestResolutionOpenGLSurface so the framebuffer matches
the logical point size that Evas expects.
Made-with: Cursor
---
src/modules/evas/engines/gl_cocoa/evas_outbuf.m | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/modules/evas/engines/gl_cocoa/evas_outbuf.m b/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
index fbff40f63e..de4dd537ab 100644
--- a/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
+++ b/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
@@ -45,6 +45,14 @@ static int _win_count = 0;
self = [super initWithFrame: frameRect
pixelFormat: pf];
+ /* Keep the GL framebuffer at 1x point dimensions.
+ * Evas does not yet support output != viewport for GL rendering,
+ * so we need the framebuffer to match the logical point size. */
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ [self setWantsBestResolutionOpenGLSurface:NO];
+#pragma clang diagnostic pop
+
/*
* Evas GL backend uses a global OpenGL context for all windows inside
* an application. Each window has its own texture to render its
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.