diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-02-17 21:08:49 +0000 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-03-01 16:05:35 +0000 |
commit | 3f37f23d17734e8a49809859df58354ed9c00a2d (patch) | |
tree | bdbd800b72ff18cc548b94bee1dbf6a1e2ba226e /src/gallium/state_trackers/xorg/xorg_crtc.c | |
parent | b2e94d05c9602e2814a513a51eed67d014b338f3 (diff) | |
download | external_mesa3d-3f37f23d17734e8a49809859df58354ed9c00a2d.zip external_mesa3d-3f37f23d17734e8a49809859df58354ed9c00a2d.tar.gz external_mesa3d-3f37f23d17734e8a49809859df58354ed9c00a2d.tar.bz2 |
gallium: Reorg texture usage flags
Introduce a new shared usage and rename primary to scanout.
The display target usage is more of a windows concept and
doesn't mean the same thing as shared. Display target means
that the surface should be presentable, for softpipe this
means that it should be backed by a hardware buffer.
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_crtc.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_crtc.c b/src/gallium/state_trackers/xorg/xorg_crtc.c index 4a77f54..8f6426b 100644 --- a/src/gallium/state_trackers/xorg/xorg_crtc.c +++ b/src/gallium/state_trackers/xorg/xorg_crtc.c @@ -201,7 +201,7 @@ crtc_load_cursor_argb_ga3d(xf86CrtcPtr crtc, CARD32 * image) memset(&templat, 0, sizeof(templat)); templat.tex_usage |= PIPE_TEXTURE_USAGE_RENDER_TARGET; - templat.tex_usage |= PIPE_TEXTURE_USAGE_PRIMARY; + templat.tex_usage |= PIPE_TEXTURE_USAGE_SCANOUT; templat.target = PIPE_TEXTURE_2D; templat.last_level = 0; templat.depth0 = 1; |