Ngọc Quân Trần [Sat, 22 Jul 2023 08:54:03 +0000 (08:54 +0000)]
Update Vietnamese translation
Daniel Boles [Sat, 22 Jul 2023 08:43:25 +0000 (08:43 +0000)]
Merge branch 'dboles/PopoverMenu-png' into 'main'
Fix broken image menu.png in Gtk.PopoverMenu intro
See merge request GNOME/gtk!6187
Daniel Boles [Sat, 22 Jul 2023 08:43:06 +0000 (08:43 +0000)]
Merge branch 'dboles/for-main' into 'main'
tools: Replace references to GTK+ with GTK no plus
See merge request GNOME/gtk!6199
Ngọc Quân Trần [Sat, 22 Jul 2023 08:16:20 +0000 (08:16 +0000)]
Update Vietnamese translation
(cherry picked from commit
e944cd89166aa35c290b508057d2269859b27591)
Benjamin Otte [Sat, 22 Jul 2023 02:43:11 +0000 (02:43 +0000)]
Merge branch 'wip/otte/vulkan-for-main' into 'main'
gsk: Add gskrectprivate.h
See merge request GNOME/gtk!6201
Benjamin Otte [Fri, 21 Jul 2023 23:11:19 +0000 (01:11 +0200)]
gdk: Add function to query alpha format for depth
It's meant to be used in renderers.
Benjamin Otte [Fri, 21 Jul 2023 23:29:24 +0000 (01:29 +0200)]
gdk: Make A8 and A16 formats premultiplied
The relevant question here is about details, because we have to choose
if we declare alpha-only formats as having their (nonexistant) color
channels premultiplied or not, so that the code paths using them can do
the right thing.
Because we are premultiplied by default, it makes sense to treat alpha
like that, because then the alpha-only code doesn't need to do
workarounds for straight alpha.
Where this is relevant of course is when expanding the alpha channel
into color channels, where we want to end up with white.
So make sure we do color = alpha there instead of color = 1 like we did
before.
Benjamin Otte [Fri, 21 Jul 2023 01:05:40 +0000 (03:05 +0200)]
memoryformat: Copy idea from tiff code
The static assertion makes sure that newer formats get added.
Benjamin Otte [Fri, 21 Jul 2023 01:02:33 +0000 (03:02 +0200)]
gdk: Add A16_FLOAT and A32_FLOAT formats
We need them for mask-only textures.
For tiffs, we convert the formats to RGBA (the idea that tiff can save
everything needs to be buried I guess) as tiffs can't do alpha-only.
Benjamin Otte [Thu, 20 Jul 2023 23:34:19 +0000 (01:34 +0200)]
vulkan: Remove unused struct
Benjamin Otte [Thu, 20 Jul 2023 20:25:20 +0000 (22:25 +0200)]
gsk: Add gskrectprivate.h
Add a bunch of inline functions for graphene_rectangle_t.
We use those quite extensively in tight loops so making them as fast as
possible via inlining has massive benefits.
The current render-heavy benchmark I am playing (th paris-30k in node-editor)
went from 49fps to 85fps on my AMD.
Benjamin Otte [Thu, 20 Jul 2023 01:10:28 +0000 (03:10 +0200)]
vulkan: Add new error code
Efstathios Iosifidis [Fri, 21 Jul 2023 22:29:43 +0000 (22:29 +0000)]
Update Greek translation
(cherry picked from commit
9d633773b0952ecd7cf53a54a71feb4c7706f6d4)
Daniel Boles [Fri, 21 Jul 2023 11:05:25 +0000 (12:05 +0100)]
tools: Replace references to GTK+ with GTK no plus
Matthias Clasen [Fri, 21 Jul 2023 10:56:14 +0000 (10:56 +0000)]
Merge branch 'render-tool' into 'main'
Add gtk4-render-tool
See merge request GNOME/gtk!6197
Matthias Clasen [Thu, 20 Jul 2023 19:09:27 +0000 (15:09 -0400)]
Add a gtk4-rendernode-tool
This is meant to work with serialized render nodes.
Daniel Boles [Fri, 21 Jul 2023 09:35:30 +0000 (09:35 +0000)]
Merge branch 'dboles/for-main' into 'main'
ShortcutController: Add links to docs, fix heading
See merge request GNOME/gtk!6198
Daniel Boles [Fri, 21 Jul 2023 09:01:56 +0000 (10:01 +0100)]
ShortcutController: Add links to docs, fix heading
to be "as GtkBuildable", not "as a GtkBuildable", as no other file uses
the latter.
Matthias Clasen [Fri, 21 Jul 2023 03:38:58 +0000 (03:38 +0000)]
Merge branch 'wip/kabus/calendar-select-signal' into 'main'
gtk/calendar: Avoid emision of day-selected signal from nav buttons
Closes #5769
See merge request GNOME/gtk!6196
Khalid Abu Shawarib [Fri, 21 Jul 2023 03:38:58 +0000 (03:38 +0000)]
gtk/calendar: Avoid emision of day-selected signal from nav buttons
Matthias Clasen [Thu, 20 Jul 2023 17:11:44 +0000 (13:11 -0400)]
gdk: Drop unnecessary conditionals
We require GLib 2.76 now.
Matthias Clasen [Thu, 20 Jul 2023 17:15:53 +0000 (13:15 -0400)]
tools: Use #pragma once
We are trying to be consistent about this.
Matthias Clasen [Thu, 20 Jul 2023 17:10:53 +0000 (13:10 -0400)]
tools: Drop unnecessary conditionals
We require GLib 2.76 now.
Matthias Clasen [Thu, 20 Jul 2023 17:39:06 +0000 (17:39 +0000)]
Merge branch 'gtk-fix-issue-4990' into 'main'
Add check for large compose files
Closes #4990
See merge request GNOME/gtk!6195
Matthias Clasen [Thu, 20 Jul 2023 15:48:13 +0000 (11:48 -0400)]
Make the new compose table test work
This just copies what we do already for other
tests that check parser failures.
Benjamin Otte [Wed, 19 Jul 2023 19:51:57 +0000 (19:51 +0000)]
Merge branch 'wip/otte/vulkan-for-main' into 'main'
vulkan: Various smallish things
See merge request GNOME/gtk!6193
Benjamin Otte [Wed, 19 Jul 2023 05:38:51 +0000 (07:38 +0200)]
vulkan: Be more careful with supported images
Now that we can upload all these fancy formats, we need to make sure
that we actually can.
Benjamin Otte [Wed, 19 Jul 2023 04:45:00 +0000 (06:45 +0200)]
memoryformat: fast-path copies of the same format
Basically, memcpy() asap if possible.
This happens a lot in Vulkan, where we gdk_memory_conert() image
data from memory textures straight into the VulkanBuffer.
And usually we support the format.
Benjamin Otte [Wed, 19 Jul 2023 04:14:55 +0000 (06:14 +0200)]
vulkan: Add premultiply step to texture upload
When a GdkMemoryFormat is not supported natively and there's
postprocessing required, add a way to mark a VulkanImage as such via the
new postprocess flags.
Also allow texting such iamges only with new_for_upload() and detect
when that is the case and then run a postprocessing step that converts
that image to a suitable format.
This is done with a new "convert" shader/op.
This now supports all formats natively, no conversions happen on the CPU
anymore (unless the GPU is old).
Benjamin Otte [Wed, 19 Jul 2023 04:13:28 +0000 (06:13 +0200)]
vulkan: Change fallback formats
Always fall back to a format that isn't swizzled.
That way it can be used as a target format for rendering.
Benjamin Otte [Tue, 18 Jul 2023 22:31:48 +0000 (00:31 +0200)]
vulkan: Split renderpass op into 2
Add an explicit begin() and an end() op. For now, this looks like
overkill, but it allows doing renderpasses with custom ops that are not
meant to render a rendernode.
Examples for this are pre/postprocessing passes or 2-pass blur.
Benjamin Otte [Tue, 18 Jul 2023 22:15:29 +0000 (00:15 +0200)]
vulkan: Don't store the renderpass
It's only used when parsing.
Benjamin Otte [Tue, 18 Jul 2023 22:08:56 +0000 (00:08 +0200)]
vulkan: Pass rectangles where no regions are used
The API was using regions because it always had. But all the code ever
did was get the extents of the region.
So simplify everything by using rectangles everywhere.
Benjamin Otte [Tue, 18 Jul 2023 22:00:34 +0000 (00:00 +0200)]
vulkan: Stop keeping the context around
These days, we can query it with gsk_vulkan_render_get_context().
Makes quite a few functions require one less argument.
And it also makes the GskVulkanRenderPass empty. Gotta figure out what
to do with it.
Benjamin Otte [Tue, 18 Jul 2023 21:15:22 +0000 (23:15 +0200)]
vulkan: Remove unused stuff fom renderpass
... and move it to the one place where it is used.
Benjamin Otte [Mon, 17 Jul 2023 19:03:13 +0000 (21:03 +0200)]
vulkan: Free storage buffer when disposing render object
This caused a lot of leaked memory on the GPU when rendering textures.
(Read: inside node-editor)
Benjamin Otte [Mon, 17 Jul 2023 19:02:33 +0000 (21:02 +0200)]
vulkan: Fix leaks with pipeline cache
In particular, we were leaking the actual cache and then created a new
one.
Benjamin Otte [Wed, 19 Jul 2023 13:36:55 +0000 (15:36 +0200)]
build: Move the glslc check into the top meson file
Put it with the other Vulkan checks, so it's easy to find.
Benjamin Otte [Wed, 19 Jul 2023 12:15:57 +0000 (14:15 +0200)]
vulkan: Remove the pre-compiled shaders
Instead, build-depnd on glslc to build them.
glslc is available in all important distros for a while:
Fedora >= 28
Ubuntu >= 23.04
Debian >= 12
Arch
Opensuse >= 15.2
msys2
are the ones I checked.
So we can depend on it and avoid having to deal with keeping spirv files
up-to-date in all commits.
It's also 700kB of data, and not updating it helps.
Benjamin Otte [Wed, 19 Jul 2023 12:55:07 +0000 (14:55 +0200)]
ci: Include glslc for Vulkan builds
Luca Bacci [Wed, 19 Jul 2023 15:40:52 +0000 (17:40 +0200)]
Add test for large compose file
See #4990
Luca Bacci [Wed, 19 Jul 2023 14:19:28 +0000 (16:19 +0200)]
Add check for large compose files
Fixes #4990
Daniel Boles [Wed, 19 Jul 2023 13:02:28 +0000 (13:02 +0000)]
Merge branch 'dboles/theme-no-backdrop-list-view-text' into 'main'
theme: Don't dim text in backdropped list/listview
See merge request GNOME/gtk!6175
Benjamin Otte [Sun, 16 Jul 2023 12:22:35 +0000 (12:22 +0000)]
Merge branch 'wip/otte/vulkan-for-main' into 'main'
vulkan: Make RenderOps into proper structs
See merge request GNOME/gtk!6188
Benjamin Otte [Sun, 16 Jul 2023 11:52:15 +0000 (13:52 +0200)]
vulkan: Rebuild the shaders
Just to be sure I didn't forget rebuilding some shader at some point.
Benjamin Otte [Sat, 15 Jul 2023 20:19:20 +0000 (22:19 +0200)]
vulkan: Redo barriers
We now store all the relevant state of the image inside the VulkanImage
struct, so we can delay barriers for as long as possible.
Whenever we want to use an image, we call the new
gsk_vulkan_image_transition() and it will add a barrier to the desired
state if one is necessary.
Benjamin Otte [Sat, 15 Jul 2023 14:38:03 +0000 (16:38 +0200)]
vulkan: Track the current pipeline stage of images
This way, we can in theory properly transition images because we know
which stage to transition from.
IN practice this is happening in future commits.
Benjamin Otte [Sat, 15 Jul 2023 11:28:08 +0000 (13:28 +0200)]
vulkan: Handle images in the ShaderOp
This looks more convoluted in this commit, but future commits will
hopefully make up for it.
Benjamin Otte [Sat, 15 Jul 2023 10:47:35 +0000 (12:47 +0200)]
vulkan: Make clip type an enum
and add gsk_vulkan_shader_op_alloc() that sets it properly.
Benjamin Otte [Sat, 15 Jul 2023 09:39:18 +0000 (11:39 +0200)]
vulkan: Introduce GskVulkanShaderOp
It's the new base class for shaders now.
We're doing deep inheritance now, woohoo!
Also, port all the shader ops to it.
Benjamin Otte [Sat, 15 Jul 2023 00:05:24 +0000 (02:05 +0200)]
vulkan: Remove GskVulkanUploader
... and all the remaining functions still using it.
It's all unused and has been replaced by upload and download ops.
With this change, all GPU operations now go via GskVulkanOp.command()
and no more side channels exist.
Benjamin Otte [Fri, 14 Jul 2023 21:22:35 +0000 (23:22 +0200)]
vulkan: Add GskVulkanDownloadOp
This op queues a download of an image. The image will only be available
once the commands finished executing, so it requires waiting for the
render to finish, which makes the API a bit awkward.
Included is also a download_png_op() useful for debugging.
Benjamin Otte [Fri, 14 Jul 2023 21:05:19 +0000 (23:05 +0200)]
vulkan: Properly update image layouts
The render pass ops were not updating the image's layout to the final
layout when a render pass ends.
Fix that.
Also make the layouts explicit arguments to the render pass op.
Benjamin Otte [Fri, 14 Jul 2023 20:21:09 +0000 (22:21 +0200)]
vulkan: Simplify render API
Merge reset() and draw() into a single render() function.
Also clean up some naming on the way.
Benjamin Otte [Thu, 13 Jul 2023 19:12:36 +0000 (21:12 +0200)]
vulkan: Remove the VulkanOp.upload() vfunc
It's not used anymore.
Benjamin Otte [Fri, 14 Jul 2023 18:55:45 +0000 (20:55 +0200)]
vulkan: Add an UploadGlyphOp
Now all the uploads have their own op.
Benjamin Otte [Fri, 14 Jul 2023 18:53:54 +0000 (20:53 +0200)]
vulkan: Split out a function
Split out the function that uploads using a buffer, so that it can be
used with an area to only update parts of the image.
That feature is not used yet, but will be in future commits.
Benjamin Otte [Thu, 13 Jul 2023 19:21:46 +0000 (21:21 +0200)]
vulkan: Remove unused functions
Benjamin Otte [Thu, 13 Jul 2023 18:56:57 +0000 (20:56 +0200)]
vulkan: Merge the two upload ops
Now they both use the same upload code.
Benjamin Otte [Thu, 13 Jul 2023 17:48:50 +0000 (19:48 +0200)]
vulkan: Merge te 2 upload ops
They are about to share a ton of code, sothey should be in the same
source file.
This commit just does the copying, no functional changes.
Benjamin Otte [Thu, 13 Jul 2023 12:30:16 +0000 (14:30 +0200)]
vulkan: Fold functions into only caller
Now that the VulkanOp does begin/end of render passes, there's no need
to have a renderpass function for it anymore.
Benjamin Otte [Thu, 13 Jul 2023 10:56:17 +0000 (12:56 +0200)]
tests: Reduce number of random fonts
We were clowing through all the Pango caches for no benefit.
It made the test generation stuck in fontconfig loops instead of
quickly generating tests.
So don't do that and limit the different fonts to some reasonable list
of options.
Benjamin Otte [Thu, 13 Jul 2023 10:30:29 +0000 (12:30 +0200)]
vulkan: Don't merge too many drawing commands
If a command takes too long to execute, Vulkan drivers will think they
are inflooping and abort what they were doing.
For the simple color shader with smallish nodes, this happens around
10M instances, as tested with the output of
./tests/rendernode-create-tests
10000000 colors.node
So just limit it to way lower, so that we barely never hit it, ut still
pick a big number so this optimization stays noticable.
Benjamin Otte [Thu, 13 Jul 2023 09:23:02 +0000 (11:23 +0200)]
vulkan: Simplify
The renderpassop always has a matching end op, so there is no need to
check for the end of operations and emit one manually.
Benjamin Otte [Thu, 13 Jul 2023 09:17:04 +0000 (11:17 +0200)]
vulkan: Merge function into only caller
The renderpass reshuffling means we can move a bunch of functions now.
This is one of them.
Benjamin Otte [Wed, 12 Jul 2023 09:38:32 +0000 (11:38 +0200)]
vulkan: Don't try that hard to use clear
For small regions, the optimization doesn't matter that much, so we
don't need to do lots of work on the CPU.
In particular, this should catch icons and their backgrounds (32x32),
but I was generous in selecting the number.
Gets my discrete AMD on widget-factory back to the 1900fps it had before
this optimization while making the driver clock the GPU's shader at
1.7GHz instead of the 2.1GHz it used before.
Benjamin Otte [Wed, 12 Jul 2023 09:04:25 +0000 (11:04 +0200)]
vulkan: Try really hard to use clear
Using clear avoids the shader engine (see last commit), so if we can get
pixels out of it, we should.
So we detect the overlap with the rounded corners of the clip region and
emit shaders for those, but then use Clear() for the rest.
With this in place, widget-factory on my integrated Intel TigerLake gets
a 60% performance boost.
Benjamin Otte [Wed, 12 Jul 2023 07:26:24 +0000 (09:26 +0200)]
vulkan: Add a clear op
The op emits a vkCmdClearAttachments() with a given color. That can be
used with color nodes that are pixel-aligned and opaque to significantly
speed up rendering when the window background is a solid color.
However, currently this fails a bit outside of fullscreen when rounded
clip rectangles are in use to draw rounded corners.
Benjamin Otte [Wed, 12 Jul 2023 07:21:07 +0000 (09:21 +0200)]
vulkan: Adapt a function
I want to use it for more operations when we can break those down to
operations on the pixels directly, and this function is what's needed
for that.
Benjamin Otte [Tue, 11 Jul 2023 13:14:22 +0000 (15:14 +0200)]
vulkan: Implement direct upload for the cairo op
Benjamin Otte [Tue, 11 Jul 2023 07:35:01 +0000 (09:35 +0200)]
vulkan: Upload cairo images "directly"
Instead of using the upload vfunc and going via the code in
GskVulkanImage, copy/paste the relevant code into the command() vfunc.
This is meant to achieve multiple things:
1. Get rid of GskVulkanUploader and its own command buffer and general
non-integration with operations.
2. Get rid of GskVulkanOp:upload()
3. Get the upload/download code machinery for GskVulkanImage and put it
with the actual operations.
The current code can't do direct upload/download, that will follow in a
future commit.
Benjamin Otte [Tue, 11 Jul 2023 06:50:20 +0000 (08:50 +0200)]
vulkan: Split out a function
This is refactoring for future changes.
Benjamin Otte [Mon, 10 Jul 2023 01:42:55 +0000 (03:42 +0200)]
vulkan: Emit a renderpass op
... instead of doing the equivalent things manually by creating a
RenderPass and calling the relevant functions.
Now all renderpass operations are indeed stored in ops.
Also reshuffle the command emission code, because we no longer need to
emit the ops for the base renderpass.
As a result we only submit a single command buffer containing all the
render passes instead of once per render pass.
We also bind vertex buffers and descriptor sets only once now at the
start instead of once per renderpass.
Benjamin Otte [Sun, 9 Jul 2023 21:45:20 +0000 (23:45 +0200)]
vulkan: Sort the ops
Use the OpClass.stage to order operations:
1. Put upload ops first
This way we can ensure they are executed first.
2. Move subpasses for offscreens in front of the pass using them.
Benjamin Otte [Sun, 9 Jul 2023 21:44:52 +0000 (23:44 +0200)]
vulkan: Store a pointer to the first op
This is not yet useful, but will be soon.
Benjamin Otte [Sun, 9 Jul 2023 21:44:02 +0000 (23:44 +0200)]
vulkan: Indent verbose prints again
This feature was lost when refactoring, restore it.
Benjamin Otte [Sun, 9 Jul 2023 20:33:54 +0000 (22:33 +0200)]
vulkan: Rename offscreenp to renderpassop
They should be used for all renderpasses, not just offscreens.
Benjamin Otte [Sun, 9 Jul 2023 18:28:12 +0000 (20:28 +0200)]
vulkan: Move the render ops to the Render
This is a massive refactoring because it collects all the renderops
of all renderpasses into one long array in the Render object.
Lots of code in there is still flaky and needs cleanup. That will
follow in further commits.
Other than that it does work fine though.
Benjamin Otte [Sun, 9 Jul 2023 14:50:19 +0000 (16:50 +0200)]
vulkan: Batch together multiple draw calls
If multiple instances of the same op appear in order, we can emit one
vkCmdDraw() for all of them together.
So do that.
Benjamin Otte [Sun, 9 Jul 2023 14:27:02 +0000 (16:27 +0200)]
vulkan: Unify some functions
All the ops that just execute a shader do pretty much the same stuff, so
put it all in a single function that they all call.
It's basically faking a base class for them.
Benjamin Otte [Sun, 9 Jul 2023 13:56:30 +0000 (15:56 +0200)]
vulkan: Make Op->command() return the next op
This way, ops can batch themselves.
They don't dothat yet, but you know where this is going...
Benjamin Otte [Sun, 9 Jul 2023 13:40:48 +0000 (15:40 +0200)]
vulkan: Add a Stage enum
It's declaring at which stage this command should run. So far nothing is
using it, but that will follow in future commits.
Benjamin Otte [Sat, 8 Jul 2023 21:16:01 +0000 (23:16 +0200)]
vulkan: Bind descriptor sets early
Simplfies the code and doesn't change anything.
Benjamin Otte [Sat, 8 Jul 2023 19:28:56 +0000 (21:28 +0200)]
vulkan: Remove unused arguments from Op vfuncs
Makes code a lot simpler.
Benjamin Otte [Sat, 8 Jul 2023 18:40:48 +0000 (20:40 +0200)]
vulkan: Cache VkRenderPasses in render object
Instead of recreating the same renderpass object in every frame and for
every offscreen, just reuse it.
Technically, we can save this per-renderer or even per-display (it
should really be cached by VkDevice), but we have no infrastructure for
that.
Benjamin Otte [Sat, 8 Jul 2023 18:16:39 +0000 (20:16 +0200)]
vulkan: Rename function
The function name gsk_vulkan_render_get_pipeline() had been used for
GskVulkanPipeline. Since those are gone now, we can use that name for
VkPipelines.
Benjamin Otte [Sat, 8 Jul 2023 18:10:04 +0000 (20:10 +0200)]
vulkan: Cache framebuffer in image
Instead of recreating them every frame for every render pass, reuse the
same framebuffer.
Benjamin Otte [Sat, 8 Jul 2023 07:04:12 +0000 (09:04 +0200)]
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.
Benjamin Otte [Fri, 7 Jul 2023 01:18:44 +0000 (03:18 +0200)]
vulkan: Add an offscreen end op
This is basically a fancy no-op for now, but reordering of ops will need
it to indicate end of offscreen commands.
Benjamin Otte [Fri, 7 Jul 2023 00:38:22 +0000 (02:38 +0200)]
vulkan: Don't intern strings
Interning strings is slow, especially if we can instead do direct
pointer compares.
Also refactor the pipeline lookup code a bit to make use of the
refactored code.
Benjamin Otte [Thu, 6 Jul 2023 04:40:09 +0000 (06:40 +0200)]
vulkan: Add VulkanOp->next
Set it after creating all the ops and then use it for iterating.
Note that we cannot set it while creating the ops because the array may
be realloc()ed into a different memory region which would invalidate all
the pointers.
It currently has no use, but that will come later.
Also put the typedefs into headers in gsk/vulkan, they have nthing to do
outside that directory.
Benjamin Otte [Wed, 5 Jul 2023 07:10:08 +0000 (09:10 +0200)]
vulkan: Remove all the semaphores
They aren't necessary with just one queue.
Benjamin Otte [Wed, 5 Jul 2023 05:16:58 +0000 (07:16 +0200)]
vulkan: Remove unused stuff from render object
Neither cleanup images nor multiple renderpasses are used anymore since
both of those are now handled inside the render ops.
Benjamin Otte [Wed, 5 Jul 2023 05:06:17 +0000 (07:06 +0200)]
vulkan: Pass the node when setting up
Remove the function to add a node from both the GskVulkanRender and the
GskVulkanRenderPass.
That means they are both now meant to draw exactly one node.
Benjamin Otte [Wed, 5 Jul 2023 04:32:52 +0000 (06:32 +0200)]
vulkan: Add infrastructure for printing ops
... and add a GSK_DEBUG=verbose setting making use of it.
Benjamin Otte [Mon, 3 Jul 2023 23:55:17 +0000 (01:55 +0200)]
vulkan: Repurpose mask shader
Use if for mask nodes to do the generic source image + mask image
operation with the 4 available mask modes.
Benjamin Otte [Mon, 3 Jul 2023 14:14:57 +0000 (16:14 +0200)]
vulkan: Remove op.get_pipeline()
It's unused now that GskVulkanPipeline is gone.
Benjamin Otte [Mon, 3 Jul 2023 13:49:36 +0000 (15:49 +0200)]
vulkan: Remove GskVulkanPipeline
Pipelines are handled differently now.
Benjamin Otte [Mon, 3 Jul 2023 13:57:30 +0000 (15:57 +0200)]
vulkan: Add gskvulkanprivate.h
It's the new place for all the common stuff.
Because the old place is about to go away.
Benjamin Otte [Mon, 3 Jul 2023 13:47:53 +0000 (15:47 +0200)]
vulkan: Turn push constants into an op
This removes the last remaining original op from the gskvulkanrenderpass.c,
so that file got some cleanup, too.