glamor: Unconditionalize GLAMOR_TEXTURED_LARGE_PIXMAP
Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
1edac5c1ce
commit
2230e6c8af
|
@ -183,9 +183,7 @@ glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth,
|
|||
w <= glamor_priv->glyph_max_dim &&
|
||||
h <= glamor_priv->glyph_max_dim)
|
||||
|| (w == 0 && h == 0)
|
||||
|| !glamor_check_pixmap_fbo_depth(depth))
|
||||
|| (!GLAMOR_TEXTURED_LARGE_PIXMAP &&
|
||||
!glamor_check_fbo_size(glamor_priv, w, h)))
|
||||
|| !glamor_check_pixmap_fbo_depth(depth)))
|
||||
return fbCreatePixmap(screen, w, h, depth, usage);
|
||||
else
|
||||
pixmap = fbCreatePixmap(screen, 0, 0, depth, usage);
|
||||
|
|
|
@ -910,7 +910,6 @@ void glamor_xv_render(glamor_port_private *port_priv);
|
|||
|
||||
#include "glamor_utils.h"
|
||||
|
||||
#define GLAMOR_TEXTURED_LARGE_PIXMAP 1
|
||||
#if 0
|
||||
#define MAX_FBO_SIZE 32 /* For test purpose only. */
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue