mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
intel: Expose support for DRI_API_GLES3
If the hardware/driver combo supports GLES3, then 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@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
e90c08e667
commit
26f9faa04b
1 changed files with 2 additions and 0 deletions
|
|
@ -1199,6 +1199,8 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
|
|||
psp->api_mask |= (1 << __DRI_API_GLES);
|
||||
if (intelScreen->max_gl_es2_version > 0)
|
||||
psp->api_mask |= (1 << __DRI_API_GLES2);
|
||||
if (intelScreen->max_gl_es2_version >= 30)
|
||||
psp->api_mask |= (1 << __DRI_API_GLES3);
|
||||
|
||||
psp->extensions = intelScreenExtensions;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue