diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-10-27 00:18:46 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-10-29 09:22:28 -0700 |
commit | 52df64af6a57d7fabc87afc4685588a2875a83d0 (patch) | |
tree | b682af740a78e4301db3fb5a289b9188d6cf260e /include | |
parent | e8cdc409d75d8908973316a9e9826781918cfdf7 (diff) |
waffle: Support OpenGL ES3
- Add enum WAFFLE_CONTEXT_OPENGL_ES3.
- Extend wcore_config_attrs_parse() for ES3.
- GLX, CGL:
- Reject ES3 from display_supports_api().
- Reject ES3 configs and contexts.
- EGL:
- Extend display_supports_api() for ES3.
- Extend config and context creation for ES3.
Note: I have access to no driver that supports OpenGL ES3. Once Mesa's
Intel driver acquires ES3 support, I will test this patch against it.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/waffle/waffle_enum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/waffle/waffle_enum.h b/include/waffle/waffle_enum.h index df87e0e..0437d64 100644 --- a/include/waffle/waffle_enum.h +++ b/include/waffle/waffle_enum.h @@ -65,6 +65,7 @@ enum waffle_enum { WAFFLE_CONTEXT_OPENGL = 0x020b, WAFFLE_CONTEXT_OPENGL_ES1 = 0x020c, WAFFLE_CONTEXT_OPENGL_ES2 = 0x020d, + WAFFLE_CONTEXT_OPENGL_ES3 = 0x0214, WAFFLE_CONTEXT_MAJOR_VERSION = 0x020e, WAFFLE_CONTEXT_MINOR_VERSION = 0x020f, |