xserver-multidpi/glamor
Zhigang Gong ea70ebe0ac Fixed one potential texture size mismatch problem.
There are two cases which we may use a wrong texture size.
1. A pixmap is modified by the client side after it created
it. Then the pixmap's width may mismatch the original fbo/tex's
size. Thus we need to check this condition when preparing
upload the pixmap.

2. We provide two API to download/upload sub region of a
textured pixmap. The caller may pass in a larger width then
the original pixmap's size, this may happen at putimage
and setspans. We need to validate the width and height
when do the downloading/uploading.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2013-12-18 11:23:50 -08:00
..
glamor_addtraps.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copyarea.c pending_op: Remove the pending operations handling. 2013-12-18 11:23:50 -08:00
glamor_copyplane.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copywindow.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_core.c Fixed a stride problem for textured_drm pixmap. 2013-12-18 11:23:50 -08:00
glamor_debug.h glamor_fbo: Introduce glamor fbo to manage all the fb/tex. 2013-12-18 11:23:47 -08:00
glamor_egl.c For DRI swap buffers. 2013-12-18 11:23:49 -08:00
glamor_eglmodule.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_fbo.c pending_op: Remove the pending operations handling. 2013-12-18 11:23:50 -08:00
glamor_fill.c pending_op: Remove the pending operations handling. 2013-12-18 11:23:50 -08:00
glamor_fillspans.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_getimage.c glamor_getimage: Don't fallback to miGetImage. 2013-12-18 11:23:50 -08:00
glamor_getspans.c glamor_getspans: Reuse glamor_download_sub_pixmap. 2013-12-18 11:23:50 -08:00
glamor_gl_dispatch.c Prepare for modification of gradient using shader. 2013-12-18 11:23:49 -08:00
glamor_gl_dispatch.h Prepare for modification of gradient using shader. 2013-12-18 11:23:49 -08:00
glamor_glext.h glamor: Re-arrange some macros/definitions in header files. 2011-09-26 16:47:02 +08:00
glamor_glyphblt.c glyphblt/polyops: Use miFunctions by default. 2013-12-18 11:23:49 -08:00
glamor_glyphs.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_picture.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_pixmap.c Fixed one potential texture size mismatch problem. 2013-12-18 11:23:50 -08:00
glamor_polyfillrect.c glamor_polyfillrect: Fixed a potential bug if fallback at glamor_fill. 2013-12-18 11:23:49 -08:00
glamor_polylines.c glamor_polylines: Don't fallback for non-solid fill. 2013-12-18 11:23:49 -08:00
glamor_polyops.c glyphblt/polyops: Use miFunctions by default. 2013-12-18 11:23:49 -08:00
glamor_priv.h pending_op: Remove the pending operations handling. 2013-12-18 11:23:50 -08:00
glamor_putimage.c code clean up. 2013-12-18 11:23:50 -08:00
glamor_render.c pending_op: Remove the pending operations handling. 2013-12-18 11:23:50 -08:00
glamor_setspans.c glamor_setspans: Reuse glamor_upload_sub_pixmap. 2013-12-18 11:23:50 -08:00
glamor_tile.c pending_op: Remove the pending operations handling. 2013-12-18 11:23:50 -08:00
glamor_triangles.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_utils.h pending_op: Remove the pending operations handling. 2013-12-18 11:23:50 -08:00
glamor_window.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor.c glamor_pixmap_priv: Always return a valid private pixmap. 2013-12-18 11:23:50 -08:00
glamor.h fallback_optimize: Prepare for downloading/uploading subregion. 2013-12-18 11:23:49 -08:00
glapi.h GLX: Enable glx support. 2013-12-18 11:23:48 -08:00
Makefile.am GLX: Enable glx support. 2013-12-18 11:23:48 -08:00