gtk/gdk
Matthias Clasen fa58dd9256 Use fractional scale for the GL renderer
This commit combines changes in the Wayland backend,
the GL context frontend, and the GL renderer to switch
them all to use the fractional scale.

In the Wayland backend, we now use the fractional scale
to size the EGL window.

In the GL frontend code, we use the fractional scale to
scale the damage region and surface in begin/end_frame.

And in the GL renderer, we replace gdk_surface_get_scale_factor()
with gdk_surface_get_scale().
2023-04-02 09:22:56 -04:00
..
broadway Add gdk_surface_get_scale 2023-04-01 19:09:16 -04:00
loaders Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
macos Add gdk_surface_get_scale 2023-04-01 19:09:16 -04:00
wayland Use fractional scale for the GL renderer 2023-04-02 09:22:56 -04:00
win32 Deprecate gdk_surface_create_similar_surface 2023-04-01 23:09:19 -04:00
x11 Deprecate gdk_surface_create_similar_surface 2023-04-01 23:09:19 -04:00
COPYING
default_cursor.png
filetransferportal.c filetransfer: Be more careful around files 2023-01-30 14:03:13 -05:00
filetransferportalprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdk.c Add GDK_DEBUG=no-portals 2022-12-14 13:50:20 -05:00
gdk.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkapplaunchcontext.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkapplaunchcontext.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkapplaunchcontextprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkarrayimpl.c gdkarray: Add a "stolen" boolean to splice() 2020-12-24 06:38:45 +01:00
gdkcairo.c cairo: Use GdkTexture for converting from pixbuf 2021-10-06 22:50:07 +02:00
gdkcairo.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcairocontext.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkcairocontext.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcairocontextprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcairoprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkclipboard.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkclipboard.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkclipboardprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkconfig.h.meson gdk: Cosmetics 2022-10-05 23:01:28 -04:00
gdkconfig.h.win32
gdkconfig.h.win32_vulkan
gdkconstructorprivate.h Rename gdkconstructor.h to gdkconstructorprivate.h 2022-09-23 23:14:08 -04:00
gdkcontentdeserializer.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkcontentdeserializer.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcontentformats.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkcontentformats.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcontentformatsprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcontentprovider.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkcontentprovider.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcontentproviderimpl.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkcontentproviderimpl.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcontentproviderprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcontentserializer.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkcontentserializer.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcursor.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkcursor.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkcursorprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdebugprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevice.c Fix spelling errors 2022-11-17 22:49:45 -05:00
gdkdevice.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevicepad.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkdevicepad.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevicepadprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdeviceprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevicetool.c Various spelling mistakes across a few domains that show up in documentation. 2022-12-08 12:16:22 +00:00
gdkdevicetool.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdevicetoolprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdisplay.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkdisplay.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdisplaymanager.c gdk: Improve logging for backends 2023-03-27 21:42:10 -04:00
gdkdisplaymanager.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdisplaymanagerprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdisplayprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdrag.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdrag.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdragprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdragsurface.c Remove wrong annotation from GdkDragSurface::compute-size 2023-03-26 15:50:22 +01:00
gdkdragsurface.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdragsurfaceprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdragsurfacesize.c g-i: Add since annotation to GdkSurfaceSize 2023-03-20 08:14:25 +00:00
gdkdragsurfacesize.h Add GdkDragSurfaceSize 2023-03-14 19:41:44 -07:00
gdkdragsurfacesizeprivate.h Add GdkDragSurfaceSize 2023-03-14 19:41:44 -07:00
gdkdrawcontext.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdrawcontext.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdrawcontextprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdrop.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkdrop.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkdropprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkenums.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkevents.c docs: Add another cross reference 2023-03-25 15:06:19 -04:00
gdkevents.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkeventsprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkframeclock.c docs: Fix various broken links 2023-03-27 21:29:08 +02:00
gdkframeclock.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkframeclockidle.c Fix a compiler warning 2023-01-14 00:14:41 -05:00
gdkframeclockidleprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkframeclockprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkframetimings.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkframetimings.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkgl.c gdk: Remove unused gdk_gl_texture_quads() function 2021-10-06 03:44:36 +02:00
gdkglcontext.c Use fractional scale for the GL renderer 2023-04-02 09:22:56 -04:00
gdkglcontext.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkglcontextprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkglobals.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkgltexture.c Fix up criticals from GdkGLTexture 2023-03-24 11:29:38 -04:00
gdkgltexture.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkgltextureprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkhsla.c gdk_rgba_parse: Support HSL colors 2021-09-10 16:56:42 -05:00
gdkhslaprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkkeys.c gdk: Tweaks to keyname handling 2022-09-24 10:03:37 -04:00
gdkkeys.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkkeysprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkkeysyms-update.pl Update the link to the development branch 2022-01-13 14:42:34 +00:00
gdkkeysyms.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkkeyuni.c gdk: Update keyboard symbols from libxkbcommon 2022-01-29 14:31:09 +02:00
gdkmarshalers.list surface: add missing va_marshaller for layout signal 2021-12-07 22:21:19 -08:00
gdkmemoryformat.c gdk: Add a rgb8 → rgba8 conversion macro 2022-03-03 16:05:52 +01:00
gdkmemoryformatprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkmemorytexture.c Fixes for gdk_memory_texture_new_subtexture checks 2023-03-03 11:24:46 -06:00
gdkmemorytexture.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkmemorytextureprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkmonitor.c Add GdkMonitor::description 2023-02-02 12:32:28 +01:00
gdkmonitor.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkmonitorprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkpaintable.c docs: Fix various broken links 2023-03-27 21:29:08 +02:00
gdkpaintable.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkpango.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkpango.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkpipeiostream.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkpipeiostreamprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkpixbuf.c texture: Export gdk_texture_get_format() 2023-02-15 00:39:18 +01:00
gdkpixbuf.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkpopup.c docs: Fix various broken links 2023-03-27 21:29:08 +02:00
gdkpopup.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkpopuplayout.c docs: More syntax fixes 2021-05-22 21:21:10 -04:00
gdkpopuplayout.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkpopupprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkprofiler.c Port tracing to the sysprof collector api 2020-08-21 10:55:01 -04:00
gdkprofilerprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkrectangle.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkrectangle.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkrgba.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdkrgba.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkrgbaprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkseat.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkseat.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkseatdefault.c gdk/x11: Implement XI2.4 touchpad gesture support 2021-09-27 23:19:33 +03:00
gdkseatdefaultprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkseatprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdksnapshot.c docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdksnapshot.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdksnapshotprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdksurface.c Deprecate gdk_surface_create_similar_surface 2023-04-01 23:09:19 -04:00
gdksurface.h Deprecate gdk_surface_create_similar_surface 2023-04-01 23:09:19 -04:00
gdksurfaceprivate.h Add gdk_surface_get_scale 2023-04-01 19:09:16 -04:00
gdktexture.c rowstrides are gsize, not int 2023-03-16 21:40:02 +01:00
gdktexture.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktexturedownloader.c gdk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gdktexturedownloader.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktexturedownloaderprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktextureprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktoplevel.c Remove wrong annotation for GdkToplevel::compute-size 2023-03-26 15:48:44 +01:00
gdktoplevel.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktoplevellayout.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdktoplevellayout.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktoplevelprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktoplevelsize.c toplevel-size: Report zero bounds as infinite 2022-09-30 09:31:40 +02:00
gdktoplevelsize.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktoplevelsizeprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdktypes.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkversionmacros.h.in Start 4.12 development 2023-03-14 11:16:30 -04:00
gdkvulkancontext.c gdk/vulkancontext: Accept Khronos validation layers 2023-03-30 17:13:35 -03:00
gdkvulkancontext.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gdkvulkancontextprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gen-gdk-gresources-xml.py gdk: Remove unused gdk_gl_texture_quads() function 2021-10-06 03:44:36 +02:00
gen-keyname-table.pl gdk: Tweaks to keyname handling 2022-09-24 10:03:37 -04:00
keynames-translate.txt
keynames.txt
keynamesprivate.h gdk: Tweaks to keyname handling 2022-09-24 10:03:37 -04:00
meson.build Add GdkDragSurfaceSize 2023-03-14 19:41:44 -07:00