aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gles2.h4
-rw-r--r--include/render/pixman.h3
-rw-r--r--include/render/vulkan.h2
-rw-r--r--include/render/wlr_renderer.h8
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.
*/