projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6c9401
)
st/xorg: If we have DRI2 we should also have some sort of hw support
author
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 5 Aug 2009 23:01:18 +0000
(
00:01
+0100)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 5 Aug 2009 23:52:13 +0000
(
00:52
+0100)
src/gallium/state_trackers/xorg/xorg_dri2.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_dri2.c
b/src/gallium/state_trackers/xorg/xorg_dri2.c
index 49a63def71e7b4c57262aad4a48334769cd8c241..301e5214e34497b1ac7754c693d18062dfada4ee 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_dri2.c
+++ b/
src/gallium/state_trackers/xorg/xorg_dri2.c
@@
-178,7
+178,7
@@
driCopyRegion(DrawablePtr pDraw, RegionPtr pRegion,
ms->screen->get_tex_surface(ms->screen, src_priv->tex, 0, 0, 0,
PIPE_BUFFER_USAGE_GPU_READ);
-#if
0
+#if
1
ms->ctx->surface_copy(ms->ctx, dst_surf, 0, 0, src_surf,
0, 0, pDraw->width, pDraw->height);
#else