Summary: | [PATCH] gl: implement fullscreen support | ||
---|---|---|---|
Product: | MuPDF | Reporter: | tuncerayaz |
Component: | apps | Assignee: | MuPDF bugs <mupdf-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: |
[PATCH] gl: implement fullscreen support
[PATCH] gl: implement fullscreen support [PATCH] gl: implement fullscreen support |
Description
tuncerayaz
2017-02-18 06:05:10 UTC
While incorporating the newer GLFW in Makethird, I've noticed that GLFW also has platform support for Wayland. The fullscreen support works as is under Wayland, but perhaps native Wayland GLFW drawing should be investigated for better integration and performance, given that Xwayland has many quirks. In Makethird I didn't remove egl_context.c from GLFW_SRC_UNUSED, because the list may need to be updated with the 3.2 switch anyway, and I wanted to put only relevant changes in the patch. No surprise, but I've confirmed that the patch also works with FVWM. Created attachment 13447 [details]
[PATCH] gl: implement fullscreen support
Here's an updated patch that removes egl_context.c from GLFW_SRC_UNUSED and also uses DEFAULT_WINDOW_W and DEFAULT_WINDOW_H as initial values for the saved window dimensions.
(In reply to Tuncer Ayaz from comment #4) > Created attachment 13447 [details] > [PATCH] gl: implement fullscreen support > > Here's an updated patch that removes egl_context.c from GLFW_SRC_UNUSED and > also uses DEFAULT_WINDOW_W and DEFAULT_WINDOW_H as initial values for the > saved window dimensions. Which isn't available at that point. Reverting to DEFAULT_LAYOUT_W and DEFAULT_LAYOUT_H. Created attachment 13448 [details]
[PATCH] gl: implement fullscreen support
Here's an updated patch without egl_context.c GLFW_SRC_UNUSED.
|