xserver-multidpi/glamor
Eric Anholt e924034269 glamor: Fix accelerated rendering of GTK's ARGB vs xBGR composites.
There is some complicated code to support tweaking the format as we
upload from a SHM pixmap (aka the GTK icon cache), but if we weren't
sourcing from a SHM pixmap we just forgot to check that the formats
matched at all.

We could potentially be a little more discerning here (xRGB source and
ARGB mask would be fine, for example), but this will all change with
texture views anyway, so just get the rendering working for 1.16
release.

Fixes the new rendercheck gtk_argb_xbgr test.

v2: Squash in keithp's fix for checking that we have a non-NULL
    pixmap, and reword the comment even more.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
2014-04-22 09:59:40 -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: don't reset the GLSL program 2014-03-17 14:30:58 -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 Make glamor build with --enable-debug. 2014-04-22 09:48:46 -07:00
glamor_debug.h glamor: Apply x-indent.sh. 2014-01-27 09:30:47 -08:00
glamor_egl_stubs.c glamor: Move glamor_egl_screen_init() prototype to glamor.h 2014-04-01 10:31:09 -07:00
glamor_egl.c dri3: Fix dri3_open API change by adding new dri3_open_client 2014-04-08 13:53:58 -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: Always allocate precisely the requested pixmap size 2014-04-17 15:01:26 -07:00
glamor_fill.c glamor: Always keep GL_ELEMENT_ARRAY_BUFFER bound to the same IB. 2014-03-26 12:58:40 -07:00
glamor_font.c glamor: Add glamor_program based poly_text and image_text 2014-04-03 13:07:52 -07:00
glamor_font.h glamor: Add glamor_program based poly_text and image_text 2014-04-03 13:07:52 -07:00
glamor_getimage.c glamor: Drop duplicated lines for getting pixmap state in GetImage. 2014-03-17 14:30:49 -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: Use glamor_program for glamor_glyphblt 2014-04-03 13:07:52 -07:00
glamor_glyphs.c glamor: Get testing code using small FBOs working again 2014-03-26 12:58:40 -07:00
glamor_gradient.c glamor: Remove unneeded unbindings. 2014-03-26 12:58:40 -07:00
glamor_largepixmap.c glamor: Get testing code using small FBOs working again 2014-03-26 12:58:40 -07: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: Bail from composite when pixmap cannot be uploaded 2014-04-03 13:07:51 -07:00
glamor_points.c glamor: glamor_poly_point_nf cannot fail for non-DDX pixmaps 2014-04-03 13:07:50 -07:00
glamor_polylines.c glamor: Improve the performance of line fallbacks. 2014-03-17 14:30:57 -07:00
glamor_priv.h Merge remote-tracking branch 'krh/xwayland-for-keithp' 2014-04-03 15:35:01 -07:00
glamor_program.c glamor: Use plain GLSL 1.20 features for fill code. 2014-04-03 13:07:51 -07:00
glamor_program.h glamor: Add infrastructure for generating shaders on the fly 2014-03-26 12:58:40 -07:00
glamor_putimage.c glamor: remove disabled code 2014-03-17 14:30:58 -07:00
glamor_rects.c glamor: Add glamor_program based poly_fill_rect 2014-04-03 13:07:52 -07:00
glamor_render.c glamor: Fix accelerated rendering of GTK's ARGB vs xBGR composites. 2014-04-22 09:59:40 -07:00
glamor_segment.c glamor: Move glamor_poly_segment to separate glamor_segment.c file 2014-03-26 12:58:40 -07:00
glamor_spans.c glamor: Add glamor_program based fill/set/get spans 2014-04-03 13:07:51 -07:00
glamor_text.c glamor: Add glamor_program based poly_text and image_text 2014-04-03 13:07:52 -07:00
glamor_tile.c glamor: don't reset the GLSL program 2014-03-17 14:30:58 -07:00
glamor_transfer.c glamor: Add simple upload/download functions in glamor_transfer 2014-04-03 13:07:51 -07:00
glamor_transfer.h glamor: Add simple upload/download functions in glamor_transfer 2014-04-03 13:07:51 -07:00
glamor_transform.c glamor: Add infrastructure for generating shaders on the fly 2014-03-26 12:58:40 -07:00
glamor_transform.h glamor: Add infrastructure for generating shaders on the fly 2014-03-26 12:58:40 -07:00
glamor_trapezoid.c glamor: Always keep GL_ELEMENT_ARRAY_BUFFER bound to the same IB. 2014-03-26 12:58:40 -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: Select VBO path by ARB_mbr extension. 2014-03-26 12:58:40 -07:00
glamor_window.c glamor: Apply x-indent.sh. 2014-01-27 09:30:47 -08:00
glamor_xv.c glamor: Initialize XV shaders from glamor_xv_init instead of glamor_init 2014-04-03 13:07:51 -07:00
glamor.c Merge remote-tracking branch 'krh/xwayland-for-keithp' 2014-04-03 15:35:01 -07:00
glamor.h Merge remote-tracking branch 'krh/xwayland-for-keithp' 2014-04-03 15:35:01 -07:00
Makefile.am glamor: Add remaining header files to SOURCES 2014-04-21 15:25:40 -07:00