From: Chia-I Wu Date: Wed, 8 Jun 2011 16:23:16 +0000 (+0800) Subject: st/egl: set EGL_ALPHA_MASK_SIZE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b492d09767531915aa631bec470af1cf4653a6c;p=mesa.git st/egl: set EGL_ALPHA_MASK_SIZE --- 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;