gtk2/gsk
Alexander Larsson 1001995d49 Correctly upload textures for GLES
GLES doesn't support the GL_BGRA +  GL_UNSIGNED_INT_24_8 hack that
we use on desktop OpenGL to upload textures directly in the cairo
pixel format. This adds the required conversions to all the places
that currently need it.

We also add a data_format to the internal gdk_gl_context_upload_texture()
function to make it clearer what the format are. Currently it is always
the cairo image surface format, but eventually we want to support other
formats so that we can avoid some of the unnecessary conversions we do.

Also, the current gdk_gl_context_upload_texture() code always converts
to a cairo format and uploads that like we did before. Later commits
will allow this to use other upload formats that gl supports to avoid
conversions.
2020-09-25 09:31:43 +02:00
..
broadway broadway: Prune fully clipped render nodes 2020-08-26 18:08:00 +02:00
gl Correctly upload textures for GLES 2020-09-25 09:31:43 +02:00
resources gl renderer: Consolidate color pre-multiplication 2020-09-18 15:45:08 +02:00
vulkan gsk: Add a radial gradient node 2020-09-18 15:38:55 +02:00
gen-gsk-gresources-xml.py meson: Reduce useless relinking on reconfigure 2020-04-03 18:41:55 +05:30
gsk-autocleanup.h gsk: Add GskTransform autocleanup definition 2020-05-08 09:14:55 +02:00
gsk.h gsk: Don't autoinclude backend-specific headers 2020-04-24 21:40:30 -04:00
gskcairoblur.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gskcairoblurprivate.h gsk: Add GskShadowNode 2016-12-20 18:01:12 +01:00
gskcairorenderer.c gsk: Export Cairo renderer 2019-05-05 07:18:39 +02:00
gskcairorenderer.h gsk: Export Cairo renderer 2019-05-05 07:18:39 +02:00
gskdebug.c gsk: Remove an unused debug flag 2020-07-20 07:03:08 -04:00
gskdebugprivate.h gsk: Remove an unused debug flag 2020-07-20 07:03:08 -04:00
gskdiff.c diff: Allow aborting a diff 2018-04-05 14:56:38 +02:00
gskdiffprivate.h diff: Allow aborting a diff 2018-04-05 14:56:38 +02:00
gskenums.h gsk: Add a radial gradient node 2020-09-18 15:38:55 +02:00
gskenumtypes.c.template Use @basename@ in enumeration type templates 2019-02-04 14:02:45 +01:00
gskenumtypes.h.template Use @basename@ in enumeration type templates 2019-02-04 14:02:45 +01:00
gskprivate.c More work on text nodes 2017-09-10 14:36:26 -04:00
gskprivate.h Add an api to get the vertex data for a render pass 2017-09-28 08:39:22 -04:00
gskprofiler.c Convert all profiler times from nsec to usec 2020-02-12 10:44:17 +01:00
gskprofilerprivate.h gsk: Add some more profiler apis 2019-05-07 09:37:59 -07:00
gskrenderer.c gsk: Complain if we fail to realize a renderer 2020-09-07 11:18:45 -04:00
gskrenderer.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gskrendererprivate.h renderer: Make gsk_renderer_is_realized() public 2019-03-19 08:47:54 +01:00
gskrendernode.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gskrendernode.h rendernode: switch to h/vradius 2020-09-18 15:39:04 +02:00
gskrendernodeimpl.c rendernodes: Clarify color_stops arguments 2020-09-18 19:01:10 +02:00
gskrendernodeparser.c radial gradients: Allow 0 start/end values 2020-09-18 15:39:07 +02:00
gskrendernodeparserprivate.h rendernodeparser: Skip root node when it's a container 2019-05-21 06:43:59 +02:00
gskrendernodeprivate.h gsk: Remember border node uniformity 2020-07-28 05:34:11 +02:00
gskroundedrect.c Fix minor typos 2020-06-18 10:47:16 +03:00
gskroundedrect.h Fix minor typos 2020-06-18 10:47:16 +03:00
gskroundedrectprivate.h Add pure and const annotations to various functions 2020-01-26 18:21:07 +01:00
gsktransform.c Add gsk_matrix_transform_rect 2020-09-04 13:15:21 -04:00
gsktransform.h GskTransform: Add gsk_transform_transform_point() 2020-01-24 06:19:12 +01:00
gsktransformprivate.h Add gsk_matrix_transform_rect 2020-09-04 13:15:21 -04:00
gsktypes.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
meson.build gl renderer: Add radial gradient shader 2020-09-18 15:39:07 +02:00