gtk/gsk/gl
Benjamin Otte 0f5fda2277 memoryformat: Introduce new (private) API
Add gdk_memory_format_get_premultiplied() and
gdk_memory_format_get_straight() which return the matching
premultiplied/straight format.

Use this to pick the premultiplied format when uploading GL textures.

And remove the duplication in the dmabuf code, where we can now use
these functions instead of tracking both the premultiplied and straight
alpha versions.
2023-12-12 01:49:40 +01:00
..
resources gsk: Add a shader for external textures 2023-10-22 16:42:17 -04:00
fp16.c Fix fp16 with asan 2023-06-27 15:17:56 -04:00
fp16i.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
fp16private.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskglattachmentstate.c gsk: Prepare for external textures 2023-10-22 16:42:17 -04:00
gskglattachmentstateprivate.h gsk: Prepare for external textures 2023-10-22 16:42:17 -04:00
gskglbuffer.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglbufferprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskglcommandqueue.c memoryformat: Introduce new (private) API 2023-12-12 01:49:40 +01:00
gskglcommandqueueprivate.h gsk gl: Make it possible to clear a rectangle 2023-11-13 22:17:36 +01:00
gskglcompiler.c gsk: Define GSK_GLES3 if we have gles3 2023-10-22 16:42:17 -04:00
gskglcompilerprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskgldriver.c gsk: Be more careful about texture slice formats 2023-11-28 14:16:21 -05:00
gskgldriverprivate.h gl: Make sure render_texture() sets the right format for high depth 2023-10-23 21:22:17 +02:00
gskglglyphlibrary.c gsk: Restore bigendian support 2023-10-22 16:19:31 -04:00
gskglglyphlibraryprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskgliconlibrary.c gl: Fix padding in icon library 2023-10-31 00:50:00 +01:00
gskgliconlibraryprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskglprofiler.c Fix various bitfield warnings 2023-04-27 13:42:03 +02:00
gskglprofilerprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskglprogram.c Fix spelling errors 2022-11-17 22:49:45 -05:00
gskglprogramprivate.h gsk: Synchronize when using textures 2023-04-27 06:57:02 +02:00
gskglprograms.defs gsk: Add a shader for external textures 2023-10-22 16:42:17 -04:00
gskglrenderer.c renderer: Remove offload argument from render() 2023-11-14 21:54:35 +01:00
gskglrenderer.h gsk: Clean up standalone headers 2023-08-29 12:58:30 -04:00
gskglrendererprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskglrenderjob.c gsk: Some more rect inlining 2023-11-24 10:35:57 -05:00
gskglrenderjobprivate.h renderer: Remove offload argument from render() 2023-11-14 21:54:35 +01:00
gskglshadowlibrary.c Remove all nicks and blurbs from param specs 2022-05-11 18:16:29 +02:00
gskglshadowlibraryprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskgltexture.c glrenderer: Handle filters differently 2023-03-18 21:33:17 -04:00
gskgltexturelibrary.c Remove G_ENABLE_DEBUG around debug checks 2023-11-05 11:16:23 +01:00
gskgltexturelibraryprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskgltextureprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskgltypesprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskgluniformstate.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgluniformstateprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
inlinearray.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
ninesliceprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
stb_rect_pack.c gsk/gl: update stb_rect_pack() 2023-10-09 22:42:57 -07:00
stb_rect_pack.h gsk/gl: update stb_rect_pack() 2023-10-09 22:42:57 -07:00