xserver-multidpi/glamor
Zhigang Gong f62f4d53ef glamor_glyphs: When dst arg point to a NULL buffer, dont't flush.
This is a corner case, when we render glyphs via mask cache, and
when we need to upload new glyphs cache, we need to flush both the
mask and dest buffer. But we the dest arg may point to a NULL buffer
at that time, we need to check it firstly. If the dest buffer is NULL.
Then we don't need to flush both the dest and mask buffer.

This commit fix a potential crash.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2013-12-18 11:23:53 -08:00
..
compat-api.h Added the missed header file for xorg 1.13 compat. 2013-12-18 11:23:53 -08:00
compiler.h optimize: Use likely and unlikely. 2013-12-18 11:23:52 -08:00
glamor_addtraps.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_compositerects.c glamor_compositerects: Implement optimized version. 2013-12-18 11:23:52 -08:00
glamor_copyarea.c glamor_copyarea: Use blitcopy if current state is not render. 2013-12-18 11:23:53 -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 glamor_largepixmap: first commit for large pixmap. 2013-12-18 11:23:51 -08:00
glamor_debug.h glamor_largepixmap: first commit for large pixmap. 2013-12-18 11:23:51 -08:00
glamor_egl.c Synch with xorg 1.13 change. 2013-12-18 11:23:53 -08:00
glamor_eglmodule.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_fbo.c glamor_glyphs: Detect fake or real glyphs overlap. 2013-12-18 11:23:52 -08:00
glamor_fill.c glamor_copyarea: Use blitcopy if current state is not render. 2013-12-18 11:23:53 -08:00
glamor_fillspans.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_getimage.c glamor_getimage: should call miGetimage if failed to get sub-image. 2013-12-18 11:23:51 -08:00
glamor_getspans.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_gl_dispatch.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_gl_dispatch.h Fix the problem of memory leak in gradient pixmap generating. 2013-12-18 11:23:50 -08:00
glamor_glext.h gles2: Fixed the compilation problem and some bugs. 2013-12-18 11:23:53 -08:00
glamor_glyphblt.c Fixed all unused variables warnings. 2013-12-18 11:23:51 -08:00
glamor_glyphs.c glamor_glyphs: When dst arg point to a NULL buffer, dont't flush. 2013-12-18 11:23:53 -08:00
glamor_gradient.c Modilfy the composite logic to two phases 2013-12-18 11:23:52 -08:00
glamor_largepixmap.c largepixmap: Fix the selfcopy issue. 2013-12-18 11:23:51 -08:00
glamor_picture.c glamor_largepixmap: first commit for large pixmap. 2013-12-18 11:23:51 -08:00
glamor_pixmap.c gles2: Fixed the compilation problem and some bugs. 2013-12-18 11:23:53 -08:00
glamor_polyfillrect.c Fixed all unused variables warnings. 2013-12-18 11:23:51 -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 Synch with xorg 1.13 change. 2013-12-18 11:23:53 -08:00
glamor_putimage.c glamor_putimage: Correct the wrong stride value. 2013-12-18 11:23:51 -08:00
glamor_render.c Fix the problem of VBO leak. 2013-12-18 11:23:53 -08:00
glamor_setspans.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_tile.c glamor_copyarea: Use blitcopy if current state is not render. 2013-12-18 11:23:53 -08:00
glamor_trapezoid.c glamor_trapezoid: workaround a glsl like problem. 2013-12-18 11:23:53 -08:00
glamor_triangles.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_utils.h Change the trapezoid render to use VBO. 2013-12-18 11:23:53 -08:00
glamor_window.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor.c Synch with xorg 1.13 change. 2013-12-18 11:23:53 -08:00
glamor.h Synch with xorg 1.13 change. 2013-12-18 11:23:53 -08:00
glapi.h Added strict warning flags to CFLAGS. 2013-12-18 11:23:51 -08:00
Makefile.am glamor_compositerects: Implement optimized version. 2013-12-18 11:23:52 -08:00