diff options
author | Chia-I Wu <[email protected]> | 2011-06-09 00:23:16 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-06-09 00:23:24 +0800 |
commit | 6b492d09767531915aa631bec470af1cf4653a6c (patch) | |
tree | 5311d75da6e316af5438693a72c5e2ab3a0fc1e0 /src/gallium/state_trackers/egl/common | |
parent | 4bb748b609288205ddea750550185d7642025bff (diff) |
st/egl: set EGL_ALPHA_MASK_SIZE
Diffstat (limited to 'src/gallium/state_trackers/egl/common')
-rw-r--r-- | src/gallium/state_trackers/egl/common/egl_g3d.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c index 4bd865638a3..29dbbefbf48 100644 --- 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; |