mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
util/matrix: Rework matrix_projection to compute transform on-demand
This commit is contained in:
parent
99b6084fcd
commit
7775f55e3a
5 changed files with 19 additions and 22 deletions
|
|
@ -135,7 +135,6 @@ struct wlr_gles2_texture {
|
|||
struct wlr_gles2_render_pass {
|
||||
struct wlr_render_pass base;
|
||||
struct wlr_gles2_buffer *buffer;
|
||||
float projection_matrix[9];
|
||||
struct wlr_egl_context prev_ctx;
|
||||
struct wlr_gles2_render_timer *timer;
|
||||
struct wlr_drm_syncobj_timeline *signal_timeline;
|
||||
|
|
|
|||
|
|
@ -384,7 +384,6 @@ struct wlr_vk_render_pass {
|
|||
struct wlr_vk_command_buffer *command_buffer;
|
||||
struct rect_union updated_region;
|
||||
VkPipeline bound_pipeline;
|
||||
float projection[9];
|
||||
bool failed;
|
||||
bool srgb_pathway; // if false, rendering via intermediate blending buffer
|
||||
struct wlr_color_transform *color_transform;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue