gtk2/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
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
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
gdkconfig.h.win32
gdkconfig.h.win32_vulkan
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
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
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
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
gdkenumtypes.c.template
gdkenumtypes.h.template
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
gdkframeclockprivate.h
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
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
gdkkeysyms-update.pl
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
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
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
gdkwindowimpl.h gdk: Remove properties 2017-12-14 03:05:34 +01:00
gen-gdk-gresources-xml.py
gen-keyname-table.pl
keyname-table.h
keynames-translate.txt
keynames.txt
meson.build texture: Export gdk_memory_texture_new() and GdkMemoryFormat 2018-03-12 17:21:45 +01:00