Problems with xquartz window size
#Problems with xquartz window size 32 bit#
#Problems with xquartz window size mac#
Using it or not if I ask a window of 256x256 pixels I get a window of 192x192 pixels (with scaling 1.5 on, same kind of errors if scaling is 2).
I’m not sure what the behaviour for Wayland is with content scaling but it’s likely that pixels map 1:1 to screen coordinates, so you may want to use GLFW_SCALE_TO_MONITOR.
And I am super happy with GLFW excepted for the problems I listed above I use XWayland (GLFW not compiled with Wayland support) since 6 months or so, but it is frustrating not to be able to use Wayland backend. Yes, I read that, sorry if my question seemed naive. GLFW has Wayland support as per the second line of the readme. And finally when using the X11 version the scaling is also bad but this time no way to avoid having a blurry upscaled window. why I don’t want to use the X11 version : well, I am using Wayland and Gnome Shell that I like both a lot Furthermore Wayland seems to be the future. I am willing to help if necessary for testing or any other way to make this work. GLFWwindow* window = glfwCreateWindow(256, 256, "test", NULL, NULL) Do I do something wrong ? Should I try directly the GLFW sources ? My test program is simple : glfwInit()
I cannot position the window using glfwSetWindowPos() so my window will always appear around the top-left corner of the screen and will not be allowed to move by any way.
If I choose to remove decorations (window hint GLFW_DECORATED set to false) and decide do “simulate” decorations myself, here are the problems :
I don’t see any way to draw inside these white decorations myself or to choose their size or to modify their behavior ?.
Furthermore if one use fractional scaling, the scale reported by glfwGetMonitorScale() will only be integers (is this a problem with Gnome Shell or with GLFW though ?).
So for a 2x2 scaling the window will use a quarter of the area.
If content scaling is activated on the desktop, the decorations seem to be scaled but the window itself is not.
If I choose to use this decoration here are the problems : I am using GLFW 3.3.2 (provided by an Ubuntu package).Īctually opening a window (I am using Gnome Shell), will provide a plain white decoration around the window.
1.0rc1 ( 09960d6f, ) on macOS 10.15.4 (19E287 MBP 16", 2019, 2.I am using GLFW to do Vulkan rendering, and I was wondering if using Wayland is possible with GLFW actually.
Disabling statusbars/rulers (not working in current versions apparently).
In monitor settings, set color profile "sRGB" instead of the default (see #1614 (comment 360963825)).
Inkscape might have to disable High resolution from ist per #1614 (comment 360963805).
Open in Low Resolution makes it usable (see #1614 (comment 360963802)).
Relevant callstack (open expander)Ģ.80 s 26.5%Đ s SPCanvas::handle_draw(_GtkWidget*, _cairo*)Ģ.80 s 26.5%Đ s _cairo_default_context_paintĢ.80 s 26.5%Đ s _cairo_quartz_surface_paintĢ.79 s 26.5%Đ s _cairo_quartz_draw_sourceĢ.79 s 26.5%Đ s CGContextDrawImageWithOptionsĢ.79 s 26.5%Đ s CGContextDelegateDrawImageĢ.79 s 26.5%Đ s backing_store_DrawImage.llvm.776B8D61Ģ.79 s 26.5%Đ s _backing_store_DrawImage_block_invokeĢ.55 s 24.1%Đ s ripc_AcquireRIPImageDataĢ.55 s 24.1%Đ s RIPImageCacheGetRetainedĢ.52 s 23.8%Đ s RIPImageDataInitializeShared
#Problems with xquartz window size mac#
Not sure if this is a Mac or an Inkscape issue.Īnd also, taken from #288 (closed), under Inkscape 1.0alpha2 instruments suggests that image conversion is taking most of the time.
#Problems with xquartz window size 32 bit#
I never had this issue with the old 32 bit + xQuartz system, it was smooth and didnt slow down at all.Informally this is as bad as a 2-3 fps frame rate. In latest builds, hiding toolbars/rulers/status bars doesn't help.Menus are still normal, so issue with the canvas rendering.Performance is worse as you scroll (25% zoom is still responsive, 200% has 1-2 second delay before screen loads).Substantial pause before rest of screen loads.import image or draw a simple rectangle.













