mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-14 06:59:46 -05:00
compositor: Switch away from using VBOs and just stream the vertex data
We avoid changing uniforms for each window and it will be easier to break up a surface into a series of rectangles.
This commit is contained in:
parent
31bd6c7ab1
commit
fa4e2a7676
2 changed files with 30 additions and 42 deletions
|
|
@ -91,7 +91,7 @@ struct wlsc_compositor {
|
|||
struct wlsc_shm shm;
|
||||
EGLDisplay display;
|
||||
EGLContext context;
|
||||
GLuint fbo, vbo;
|
||||
GLuint fbo;
|
||||
GLuint proj_uniform, tex_uniform;
|
||||
struct wl_buffer **pointer_buffers;
|
||||
struct wl_display *wl_display;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue