xserver-multidpi/glamor
Eric Anholt d07d2c3c5f glamor: Don't forget to unmap our PBOs before using them to upload.
From the GL_ARB_vertex_buffer_object spec:

    After the client has specified the contents of a mapped data store,
    and before the data in that store are dereferenced by any GL commands,
    the mapping must be relinquished by calling

        boolean UnmapBufferARB(enum target);

Our mappings were only getting reaped at PBO destroy time, after the
upload.  If the GL implementation wasn't coherent, it would have used
stale data to do the texture upload.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Markus Wick <markus@selfnet.de>
2014-03-17 14:30:57 -07:00
..
glamor_addtraps.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_compositerects.c glamor: Remove an extra copy of RegionNil(). 2014-01-27 09:30:47 -08:00
glamor_context.h glamor: Put in a pluggable context switcher for GLX versus EGL. 2014-02-14 18:30:01 -08:00
glamor_copyarea.c glamor: Add missing prepares on the GC during fb fallbacks. 2014-03-17 14:30:56 -07:00
glamor_copyplane.c glamor: Add missing prepares on the GC during fb fallbacks. 2014-03-17 14:30:56 -07:00
glamor_copywindow.c glamor: Apply x-indent.sh. 2014-01-27 09:30:47 -08:00
glamor_core.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_debug.h glamor: Apply x-indent.sh. 2014-01-27 09:30:47 -08:00
glamor_egl_stubs.c glamor: Put in a pluggable context switcher for GLX versus EGL. 2014-02-14 18:30:01 -08:00
glamor_egl.c glamor: Return the stride/size for glamor_dri3_name_from_pixmap(), too. 2014-03-17 14:30:49 -07:00
glamor_eglmodule.c xorg: Connect up the glamor XV code, xorg DDX-only for now. 2014-03-05 13:10:20 -08:00
glamor_fbo.c glamor: Replace some goofy enum-likes with a real enum. 2014-03-17 14:30:51 -07:00
glamor_fill.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_fillspans.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_getimage.c glamor: Drop duplicated lines for getting pixmap state in GetImage. 2014-03-17 14:30:49 -07:00
glamor_getspans.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_glx.c glamor: Drop the set of the context to NULL at the end of glamor ops. 2014-03-17 14:30:41 -07:00
glamor_glyphblt.c glamor: Improve the performance of PolyGlyphBlt. 2014-03-17 14:30:56 -07:00
glamor_glyphs.c glamor: Do glyph private init at screeninit time, and other stuff at CSR. 2014-03-17 14:30:45 -07:00
glamor_gradient.c glamor: Fix a mismatched glamor_get/put_context(). 2014-03-10 13:57:21 -07:00
glamor_largepixmap.c glamor: Fix some indent damage of putting a ' ' after the '*' for pointers. 2014-01-27 09:30:47 -08:00
glamor_picture.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_pixmap.c glamor: Don't forget to unmap our PBOs before using them to upload. 2014-03-17 14:30:57 -07:00
glamor_polyfillrect.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_polylines.c glamor: Improve the performance of line fallbacks. 2014-03-17 14:30:57 -07:00
glamor_polyops.c glamor: Fix some indent damage of putting a ' ' after the '*' for pointers. 2014-01-27 09:30:47 -08:00
glamor_priv.h glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_putimage.c glamor: Add missing prepares on the GC during fb fallbacks. 2014-03-17 14:30:56 -07:00
glamor_render.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_setspans.c glamor: Fix ignoring the ALU during SetSpans(). 2014-03-17 14:30:57 -07:00
glamor_tile.c glamor: Add a screen argument to drop an ifdef from glamor_set_alu(). 2014-02-14 18:30:01 -08:00
glamor_trapezoid.c glamor: Extract the streamed vertex data code used by Render. 2014-03-10 13:57:21 -07:00
glamor_triangles.c glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_utils.h glamor: Rely on nested mappings to handle src==dst and !prepare bugs. 2014-03-17 14:30:56 -07:00
glamor_vbo.c glamor: Use buffer_storage 2014-03-10 13:57:21 -07:00
glamor_window.c glamor: Apply x-indent.sh. 2014-01-27 09:30:47 -08:00
glamor_xv.c xorg: Connect up the glamor XV code, xorg DDX-only for now. 2014-03-05 13:10:20 -08:00
glamor.c glamor: Return the stride/size for glamor_dri3_name_from_pixmap(), too. 2014-03-17 14:30:49 -07:00
glamor.h glamor: Return the stride/size for glamor_dri3_name_from_pixmap(), too. 2014-03-17 14:30:49 -07:00
Makefile.am glamor: Extract the streamed vertex data code used by Render. 2014-03-10 13:57:21 -07:00