mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
bb2cd7225e
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.
14 lines
414 B
C
14 lines
414 B
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_vulkan_clear_op (GskVulkanRender *render,
|
|
const cairo_rectangle_int_t *rect,
|
|
const GdkRGBA *color);
|
|
|
|
|
|
G_END_DECLS
|
|
|