diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-08-19 21:39:57 -0400 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-11-30 20:11:50 -0500 |
commit | d3a339a03e320c397696d3d0f49567670146a7a4 (patch) | |
tree | a90c12d449e1d909532d4e22e801aad7c2e4984a /include/render | |
parent | 3ed1268f64fd736712c2de1bf522d42d6694e3cc (diff) |
renderer: Drop buffer binding
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/gles2.h | 4 | ||||
-rw-r--r-- | include/render/pixman.h | 3 | ||||
-rw-r--r-- | include/render/vulkan.h | 2 | ||||
-rw-r--r-- | include/render/wlr_renderer.h | 8 |
4 files changed, 0 insertions, 17 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h index c4540a39..db301c6e 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -41,7 +41,6 @@ struct wlr_gles2_tex_shader { struct wlr_gles2_renderer { struct wlr_renderer wlr_renderer; - float projection[9]; struct wlr_egl *egl; int drm_fd; @@ -87,9 +86,6 @@ struct wlr_gles2_renderer { struct wl_list buffers; // wlr_gles2_buffer.link struct wl_list textures; // wlr_gles2_texture.link - - struct wlr_gles2_buffer *current_buffer; - uint32_t viewport_width, viewport_height; }; struct wlr_gles2_render_timer { diff --git a/include/render/pixman.h b/include/render/pixman.h index 24a27055..09842144 100644 --- a/include/render/pixman.h +++ b/include/render/pixman.h @@ -20,9 +20,6 @@ struct wlr_pixman_renderer { struct wl_list buffers; // wlr_pixman_buffer.link struct wl_list textures; // wlr_pixman_texture.link - struct wlr_pixman_buffer *current_buffer; - int32_t width, height; - struct wlr_drm_format_set drm_formats; }; diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 90a9c4e7..a518ee4a 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -252,8 +252,6 @@ struct wlr_vk_renderer { VkSemaphore timeline_semaphore; uint64_t timeline_point; - struct wlr_vk_render_buffer *current_render_buffer; - size_t last_pool_size; struct wl_list descriptor_pools; // wlr_vk_descriptor_pool.link struct wl_list render_format_setups; // wlr_vk_render_format_setup.link diff --git a/include/render/wlr_renderer.h b/include/render/wlr_renderer.h index c55b3ac8..a8777bc0 100644 --- a/include/render/wlr_renderer.h +++ b/include/render/wlr_renderer.h @@ -8,14 +8,6 @@ */ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd); /** - * Bind a buffer to the renderer. - * - * All subsequent rendering operations will operate on the supplied buffer. - * After rendering operations are done, the caller must unbind a buffer by - * calling renderer_bind_buffer with a NULL buffer. - */ -bool renderer_bind_buffer(struct wlr_renderer *r, struct wlr_buffer *buffer); -/** * Get the supported render formats. Buffers allocated with a format from this * list may be attached via wlr_renderer_begin_with_buffer. */ |