mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render: drop egl parameters from wlr_renderer_autocreate
This commit is contained in:
parent
affc59454e
commit
e128e6c08d
8 changed files with 35 additions and 15 deletions
|
|
@ -41,6 +41,7 @@ struct wlr_egl {
|
|||
EGLConfig config; // may be EGL_NO_CONFIG
|
||||
EGLContext context;
|
||||
EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT
|
||||
struct gbm_device *gbm_device;
|
||||
|
||||
struct {
|
||||
// Display extensions
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wlr/backend.h>
|
||||
#include <wlr/render/egl.h>
|
||||
#include <wlr/render/wlr_texture.h>
|
||||
#include <wlr/types/wlr_box.h>
|
||||
|
|
@ -33,8 +34,7 @@ struct wlr_renderer {
|
|||
} events;
|
||||
};
|
||||
|
||||
struct wlr_renderer *wlr_renderer_autocreate(EGLenum platform,
|
||||
void *remote_display);
|
||||
struct wlr_renderer *wlr_renderer_autocreate(struct wlr_backend *backend);
|
||||
|
||||
void wlr_renderer_begin(struct wlr_renderer *r, uint32_t width, uint32_t height);
|
||||
void wlr_renderer_end(struct wlr_renderer *r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue