gtk/gdk
Benjamin Otte 13d943f763 texture: Change download vfunc
A problem with textures is that they can become too big for GPU memory,
which would require tiling. But for tiling we only need to download
the pixels needed by the tile.

Similarly, there might be interest to not upload full textures if a
renderer knows it only needs a small part.

Both of these methods require the ability to specify an area of the
texture to be downloaded. So change the download vfunc to include
this parameter now before we add even more textures later.

A private gdk_texture_download_area() function has also been added, but
nobody is using it yet.
2018-03-12 17:21:45 +01:00
..
broadway Rewrite toarray Perl script to Python 2018-02-14 15:51:45 +00:00
quartz macos: export gdk_quartz_drag_source_context() 2018-03-01 14:36:44 +01:00
resources/glsl Use GLSL version 110 for OpenGL 2 shaders. 2016-11-01 15:42:46 -03:00
wayland gdk/wayland: Use GDK_AVAILABLE_IN_ALL 2018-02-16 19:36:41 +01:00
win32 The big versioning cleanup 2018-02-06 01:16:32 -05:00
x11 x11: Avoid a division by zero 2018-03-08 16:20:01 +01:00
COPYING
fallback-c89.c fallback-c89: Include config.h 2017-05-03 14:47:14 +01:00
gdk-autocleanup.h gdk: Add some missing autocleanup definitions 2018-02-06 01:16:32 -05:00
gdk-private.h Drop a leftover declaration 2018-02-06 01:17:18 -05:00
gdk.c Remove all gdk_threads_* entry points 2018-02-03 12:07:10 +01:00
gdk.h texture: Export gdk_memory_texture_new() and GdkMemoryFormat 2018-03-12 17:21:45 +01:00
gdkapplaunchcontext.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkapplaunchcontext.h gdk: Include gio.h in gdktypes.h 2017-12-10 01:09:14 +01:00
gdkapplaunchcontextprivate.h gdk: Include gio.h in gdktypes.h 2017-12-10 01:09:14 +01:00
gdkcairo.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcairo.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkclipboard.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkclipboard.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkclipboardprivate.h clipboard: Add infrastructure to store clipboards 2017-12-03 05:46:48 +01:00
gdkconfig.h.meson gdk/gdkconfig.h.meson: Add GDK_WINDOWING_WIN32 2017-09-15 21:41:15 +08:00
gdkconfig.h.win32
gdkconfig.h.win32_vulkan Visual Studio builds: Support Vulkan builds 2016-12-30 14:42:38 +08:00
gdkcontentdeserializer.c Allow binding GdkContentFormatsBuilder 2018-02-03 16:24:13 +01:00
gdkcontentdeserializer.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentformats.c contentsformat: Avoid a GPtrArray 2018-02-25 16:47:20 +01:00
gdkcontentformats.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentformatsprivate.h gdk: Sanitize GdkContentFormats API 2017-11-20 23:15:11 +01:00
gdkcontentprovider.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentprovider.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentproviderimpl.c Allow binding GdkContentFormatsBuilder 2018-02-03 16:24:13 +01:00
gdkcontentproviderimpl.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentproviderprivate.h clipboard: Introduce GdkContentProvider 2017-12-03 05:46:47 +01:00
gdkcontentserializer.c Allow binding GdkContentFormatsBuilder 2018-02-03 16:24:13 +01:00
gdkcontentserializer.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcursor.c GdkCursor: Add some missing (nullable) annotations 2018-03-09 11:57:23 +01:00
gdkcursor.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcursorprivate.h gdk: Add gdk_cursor_hash() and gdk_cursor_equal() 2017-11-04 00:07:13 +01:00
gdkdevice.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevice.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevicepad.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevicepad.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevicepadprivate.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdeviceprivate.h Drop the ::device-manager property 2017-11-25 11:04:15 -05:00
gdkdevicetool.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevicetool.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevicetoolprivate.h gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdisplay.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdisplay.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdisplaymanager.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdisplaymanager.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h gdk: Drop some unused cursor apis 2018-01-16 23:32:01 -05:00
gdkdnd.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdnd.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdndprivate.h dnd: Remove unused member variable 2018-01-31 13:21:26 +01:00
gdkdrawcontext.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdrawcontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdrawcontextprivate.h gdk: Make gdk_window_begin_draw_frame() take a draw context 2016-12-05 15:02:47 +01:00
gdkdrawingcontext.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdrawingcontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdrawingcontextprivate.h drawingcontext: Add a private struct 2016-11-23 18:49:48 +01:00
gdkenumtypes.c.template
gdkenumtypes.h.template Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkevents.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkevents.h Remove gdk_window_add_filter 2018-02-07 15:12:03 -05:00
gdkeventsprivate.h Drop the last mentions of motion hint events 2018-02-05 14:00:51 +00:00
gdkframeclock.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkframeclock.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkframeclockidle.c Replace gdk_threads_add_timeout* with g_timeout_add() 2018-02-03 12:06:58 +01:00
gdkframeclockidle.h GdkFrameClockIdle: Add a missing declaration 2014-09-05 20:44:22 -04:00
gdkframeclockprivate.h frametimings: reuse previous frame timing in common case 2016-04-26 09:06:07 -04:00
gdkframetimings.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkframetimings.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkgl.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkglcontext.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkglcontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkglcontextprivate.h gdkgl: Add gdk_gl_context_get_damage() 2016-12-05 15:02:47 +01:00
gdkglobals.c gdk: Reorganize env vars 2018-01-14 17:05:04 -05:00
gdkgltexture.c texture: Change download vfunc 2018-03-12 17:21:45 +01:00
gdkgltexture.h gdk: Split out GL texture 2018-03-07 16:17:15 +01:00
gdkgltextureprivate.h gdk: Split out GL texture 2018-03-07 16:17:15 +01:00
gdkinternals.h Remove gdk_window_add_filter 2018-02-07 15:12:03 -05:00
gdkintl.h
gdkkeynames.c
gdkkeys.c gdk: Add some more docs 2018-02-11 00:41:31 +00:00
gdkkeys.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkkeysprivate.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysyms-update.pl Remove gdkkeysyms-compat.h 2017-05-03 14:54:37 +01:00
gdkkeysyms.h
gdkkeyuni.c Replace gdk_keymap_get_for_display by gdk_display_get_keymap 2017-12-15 07:44:58 -05:00
gdkmarshalers.list x11: Refactor xevent filtering some more 2017-12-13 01:55:56 +01:00
gdkmemorytexture.c texture: Change download vfunc 2018-03-12 17:21:45 +01:00
gdkmemorytexture.h texture: Export gdk_memory_texture_new() and GdkMemoryFormat 2018-03-12 17:21:45 +01:00
gdkmemorytextureprivate.h texture: Export gdk_memory_texture_new() and GdkMemoryFormat 2018-03-12 17:21:45 +01:00
gdkmonitor.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkmonitor.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkmonitorprivate.h monitor: Add a ::valid property 2017-11-01 14:17:20 -04:00
gdkpango.c Stop including gdkscreen.h 2017-11-17 10:51:55 -05:00
gdkpango.h Drop gdk_pango_context_get_for_display 2017-10-31 18:15:50 -04:00
gdkpipeiostream.c clipboard: Implement local fallback clipboard transfers 2017-12-03 05:46:47 +01:00
gdkpipeiostreamprivate.h clipboard: Implement local fallback clipboard transfers 2017-12-03 05:46:47 +01:00
gdkpixbuf-drawable.c gdk: Reshuffle docs slightly 2017-12-25 16:40:47 -05:00
gdkpixbuf.h API: gdk: Remove ability to render window contents 2016-11-20 11:47:44 +01:00
gdkproperty.c Drop gdk_atom_intern 2017-12-13 23:39:03 -05:00
gdkproperty.h Drop gdk_atom_intern 2017-12-13 23:39:03 -05:00
gdkrectangle.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkrectangle.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkrgba.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkrgba.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkseat.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkseat.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkseatdefault.c gdk: Add GDK_SEAT_CAPABILITY_TABLET_PAD 2017-12-07 21:27:33 -05:00
gdkseatdefaultprivate.h GdkSeatDefault: Add functions to add/remove tools 2016-04-06 15:43:29 +02:00
gdkseatprivate.h gdk: Add gdk_seat_get_master_pointers() 2017-12-07 21:27:14 -05:00
gdkselection.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdktexture.c texture: Change download vfunc 2018-03-12 17:21:45 +01:00
gdktexture.h gdk: Split out GL texture 2018-03-07 16:17:15 +01:00
gdktextureprivate.h texture: Change download vfunc 2018-03-12 17:21:45 +01:00
gdktypes.h gdk: Remove unused GdkStatus enum 2018-01-12 22:34:22 +01:00
gdkversionmacros.h.in The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkvulkancontext.c vulkan: Don't quiet the compiler 2018-02-23 14:12:47 +01:00
gdkvulkancontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkvulkancontextprivate.h vulkan: Fix release builds 2018-01-21 15:23:17 +01:00
gdkwindow.c Remove gdk_window_add_filter 2018-02-07 15:12:03 -05:00
gdkwindow.h Remove gdk_window_add_filter 2018-02-07 15:12:03 -05:00
gdkwindowimpl.c Drop support for offscreen GdkWindows 2016-10-25 09:54:37 +02:00
gdkwindowimpl.h gdk: Remove properties 2017-12-14 03:05:34 +01:00
gen-gdk-gresources-xml.py meson: gdk: update and sync with Makefiles 2017-05-03 15:10:53 +01:00
gen-keyname-table.pl
keyname-table.h gdk: Translate some more key names 2017-10-09 20:33:14 +02:00
keynames-translate.txt gdk: Translate some more key names 2017-10-09 20:33:14 +02:00
keynames.txt
meson.build texture: Export gdk_memory_texture_new() and GdkMemoryFormat 2018-03-12 17:21:45 +01:00