aboutsummaryrefslogtreecommitdiffstats
path: root/compositor/compositor.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-02-13 13:44:55 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-02-13 13:45:01 -0500
commitfa4e2a76769bd17c2ddc19b664cbd00bf971dc9b (patch)
treefde76e947b797b3303b07e84bdb3a3efcc0b6996 /compositor/compositor.h
parentUse pixman regions to reduce repainting (diff)
downloadwayland-fa4e2a76769bd17c2ddc19b664cbd00bf971dc9b.tar
wayland-fa4e2a76769bd17c2ddc19b664cbd00bf971dc9b.tar.gz
wayland-fa4e2a76769bd17c2ddc19b664cbd00bf971dc9b.tar.bz2
wayland-fa4e2a76769bd17c2ddc19b664cbd00bf971dc9b.tar.lz
wayland-fa4e2a76769bd17c2ddc19b664cbd00bf971dc9b.tar.xz
wayland-fa4e2a76769bd17c2ddc19b664cbd00bf971dc9b.tar.zst
wayland-fa4e2a76769bd17c2ddc19b664cbd00bf971dc9b.zip
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.
Diffstat (limited to 'compositor/compositor.h')
-rw-r--r--compositor/compositor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compositor/compositor.h b/compositor/compositor.h
index 67d9f2a..61bb5c8 100644
--- a/compositor/compositor.h
+++ b/compositor/compositor.h
@@ -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;