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:
Kristian Høgsberg 2011-02-13 13:44:55 -05:00
parent 31bd6c7ab1
commit fa4e2a7676
2 changed files with 30 additions and 42 deletions

View file

@ -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;