aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/render/gles2.h4
-rw-r--r--include/wlr/render/interface.h5
-rw-r--r--include/wlr/render/pixman.h5
-rw-r--r--include/wlr/render/vulkan.h2
-rw-r--r--include/wlr/render/wlr_renderer.h14
5 files changed, 0 insertions, 30 deletions
diff --git a/include/wlr/render/gles2.h b/include/wlr/render/gles2.h
index 740e2f2d..e096f4f3 100644
--- a/include/wlr/render/gles2.h
+++ b/include/wlr/render/gles2.h
@@ -33,10 +33,6 @@ struct wlr_renderer *wlr_gles2_renderer_create(struct wlr_egl *egl);
struct wlr_egl *wlr_gles2_renderer_get_egl(struct wlr_renderer *renderer);
bool wlr_gles2_renderer_check_ext(struct wlr_renderer *renderer,
const char *ext);
-/**
- * Returns the OpenGL FBO of current buffer.
- */
-GLuint wlr_gles2_renderer_get_current_fbo(struct wlr_renderer *wlr_renderer);
struct wlr_gles2_texture_attribs {
GLenum target; /* either GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES */
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index a433ea2a..9cbf814f 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -20,11 +20,6 @@ struct wlr_box;
struct wlr_fbox;
struct wlr_renderer_impl {
- bool (*bind_buffer)(struct wlr_renderer *renderer,
- struct wlr_buffer *buffer);
- bool (*begin)(struct wlr_renderer *renderer, uint32_t width,
- uint32_t height);
- void (*end)(struct wlr_renderer *renderer);
const uint32_t *(*get_shm_texture_formats)(
struct wlr_renderer *renderer, size_t *len);
const struct wlr_drm_format_set *(*get_dmabuf_texture_formats)(
diff --git a/include/wlr/render/pixman.h b/include/wlr/render/pixman.h
index 7e19fa4e..436ff1a7 100644
--- a/include/wlr/render/pixman.h
+++ b/include/wlr/render/pixman.h
@@ -13,11 +13,6 @@
#include <wlr/render/wlr_renderer.h>
struct wlr_renderer *wlr_pixman_renderer_create(void);
-/**
- * Returns the image of current buffer.
- */
-pixman_image_t *wlr_pixman_renderer_get_current_image(
- struct wlr_renderer *wlr_renderer);
bool wlr_renderer_is_pixman(struct wlr_renderer *wlr_renderer);
bool wlr_texture_is_pixman(struct wlr_texture *texture);
diff --git a/include/wlr/render/vulkan.h b/include/wlr/render/vulkan.h
index 04c877e4..50f8c558 100644
--- a/include/wlr/render/vulkan.h
+++ b/include/wlr/render/vulkan.h
@@ -24,8 +24,6 @@ VkInstance wlr_vk_renderer_get_instance(struct wlr_renderer *renderer);
VkPhysicalDevice wlr_vk_renderer_get_physical_device(struct wlr_renderer *renderer);
VkDevice wlr_vk_renderer_get_device(struct wlr_renderer *renderer);
uint32_t wlr_vk_renderer_get_queue_family(struct wlr_renderer *renderer);
-void wlr_vk_renderer_get_current_image_attribs(struct wlr_renderer *renderer,
- struct wlr_vk_image_attribs *attribs);
bool wlr_renderer_is_vk(struct wlr_renderer *wlr_renderer);
bool wlr_texture_is_vk(struct wlr_texture *texture);
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h
index 9c5011ec..08333a52 100644
--- a/include/wlr/render/wlr_renderer.h
+++ b/include/wlr/render/wlr_renderer.h
@@ -39,8 +39,6 @@ struct wlr_renderer {
// private state
const struct wlr_renderer_impl *impl;
-
- bool rendering;
};
/**
@@ -52,18 +50,6 @@ struct wlr_renderer {
struct wlr_renderer *wlr_renderer_autocreate(struct wlr_backend *backend);
/**
- * Start a render pass on the provided struct wlr_buffer.
- *
- * Compositors must call wlr_renderer_end() when they are done.
- */
-bool wlr_renderer_begin_with_buffer(struct wlr_renderer *r,
- struct wlr_buffer *buffer);
-/**
- * End a render pass.
- */
-void wlr_renderer_end(struct wlr_renderer *r);
-
-/**
* Get the shared-memory formats supporting import usage. Buffers allocated
* with a format from this list may be imported via wlr_texture_from_pixels().
*/