xserver-multidpi/glamor
Zhigang Gong ff3d2c7963 Fixed a stride problem for textured_drm pixmap.
As a textured_drm pixmap has a drm bo attached to it, and
it's the DDX layer to set it stride value. In some case,
the stride value is not equal to PixmapBytePad(w, depth)
which is used within glamor.

Then if it is the case, we have two choice, one is to set
the GL_PACK_ROW_LENGTH/GL_UNPACK_ROW_LENGTH when we need
to download or upload the pixmap. The other option is to
change the pixmap's devKind to match the one glamor is using
when downloading the pixmap, and restore it to the drm stride
after uploading the pixmap.

We choose the 2nd option, as GLES doesn't support the first
method.

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 glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -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 glamor_pixmap_ensure_fbo: Should allocate tex if we don't have one. 2013-12-18 11:23:50 -08:00
glamor_fill.c glamor_polyfillrect: Optimize fallback path. 2013-12-18 11:23:49 -08:00
glamor_fillspans.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_getimage.c glamor_getimage: Use glamor_download_sub_pixmap_to_cpu to get image. 2013-12-18 11:23:49 -08:00
glamor_getspans.c glamor_es2_pixmap_read_prepare: Just prepare the required region. 2013-12-18 11:23:49 -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 a stride problem for textured_drm pixmap. 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 Fixed a stride problem for textured_drm pixmap. 2013-12-18 11:23:50 -08:00
glamor_putimage.c glamor_putimage: Reuse copy area to do the clipped copy. 2013-12-18 11:23:50 -08:00
glamor_render.c render: Enable more componentAlpha support. 2013-12-18 11:23:49 -08:00
glamor_setspans.c glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -08:00
glamor_tile.c glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -08:00
glamor_triangles.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_utils.h glamor_pixmap_priv: Always return a valid private pixmap. 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