9f0f00c319a18ec2e9f022482fa11990e682c1d7 |
|
05-Feb-2012 |
Eric Anholt <eric@anholt.net> |
egl: Drop _EGL_MAIN entrypoint obfuscation. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
b7a69cbb71304609245be43fa739c50969017ab8 |
|
03-Dec-2011 |
Chia-I Wu <olv@lunarg.com> |
egl_glx: fix eglDestroyContext Wrong pointers are passed to glXDestroyContext. Spotted by Brian Paul.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
6baa5f10c04641960e0bedce664d0a5cf39e8954 |
|
25-Nov-2011 |
Beren Minor <beren.minor@gmail.com> |
egl_glx: Try first a default lookup for glXGetProcAddress before loading dynamic lib. GLX functions are sometimes directly available in the current binary. In such cases, we do not need any alternate library loaded using dlopen. Otherwise, dlopen may find the wrong libGL library and get functions that conflicts with the current loaded ones. For example, on Debian Sid with nvidia binary drivers, using mesa's libEGL with GLX driver leads to wrong glXGetFBConfigs symbol loaded (or loaded twice?), which leads to "GLX: failed to create any config" error message as the glXGetFBConfigs symbol seems to return garbage. If the binary is linked with nvidia's libGL, the GLX symbols are already available. Without this patch, convert_fbconfig (src/egl/drivers/glx/egl_glx.c:233) fails for every config found, after glXGetFBConfigAttrib(... GLX_RENDER_TYPE, ...) call, as the value returned has GLX_COLOR_INDEX_BIT and not GLX_RGBA_BIT. [olv: initialize handle, prepend egl_glx to the commit log]
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
75eb92fb28545bd57281e465c1dadf63b38ab55a |
|
18-Sep-2011 |
Matt Turner <mattst88@gmail.com> |
egl_glx.c: use unsigned instead of uint We've had a hack to fix this in Gentoo on Solaris for a while. Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
f5e757ea60d9abb848d98af01e1986be3e35e236 |
|
14-Aug-2011 |
Cooper Yuan <cooperyuan@gmail.com> |
Destroy context in dri2/glx driver when apps call eglDestroyContext
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
f2001df508fda599a18b3586d2775e970a3db13a |
|
02-Jul-2011 |
Chia-I Wu <olv@lunarg.com> |
egl: add copyright notices The list of copyright holders could be incomplete. Please update directly or notify me if your name is missing.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
a22a332fc7cc54d4d0973dcd21a90159cc51de1a |
|
12-Jan-2011 |
Chia-I Wu <olv@lunarg.com> |
egl: Improve driver selection. The idea is to be able to match a driver using the following order try egl_gallium with hw renderer try egl_dri2 try egl_gallium with sw renderer try egl_glx given the module list egl_gallium egl_dri2 egl_glx For that, UseFallback initialization option is added. The module list is matched twice: with the option unset and with the option set. In the first pass, egl_gallium skips its sw renderer and egl_glx rejects to initialize since UseFallback is not set. In the second pass, egl_gallium skips its hw renderer and egl_dri2 rejects to initialize since UseFallback is set. The process stops at the first driver that initializes the display.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
655e4598927728a663f4cfcd6babdf7e5ad83f77 |
|
12-Jan-2011 |
Chia-I Wu <olv@lunarg.com> |
egl: Simplify driver matching. Add initialization options that drv->API.Initialize should support. Replace drv->Probe by TestOnly initialization option and simplify _eglMatchDriver.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
a4a38dcf61f141297a083ccac217200947d57b0d |
|
13-Jan-2011 |
Chia-I Wu <olv@lunarg.com> |
egl: Cleanup _EGLDisplay initialization. Reorder/rename and document the fields that should be set by the driver during initialization. Drop the major/minor arguments from drv->API.Initialize.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
c98ea26e16b6458b4385d6558936696e4d099455 |
|
07-Jan-2011 |
Chia-I Wu <olv@lunarg.com> |
egl: Make egl_dri2 and egl_glx built-in drivers. These two drivers are small in size. Making them built-in should simplify packaging.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
15f0223931e32ef5ff82b39a2b6c433400edbd9d |
|
07-Jan-2011 |
Chia-I Wu <olv@lunarg.com> |
egl_glx: Load libGL dynamically. This is a step forward for compatibility with really old GLX. But the real reason for making this change now is so that we can make egl_glx a built-in driver without having to link to libGL.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
d19afc57fe49816f3f3290410e0124d326577be2 |
|
22-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Use reference counting to replace IsLinked or IsBound. Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
8a6bdf3979c2dda0efc6771308bf9e5c32bbdab4 |
|
22-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Minor changes to the _EGLConfig interface. Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
ecca5571b6df9a35dc16280b3556f4b11a8493a2 |
|
22-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
egl_glx: Fix borken driver. The driver was broken since 6eda3f311bc24999835003e404d5eda5599bc5de. All configs fail to pass _eglValidateConfig.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
0ed96efc1b77719879868738eb5aa7a234064108 |
|
22-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
egl_glx: Drop the use of [SG]ET_CONFIG_ATTRIB. _EGLConfig can be directly dereferenced now. Since egl_glx is the last user of the macros, drop the macros too.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
e4bd50c232ed9d8c5a8a76a662a29a03d4237593 |
|
24-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
egl: Fix several 'comparison between signed and unsigned integer' warnings I hate GCC for requiring the (int) cast on sizeof.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
66c9ac76ad6b405d75ea099c1c2d3b2ba23f63ce |
|
24-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
egl_glx: Silence piles of 'unused variable' warnings
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
6eda3f311bc24999835003e404d5eda5599bc5de |
|
09-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
eglglx: Convert glx visuals/fbconfigs straight to EGL configs In other words, skip the __GLcontextModes middle man.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
6717a313f26e42a7864f46f499637462a7cc3d57 |
|
30-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Store configs in a dynamic array.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
f22665df95406567193dee0089f4830664ff4101 |
|
17-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Introduce platform displays internally. This commit introduces type-safe platform displays internally. A platform display consists of a generic pointer and an enum that specifies the platform. An EGLDisplay is created from a platform display. Native displays become platform displays whose platform is determined by _eglGetNativePlatform(). Platform windows and pixmaps may also be introduced if needed.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
e6a7ee7fbb7a058bf3c7de965197f19a9bcede8e |
|
14-May-2010 |
Brian Paul <brianp@vmware.com> |
egl: remove duplicate ARRAY_SIZE() macro declaration
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
9a3de505dc5377a47a6ccb29fe60343feb2f5b14 |
|
04-Feb-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Convert drivers to use typecast macros. Use macros to define the standard typecasts. This saves lots of typings.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
216925ccd122a06505dafae425323e3ac858f80e |
|
31-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Initialize display configs with the display. This changes _eglInitConfig to take the display as its argument.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
d69242be55091e53b0ae2cfa6282790ce1862f29 |
|
31-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Initialize display resources with their display. Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an _EGLDisplay instead of an _EGLDriver. This is a more natural form, and plus, the display encodes information such as the extensions supported that might be required for attribute list parsing.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
94cb321b5d246185abf71d89968d472a626f1a23 |
|
29-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Clean up header inclusions. Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
6baa2c8d022e5dd1e305e7da2925c1e6f9370f35 |
|
28-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Migrate drivers to use _eglBindContext. _eglMakeCurrent is a big hammer that is not easy to use. Migrate drivers to use _eglBindContext and un-export _eglMakeCurrent.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
17330479b39409a63a06ec9e6b0f8e28b585db12 |
|
27-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: eglMakeCurrent should accept an uninitialized display. When no context or surface are given, the display is allowed to be uninitialized. Most drivers cannot handle an uninitialized display. But they are updated to at least throw a fatal message.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
4aed0944f4b8b8d14d210cf6bc87ccddfa9a77ec |
|
25-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Native types are renamed in EGL 1.3. Rename Native*Type to EGLNative*Type.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
0e54f9c529c0c015b3d227afff21da1f7b452991 |
|
22-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl_glx: Report only OpenGL support. It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
3e6139d158a054a0dfe8def28bf60201cdb9f385 |
|
12-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Add _EGLDriver as the first argument to GetProcAddress. The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
60cf250d4705d5005399a53ab334fbc10b4bf9c4 |
|
02-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl_glx: Add support for eglWaitClient and eglWaitNative. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
7ffe64a7ae912974f9c2da43dd362cd832e2ba99 |
|
01-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl_glx: Clean up eglGetProcAddress. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
a20643657723094197620976402aeec2f40a84a0 |
|
01-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl_glx: Clean up context functions. This lifts the requirement that a context must be direct. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
c407c7024495b19eec5ce978b611c7359c247f81 |
|
01-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl_glx: Clean up surface functions. Separete Drawable and GLXDrawable. Add support for pbuffer and pixmap surfaces on GLX <= 1.3. Remove surface binding code that will never work. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
78c3a351bc91eed49a07108682013a323d87540e |
|
01-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl_glx: Clean up the initialization code. Proper detection of GLX extensions. Convert fbconfigs or visuals in a more unified way and validate the resulting configs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
f5a06fad62cd43d7854bafa60bbe6f48e8cf90af |
|
26-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl_glx: Make fbconfigs and visuals per display. This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X and obsolete code along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
34d8c13bff05de200dbad70d0798519108e186f2 |
|
14-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove eglhash.c and eglhash.h. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
5a2c9372a0d9fa1efd924f9386a4e3df47c17d0e |
|
13-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Some per-driver data should be per-display. Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
2f2cf461c57974abd89e4917945cc8ae6a67a72e |
|
11-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Overhaul driver API. The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
07ee01365a8bddf6f50821ecd585784498a25ff0 |
|
03-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Replace IsBound by a pointer to the binding. IsBound tells if a context or surface is current. What it does not tell is, to which thread a context is current, or to which context a surface is current. This commit replaces IsBound by a pointer to the binding thread or context. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
15fdbc8361d0b865aea5e2f374b471081ed4214a |
|
17-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove redundant DeletePending flag. A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
cca31340b5a9c0b941946753a31236c7201ca87c |
|
17-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Use the link functions to manage resources. This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
a57d7edf069d1d161a45825021a7cf4d825fb88f |
|
19-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
egl: fix comment
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
9ed03af8c0a8e6af54e827f15778d8b567492c89 |
|
19-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
egl: try harder for eglGetProcAddress()
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
526e8451455d43c815828e7dd319defcd518631f |
|
19-Feb-2009 |
Alan Hourihane <alanh@vmware.com> |
egl: glx updates for FBconfigs
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
44054aca36580440f956f0cbcdd5f31de8e3a7e2 |
|
19-Feb-2009 |
Alan Hourihane <alanh@vmware.com> |
egl: error checking
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
3ef419f4a5d0c5bb6720196ae6cfe3002d4aabc8 |
|
14-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
egl: fix makecurrent with null drawable/context
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
53ce80e7cc466efae349e3a83007345bd299acd6 |
|
23-Dec-2008 |
Alan Hourihane <alanh@vmware.com> |
egl: fix egl closure
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
04ef91af8bf77b483249719ddc02839acd192f42 |
|
23-Dec-2008 |
Alan Hourihane <alanh@vmware.com> |
egl: fix startup query version
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
90039225935a817ee6004dfabc8f5c404affc726 |
|
23-Dec-2008 |
Alan Hourihane <alanh@vmware.com> |
egl: support GLXFBConfigs, pbuffers and pixmaps.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
7eacd11bf1743d47f07c2edd86507172d84b35fc |
|
27-Oct-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
disable OPENGL_BIT
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
bb6a69d1696cacf828a3de21bc57678c0e4aa54a |
|
26-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
egl: cleanup doublebuffer check
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
192f45606a7c388862112b8d53a5983fb125fee3 |
|
26-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
egl: fudge with LIBGL_DRIVERS_PATH to pick up EGL specific DRI driver.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|
8015f3ae3b96d93e8b1338b8254bcbead45bb91a |
|
26-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
egl: Add new EGL driver that wraps GLX.
/external/mesa3d/src/egl/drivers/glx/egl_glx.c
|