gtk/gsk
Benjamin Otte 70c9521cae vulkan: Put the vertex buffer into the render object
Renderpasses get recreated every frame, but we keep render objects
around. So if we keep the vertex buffer in the render object, we can
also keep it around and just reuse it.

Also, we only need one buffer for all the render passes, which is
another bonus.

The initial buffer size is chosen at 128kB. Maximized Nautilus,
gnome-text-editor with an open file and widget-factory take ~100kB when
doing a full redraw. Other apps are between 30-50kB usually.

So I chose a value that is not too big, but catches ~90% of cases.
2023-07-16 12:13:00 +02:00
..
broadway Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gl gsk: Fix luminance in Cairo and GL renderer 2023-07-03 22:02:44 +02:00
vulkan vulkan: Put the vertex buffer into the render object 2023-07-16 12:13:00 +02:00
gen-gsk-gresources-xml.py gsk: Move shader resources 2021-04-03 08:24:58 -04:00
gsk.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskcairoblur.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gskcairoblurprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskcairorenderer.c renderers: Handle large viewports 2022-02-26 20:35:44 +01:00
gskcairorenderer.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskdebug.c vulkan: Add infrastructure for printing ops 2023-07-16 12:13:00 +02:00
gskdebugprivate.h vulkan: Add infrastructure for printing ops 2023-07-16 12:13:00 +02:00
gskdiff.c gsk: Stop using g_slice 2023-03-14 14:56:42 -04:00
gskdiffprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskenums.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskenumtypes.c.template types: fix various use of volatile in type registration 2020-11-18 20:21:33 -08:00
gskenumtypes.h.template Use @basename@ in enumeration type templates 2019-02-04 14:02:45 +01:00
gskglshader.c Fix spelling errors 2022-11-17 22:49:45 -05:00
gskglshader.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskglshaderprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskprivate.c Drop an unused function 2022-07-15 15:47:11 -04:00
gskprivate.h vulkan: Add VulkanOp->next 2023-07-16 12:13:00 +02:00
gskprofiler.c Fix various bitfield warnings 2023-04-27 13:42:03 +02:00
gskprofilerprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskrenderer.c renderer: return_if_fail() if the given texture size is 0 2023-06-04 19:42:00 +02:00
gskrenderer.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskrendererprivate.h gsk: Drop an unused function 2023-05-10 20:21:12 -04:00
gskrendernode.c rendernode: Change to gsk_render_node_get_preferred_depth() 2023-06-18 14:26:18 +02:00
gskrendernode.h rendernode: Implement proper GSK_IS_RENDERNODE() 2023-07-10 06:32:01 +02:00
gskrendernodeimpl.c gsk: Fix luminance in Cairo and GL renderer 2023-07-03 22:02:44 +02:00
gskrendernodeparser.c gsk: Catch values < 0 before bad things happen 2023-07-03 22:02:44 +02:00
gskrendernodeparserprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskrendernodeprivate.h rendernode: Change to gsk_render_node_get_preferred_depth() 2023-06-18 14:26:18 +02:00
gskroundedrect.c gsk: Add (private) gsk_rounded_rect_intersection() 2023-06-04 19:42:01 +02:00
gskroundedrect.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gskroundedrectprivate.h gsk: Add (private) gsk_rounded_rect_intersection() 2023-06-04 19:42:01 +02:00
gsktransform.c Mark various GskTransform functions as nullable in their return value 2022-01-14 11:57:23 +02:00
gsktransform.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gsktransformprivate.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
gsktypes.h Convert headers to #pragma once 2023-03-31 15:11:10 -04:00
meson.build vulkan: Repurpose mask shader 2023-07-16 12:13:00 +02:00