summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/vega/vg_context.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-06-23 16:14:49 +0800
committerChia-I Wu <olv@lunarg.com>2010-06-29 17:16:19 +0800
commit982aba97c581bab0ff55dc9cae4164ab30dfbeae (patch)
tree8ce0237fb9336859616ab43a05c82135ae22048c /src/gallium/state_trackers/vega/vg_context.h
parentda7bd6a90e1fee5c16327338fd251c0f6be34e36 (diff)
st_api: Remove st_context::is_visual_supported.
The callback is used by st/vega to check if a visual specifies the depth/stencil format. It forces st/vega to be loaded by st/egl to perform the check. As noted in EGL spec, the depth/stencil format of a visual should not affect OpenVG. It should be better to ignore the field and always allocate the depth/stencil texture.
Diffstat (limited to 'src/gallium/state_trackers/vega/vg_context.h')
-rw-r--r--src/gallium/state_trackers/vega/vg_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/vg_context.h b/src/gallium/state_trackers/vega/vg_context.h
index 7b59ad512a..80a6c07c69 100644
--- a/src/gallium/state_trackers/vega/vg_context.h
+++ b/src/gallium/state_trackers/vega/vg_context.h
@@ -94,6 +94,7 @@ struct vg_context
struct mapi_table *dispatch;
struct pipe_context *pipe;
+ enum pipe_format ds_format;
struct {
struct vg_state vg;