[Mesa-dev] [PATCH 2/3] (gles3) intel: Expose support for DRI_API_GLES3
Ian Romanick
idr at freedesktop.org
Tue Nov 20 17:45:13 PST 2012
On 11/20/2012 05:31 PM, Chad Versace wrote:
> Set the GLES3 bit in intel_screen's bitmask of supported DRI API's.
> Neither the EGL nor GLX layer uses the bit yet.
>
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
> ---
> src/mesa/drivers/dri/intel/intel_screen.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
> index 0194804..411dff8 100644
> --- a/src/mesa/drivers/dri/intel/intel_screen.c
> +++ b/src/mesa/drivers/dri/intel/intel_screen.c
> @@ -1121,6 +1121,7 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
> #endif
> #if FEATURE_ES2
> api_mask |= (1 << __DRI_API_GLES2);
> + api_mask |= (1 << __DRI_API_GLES3);
If we expose this bit, there is a reasonable expectation that an
application can create an ES 3.0 context. However, due to other
factors, this may not be possible. Should we conditionally set this bit?
> #endif
>
> if (IS_9XX(intelScreen->deviceID) || IS_965(intelScreen->deviceID))
>
More information about the mesa-dev
mailing list