xserver-multidpi/glamor
Keith Packard 82f91433e2 glamor: Get testing code using small FBOs working again
Glamor has a mode where pixmaps will be constructed from numerous
small FBOs. This allows testing of the tiled pixmap code without
needing to create huge pixmaps.

However, the render glyph code assumed that it could create a pixmap
large enough for the glyph atlas. Instead of attempting to fix that
(which would be disruptive and not helpful), I've added a new pixmap
creation usage, GLAMOR_CREATE_NO_LARGE which forces allocation of a
single large FBO.

Now that we have pixmaps with varying FBO sizes, I then went around
and fixed the few places using the global FBO max size and replaced
that with the per-pixmap FBO tiling sizes, which were already present
in each large pixmap.

Xephyr has been changed to pass GLAMOR_CREATE_NO_LARGE when it creates
the screen pixmap as it doesn't want to deal with tiling either.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
2014-03-26 12:58: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 glamor: Use epoxy_gl_version() instead of rolling our own. 2014-03-26 12:58:39 -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: Get testing code using small FBOs working again 2014-03-26 12:58:40 -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_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: don't reset the GLSL program 2014-03-17 14:30:58 -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: Get testing code using small FBOs working again 2014-03-26 12:58:40 -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: Get testing code using small FBOs working again 2014-03-26 12:58:40 -07:00
glamor_putimage.c glamor: remove disabled code 2014-03-17 14:30:58 -07:00
glamor_render.c glamor: Drop feature dependent optimization on startup. 2014-03-26 12:58:40 -07:00
glamor_setspans.c glamor: Fix ignoring the ALU during SetSpans(). 2014-03-17 14:30:57 -07:00
glamor_tile.c glamor: don't reset the GLSL program 2014-03-17 14:30:58 -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: don't reset the GLSL program 2014-03-17 14:30:58 -07:00
glamor.c glamor: Get testing code using small FBOs working again 2014-03-26 12:58:40 -07:00
glamor.h glamor: Get testing code using small FBOs working again 2014-03-26 12:58:40 -07:00
Makefile.am glamor: Extract the streamed vertex data code used by Render. 2014-03-10 13:57:21 -07:00