st/xorg: disable solid fills until copies are accelerated as well
authorZack Rusin <zackr@vmware.com>
Wed, 9 Sep 2009 15:35:34 +0000 (11:35 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 10 Sep 2009 21:21:06 +0000 (17:21 -0400)
src/gallium/state_trackers/xorg/xorg_composite.c
src/gallium/state_trackers/xorg/xorg_exa.c

index 778a8a183ea35492f82e60ff5068d9d1c0d6f6dd..dff51f220d12ee509c5a1a551d75541158ec4265 100644 (file)
@@ -656,7 +656,7 @@ boolean xorg_solid_bind_state(struct exa_context *exa,
    cso_set_vertex_shader_handle(exa->cso, shader.vs);
    cso_set_fragment_shader_handle(exa->cso, shader.fs);
 
-   return TRUE;
+   return FALSE;
 }
 
 void xorg_solid(struct exa_context *exa,
index 1eed3d86f7bc4e7a4576cb582c2bfd44aa21b586..458ddb66bb8d2b596bd3107d3212072f58362a12 100644 (file)
@@ -233,8 +233,10 @@ ExaDone(PixmapPtr pPixmap)
        return;
 
     exa->ctx->flush(exa->ctx, PIPE_FLUSH_RENDER_CACHE, &fence);
+#if 0
     exa->ctx->screen->fence_finish(exa->ctx->screen, fence, 0);
     exa->ctx->screen->fence_reference(exa->ctx->screen, &fence, NULL);
+#endif
 
     if (priv->src_surf)
        exa->scrn->tex_surface_destroy(priv->src_surf);