Robert Ellison
a1fb565ea7
egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to work correctly with GLES1 and GLES2.
...
- egl_xdri.c just sets the EGL_OPENGL_ES_BIT as well as the
EGL_OPENGL_BIT in ClientAPIsMask
- eglconfig.c allows the renderable type to include EGL_OPENGL_ES2_BIT
as well as EGL_OPENGL_ES_BIT.
- egl_xlib.c sets the EGL_NATIVE_RENDERABLE attribute to EGL_FALSE for
all softpipe configurations. (Otherwise, an eglChooseConfig() that
looks for particular values of EGL_NATIVE_RENDERABLE will fail.)
2008-06-27 07:17:02 -06:00
Brian Paul
8a75d10953
egl: added null ptr check
2008-06-20 10:20:06 -06:00
Brian Paul
97035cb19a
egl: in _eglAddConfig() just save a pointer to the config; don't copy the config
...
This allows subclassing by drivers.
2008-06-04 11:36:59 -06:00
Brian Paul
a772bbb16e
Move some config-related utility functions into new eglconfigutil.c file.
2008-05-27 16:57:49 -06:00
Brian Paul
6052af172f
minor overhaul/re-org of driver selection/loading code
2008-05-27 16:48:23 -06:00
Brian Paul
721ba15bf4
added _eglGet*Handle() functions
...
These are the inverse of the _eglLookup*() functions.
Returns the public handle for a private surface/config/display/etc.
Removes glapi.c's direct access of private fields.
2008-05-27 14:33:54 -06:00
Brian Paul
1ed1027e88
assorted changes to compile with new EGL 1.4 headers (untested)
2008-05-27 13:45:41 -06:00
Brian Paul
b2006a40eb
some initial EGL 1.2 work
2006-01-30 00:10:55 +00:00
Brian Paul
6002d2ff4e
implement config sorting for eglChooseConfig()
2005-12-10 17:51:13 +00:00
Brian Paul
d548bf41d3
Redo _eglInitSurface() so it can be used with all surface types.
...
Redo _eglInitContext() to do error checking, attribute list parsing, etc.
2005-11-27 23:57:19 +00:00
Brian Paul
b1abf1ea8e
change error test in _eglParseConfigAttribs()
2005-11-24 03:48:19 +00:00
Brian Paul
ff707ead2b
init attribs to EGL_DONT_CARE in _eglParseConfigAttribs()
2005-11-24 03:41:56 +00:00
Brian Paul
b711eb793b
use _eglLog()
2005-11-23 01:38:12 +00:00
Brian Paul
d2ab4eb2c2
remove glmode stuff
2005-05-17 13:21:12 +00:00
Brian Paul
4c80f8df46
more work on _eglConfigToContextModesRec()
2005-05-17 02:13:00 +00:00
Jon Smirl
d06da50888
Fix several internal problems with generating the list of configs.
2005-05-17 00:59:13 +00:00
Brian Paul
6493bd07a7
restore _eglSetConfigAttrib (for now), added prototype _eglConfigToContextModesRec()
2005-05-16 02:14:50 +00:00
Brian Paul
5873faf39b
make _eglSetConfigAtrib() a static function, and rename it
2005-05-16 00:45:03 +00:00
Jon Smirl
45472672a2
A few egl patches needed for glitz, mainly config BITS
2005-05-15 04:00:59 +00:00
Jon Smirl
7012d01d88
First attempt at getting egl support up on dumb framebuffer.
...
Seems to be mostly working. Not all of egl API is implemented.
2005-05-13 18:31:35 +00:00
Brian Paul
c22990c29a
sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)
2005-05-04 03:33:21 +00:00
Brian Paul
adbff7e977
initial EGL code
2005-04-22 21:09:39 +00:00