projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb748b
)
st/egl: set EGL_ALPHA_MASK_SIZE
author
Chia-I Wu
<olv@lunarg.com>
Wed, 8 Jun 2011 16:23:16 +0000
(
00:23
+0800)
committer
Chia-I Wu
<olv@lunarg.com>
Wed, 8 Jun 2011 16:23:24 +0000
(
00:23
+0800)
src/gallium/state_trackers/egl/common/egl_g3d.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/egl/common/egl_g3d.c
b/src/gallium/state_trackers/egl/common/egl_g3d.c
index 4bd865638a377ca8a10cbc49a0cdcb62de57a8d6..29dbbefbf481c74f866c9ad64a1bc017cf965317 100644
(file)
--- a/
src/gallium/state_trackers/egl/common/egl_g3d.c
+++ b/
src/gallium/state_trackers/egl/common/egl_g3d.c
@@
-259,6
+259,10
@@
init_config_attributes(_EGLConfig *conf, const struct native_config *nconf,
conf->DepthSize = depth_stencil[0];
conf->StencilSize = depth_stencil[1];
+ /* st/vega will allocate the mask on demand */
+ if (api_mask & EGL_OPENVG_BIT)
+ conf->AlphaMaskSize = 8;
+
conf->SurfaceType = surface_type;
conf->NativeRenderable = EGL_TRUE;