Commit Graph

127 Commits

Author SHA1 Message Date
Brian Paul e3b13dba4d egl: link libEGL w/ additional libs 2008-07-09 15:49:59 -06:00
Brian Paul 70b0a949b0 egl: misc updates/fixes
Set surface size when created.
Implement dri_find_dri_screen().
Look for "egl_xxx_dri.so" library before regular DRI driver.
2008-07-09 15:47:27 -06:00
Brian Paul de71e4741d egl: bump up MAX_ATTRIBS, added assertion 2008-07-07 14:34:30 -06:00
Jakob Bornecrantz 28f3d390dd egl: Fix demodriver 2008-07-03 12:10:36 +02:00
Brian Paul 8f91a83669 egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertions 2008-06-28 16:03:28 -06:00
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
Jakob Bornecrantz 72edcd1711 egl: Stdint was missing from eglconfigutil.h 2008-06-24 14:32:53 +02:00
José Fonseca 0d94767430 egl: Use standard integer types. 2008-06-24 13:55:38 +09:00
Brian Paul 677151ad71 egl: added null ptr check 2008-06-20 14:28:59 -06:00
Brian Paul fbd6e86b8f egl: implment EGL_LARGEST_PBUFFER query 2008-06-20 10:20:25 -06:00
Brian Paul 8a75d10953 egl: added null ptr check 2008-06-20 10:20:06 -06:00
Brian Paul cae4444fa1 egl: default API should be ES 2008-06-20 10:19:51 -06:00
Brian Paul 9f6a4e2a65 egl: fix assorted context-related bugs
Move memset() to proper place.
Added EGL_CONTEXT_CLIENT_VERSION query.
Fix bad return EGL_FALSE -> EGL_TRUE.
2008-06-19 21:19:33 -06:00
Brian Paul a8533d5493 egl: clean up prototype code, new _eglFindAPIs() function. 2008-06-19 16:26:20 -06:00
Brian Paul a668b43568 egl: use RTLD_LAZY 2008-06-18 09:22:01 -06:00
Brian Paul be16f04e76 egl: added a debug msg 2008-06-13 13:58:08 -06:00
Brian Paul f61923441f egl: some basic docs for libEGL 2008-06-11 19:35:52 -06:00
Brian Paul 6b389b5c2f egl: some prototype Windows code (eq for dlopen,dlsym) 2008-06-11 19:35:32 -06:00
Brian Paul e9b6ed395a egl: only windows are renderable at this time 2008-06-10 16:14:35 -06:00
Brian Paul b9c5b0bc4b egl: some prototype API detection code 2008-06-10 16:14:09 -06:00
Brian Paul 6420a62cf0 egl: s/softpipe_egl.so/egl_softpipe.so/ 2008-06-09 12:28:07 -06:00
Brian Paul 50d59c8be1 egl: choose between DRI and softpipe drivers 2008-06-09 12:28:07 -06:00
Brian Paul f374734d61 egl: improved Makefile 2008-06-06 15:59:54 -06:00
Brian Paul 8dafe470fc egl: EGL->DRI adaptor/driver
Allows regular DRI drivers to work with libEGL.
2008-06-06 15:52:47 -06:00
Brian Paul 47ddcd2a71 egl: make _eglChooseDRMDriver() non-static 2008-06-06 15:52:47 -06:00
Brian Paul f6e030f531 egl: change default logging level to _EGL_WARNING 2008-06-06 15:52:47 -06:00
Brian Paul 3b28aab161 egl: updated SUBDIRS 2008-06-05 14:11:54 -06:00
Brian Paul d5cf57de2d egl: new src/egl/drivers/Makefile 2008-06-05 14:11:39 -06:00
Brian Paul f6bb2f87b9 egl: minor tweaks 2008-06-05 12:01:33 -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 19ca6ce573 egl: updated include paths (s/GLES/EGL/) 2008-06-04 10:09:49 -06:00
Brian Paul e3805cad0d egl: new eglGetProcAddress() code
The idea is to pass the call down to the device driver where an API-specific
query can be made.  Untested.
2008-05-30 14:50:33 -06:00
Brian Paul d5078b9432 egl: clean-up re-org of the client API state 2008-05-30 13:45:40 -06:00
Brian Paul 834aa8cfbc egl: check for EGL_DRIVER env var to override normal driver selection process 2008-05-30 11:47:09 -06:00
Brian Paul 274dd381a3 egl: fix width/height tests 2008-05-30 11:47:08 -06:00
Brian Paul d0de5a2daf link libEGL with Xlib 2008-05-30 11:47:08 -06:00
Brian Paul 1c73b4ba86 egl: added Name field to _EGLDriver so a driver name string can propogate up through EGL_VERSION string 2008-05-29 17:04:24 -06:00
Brian Paul d1a0faffc3 egl: use softpipe_egl driver by default 2008-05-29 17:04:24 -06:00
Brian Paul 31e70fa275 comments in _eglMain() 2008-05-29 17:04:24 -06:00
Brian Paul f751371028 egl: re-enable LOCAL_CFLAGS 2008-05-28 16:48:35 -06:00
Brian Paul 260ac3c983 egl: remove unused Display field 2008-05-28 16:08:50 -06:00
Brian Paul 11a261ef4f egl: move a few small functions into new eglmisc.[ch] files 2008-05-28 15:50:58 -06:00
Brian Paul c56e15b093 egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize() 2008-05-28 15:43:41 -06:00
Brian Paul e084fe54f9 egl: include egldefines.h 2008-05-28 15:22:17 -06:00
Brian Paul cf3c7d74cc egl: added egldefines.h 2008-05-28 15:21:52 -06:00
Brian Paul 9843c6420d egl: bring card->driver lookup code into egldriver.c 2008-05-28 14:51:40 -06:00
Brian Paul aa6e350bed egl: pass args to _eglOpenDriver() 2008-05-28 13:03:59 -06:00
Brian Paul 0c8908c411 egl: added args string to _eglMain() 2008-05-28 12:56:36 -06:00
Brian Paul e94d383b9b egl: added eglstring.[ch] 2008-05-28 12:54:33 -06:00
Brian Paul 17ec3b3cc5 prototype new code to map card number to driver name 2008-05-28 11:45:50 -06:00