f171571bfc897921cee63cbba3b71fd9b64174c9 |
|
20-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
egl: Implement front-end support for EGL_EXT_create_context_robustness Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/egl/main/egldisplay.h
|
63beb3df98147f34fd0965cb0afbb97444206d0c |
|
19-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
egl: Implement front-end support for EGL_KHR_create_context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/egl/main/egldisplay.h
|
b50703aea55450e04bcd8154335774786e0f253b |
|
18-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
egl: Replace KHR_surfaceless_* extensions with KHR_surfaceless_context KHR extension name is reserved for Khronos ratified extensions, and there is no such thing as EGL_KHR_surfaceless_{gles1,gles2,opengl}. Replace these three extensions with EGL_KHR_surfaceless_context since that extension actually exists. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
7d46b45c5bd7d1ab3e32a2722ca65061ca80dc34 |
|
14-Dec-2011 |
Fredrik Höglund <fredrik@kde.org> |
egl: add EGL_NV_post_sub_buffer v2: Handle EGL_POST_SUB_BUFFER_SUPPORTED_NV in _eglParseSurfaceAttribList() Signed-off-by: Fredrik Höglund <fredrik@kde.org> [olv: remove #ifdef checks]
/external/mesa3d/src/egl/main/egldisplay.h
|
ed1ff2acec2cdfe3eace9f4caa6cfe5e0f175534 |
|
20-Dec-2011 |
Chia-I Wu <olv@lunarg.com> |
egl: remove EGL_ANDROID_swap_rectangle We never support this unofficial extension, and it has been removed from Android recently. There is no point in keeping it.
/external/mesa3d/src/egl/main/egldisplay.h
|
5eca41665bbd6deb5ffff011e47ff0cec41916da |
|
20-Sep-2011 |
Chia-I Wu <olv@lunarg.com> |
egl: add null platform The null platform has no window or pixmap surface (but pbuffer surface). And the only valid display is EGL_DEFAULT_DISPLAY. It is useful for offscreen rendering. It works everywhere becase no window system is required.
/external/mesa3d/src/egl/main/egldisplay.h
|
00b365bc78c131bfd1c19bb22ac55e36f4e8f3c5 |
|
01-Oct-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: add Android-specific extensions Add EGL_ANDROID_image_native_buffer and EGL_ANDROID_swap_rectangle. There is no spec for them though. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/egl/main/egldisplay.h
|
b0945c14dff96eb894c4a8b52a4c1374a05e2f6c |
|
11-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: add _EGL_PLATFORM_ANDROID This is Android Gingerbread platform. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/egl/main/egldisplay.h
|
85fe9484945cb57ffd49df248b0e5057eba6af04 |
|
09-Aug-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
egl: Native Display autodetection EGL doesnt define howto manage different native platforms. So mesa has a builtime configurable default platform, whith non-standard envvar (EGL_PLATFORM) overwrites. This caused unneeded bugreports, when EGL_PLATFORM was forgotten. Detection is grouped into basic types of NativeDisplays (which itself needs to be detected). The final decision is based on characteristcs of these basic types: File Desciptor based platforms (fbdev): - fstat(2) to check for being a fd that belongs to a character device - check kernel subsystem (todo) Pointer to structuctures (x11, wayland, drm/gbm): - mincore(2) to check whether its valid pointer to some memory. - magic elements (e.g. pointers to exported symbols): o wayland display stores interface type pointer (first elm.) o gbm stores pointer to its constructor (first elm.) o x11 as a fallback (FIXME?) Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/egl/main/egldisplay.h
|
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/main/egldisplay.h
|
6b369c4c7cd8a52f99bbff2a57fb316b33a87495 |
|
21-Feb-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
egl: Add EGL_WL_bind_wayland_display
/external/mesa3d/src/egl/main/egldisplay.h
|
e586c4b7634f856a350f029709adc8a32271562c |
|
04-Feb-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
egl: Add wayland platform
/external/mesa3d/src/egl/main/egldisplay.h
|
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/main/egldisplay.h
|
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/main/egldisplay.h
|
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/main/egldisplay.h
|
dc4f845c37a8446de19036e24fd397a0aa864c02 |
|
23-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Add reference count for resources. This is a really simple mechanism. There is no atomicity and the caller is expected to hold the display lock.
/external/mesa3d/src/egl/main/egldisplay.h
|
4ce33ec606292d92eff5afad6f50e1acc7109729 |
|
22-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Drop dpy argument from the link functions. All display resources are already initialized with a display. Linking simply links a resource to its display.
/external/mesa3d/src/egl/main/egldisplay.h
|
b7a8893a2413adfddf4dc836676a19463fb6ffd7 |
|
04-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
egl: Add EGL_MESA_drm_image extension Create EGLImages from DRM buffer handles.
/external/mesa3d/src/egl/main/egldisplay.h
|
2b2c5c4f5cb4620044eeaa7cc308e696209c7046 |
|
15-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Add support for EGL_KHR_fence_sync. Individual drivers still need to support and enable the extension.
/external/mesa3d/src/egl/main/egldisplay.h
|
4eebea74a81ec5fbacf2347ea88cac137ddd4d69 |
|
14-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Add support for EGL_KHR_reusable_sync. Individual drivers still need to support and enable the extension.
/external/mesa3d/src/egl/main/egldisplay.h
|
b90a3e7d8b1bcd412ddbf2a4803de2756dacd436 |
|
03-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
egl: EGL_KHR_surfaceless_* extensions These extensions allow an application to make a context current by passing EGL_NO_SURFACE for the write and read surface in the call to eglMakeCurrent. The motivation is that applications that only want to render to client API targets (such as OpenGL framebuffer objects) should not need to create a throw-away EGL surface just to get a current context.
/external/mesa3d/src/egl/main/egldisplay.h
|
8b0c6c4a8dc1899d56e52fe3b0a9e1165c30ecae |
|
30-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Store screens in a dynamic array.
/external/mesa3d/src/egl/main/egldisplay.h
|
6717a313f26e42a7864f46f499637462a7cc3d57 |
|
30-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Store configs in a dynamic array.
/external/mesa3d/src/egl/main/egldisplay.h
|
ea05299ce54ea0463626277907cab8e849884740 |
|
17-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
st/egl: One driver per hardware. Merge multiple egl_<platform>_<pipe>.so into a single egl_gallium_<pipe>.so. The environment variable EGL_PLATFORM is now used to modify the return value of _eglGetNativePlatform.
/external/mesa3d/src/egl/main/egldisplay.h
|
78d70ddbbd41d73b7f6040f392eb87758c39dc37 |
|
17-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Add support for EGL_MESA_drm_display. The extension defines eglGetDRMDisplay that creates an EGLDisplay from a DRM fd. Calling eglCreateWindowSurace or eglCreatePixmapSurface with such displays will generate EGL_BAD_NATIVE_WINDOW or EGL_BAD_NATIVE_PIXMAP.
/external/mesa3d/src/egl/main/egldisplay.h
|
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/main/egldisplay.h
|
5dc0f49084f322dd8ff6eb585212eea8b50e3377 |
|
07-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
egl: Implement EGL_NOK_texture_from_pixmap This extension allows a color buffer to be used for both rendering and texturing. EGL allows the use of color buffers of pbuffer drawables for texturing, this extension extends this to allow the use of color buffers of pixmaps too.
/external/mesa3d/src/egl/main/egldisplay.h
|
52c554a79d3ed3104a9f7d112faa9129073b5a25 |
|
07-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
egl: Implement EGL_NOK_swap_region This extension adds a new function which provides an alternative to eglSwapBuffers. eglSwapBuffersRegionNOK accepts two new parameters in addition to those in eglSwapBuffers. The new parameters consist of a pointer to a list of 4-integer blocks defining rectangles (x, y, width, height) and an integer specifying the number of rectangles in the list.
/external/mesa3d/src/egl/main/egldisplay.h
|
7d1237bc71811e95aec142f41599620f0361fafc |
|
22-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Remove unused _EGL_SKIP_HANDLE_CHECK. It was added to skip checking EGLDisplay, EGLSurface, and etc. It is never defined and the spec does not allow the checks to be skipped. Remove it for good.
/external/mesa3d/src/egl/main/egldisplay.h
|
496724b869d4258a64e8343d3ae66d08bfb19f7b |
|
19-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Silence warnings when compiled with -pedantic. Just follow gcc's advices here.
/external/mesa3d/src/egl/main/egldisplay.h
|
db5ce8b3843a03c6f83a02a79f033d7e74784dd5 |
|
17-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Make eglGetDisplay atomic. Merge _eglNewDisplay and _eglLinkDisplay into _eglFindDisplay. Remove unused _eglUnlinkDisplay.
/external/mesa3d/src/egl/main/egldisplay.h
|
99bcb1f06d35a038b9fcf9786938a31b3dba21b7 |
|
17-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
egl: Add a mutex to _EGLDisplay. A display may be shared by multiple threads. Add a mutex for access control.
/external/mesa3d/src/egl/main/egldisplay.h
|
eb961f81d53405ab04e021703228ddb15190d75f |
|
31-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Clean up surface attributes. Add missing attributes and use correct types in _EGLSurface. Remove ifdef tests that serve no purpose. Update _eglQuerySurface and _eglSurfaceAttrib for missing queries and checks.
/external/mesa3d/src/egl/main/egldisplay.h
|
0135e5d6c83add5e539492a4899504e33f3f2434 |
|
31-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Add support for more EGLImage extensions to EGL core. Add support EGL_KHR_vg_parent_image and EGL_KHR_gl_*. This is as simple as adding some flags that can be enabled. Individual drivers need to implement the extensions before enbaling the flags.
/external/mesa3d/src/egl/main/egldisplay.h
|
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/main/egldisplay.h
|
a933259daa98615ad7473c53623a96f612e9a311 |
|
27-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Use a boolean to indicate whether a display is initialized. The driver pointer of the display was used to decide whether a display is initialized. Use a boolean for that purpose allows accessing the driver of an uninitialized display.
/external/mesa3d/src/egl/main/egldisplay.h
|
f65ed0a3097d91289ced44d53786506333122b55 |
|
26-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Use a boolean to indicate whether a resource is linked. An unlinked resource may still be a current resource such as current surfaces. There might still be a need to know which display the unlinked resource belongs to.
/external/mesa3d/src/egl/main/egldisplay.h
|
d21ee93fdb817a96b47b5dd4be925e23c19bb5a7 |
|
26-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Mark _eglCheckResource as PUBLIC. To support extensions such as GL_OES_EGL_image, the drivers need a way to check if a given EGLImageKHR is valid.
/external/mesa3d/src/egl/main/egldisplay.h
|
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/main/egldisplay.h
|
dbb866ab33862defc2749134805bafebf323fd11 |
|
25-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Make resource void pointer in _eglCheckResource. This emphasizes the fact that the resource to be checked could really be invalid and have an unknown type.
/external/mesa3d/src/egl/main/egldisplay.h
|
a1c4a8a3c855d52fbfef10023b9a8f116e163a97 |
|
15-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Add support for EGL_KHR_image. Individual drivers still need to implement the API hooks.
/external/mesa3d/src/egl/main/egldisplay.h
|
56b93a25ea5c573587ac699bf6806fe530f81b2f |
|
24-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove unused casting functions. _eglUIntToPointer and _eglPointerToUInt are no longer used.
/external/mesa3d/src/egl/main/egldisplay.h
|
ecb3b3102a3022e31cf9d75ae099eddbe298517f |
|
24-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Make surfaces and contexts resources. Turn _EGLSurface and _EGLContext into _EGLResource so that they can be managed uniformly.
/external/mesa3d/src/egl/main/egldisplay.h
|
7abf42626fe8552cf898652134f3767e591614ab |
|
24-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Add _EGLResource and _EGLResourceType. Resources are objects managed by a display. They can be linked to or unlinked from a display. It is also possible to check if a resource is valid.
/external/mesa3d/src/egl/main/egldisplay.h
|
b4d2c97a2d2cce92fa638ff74bef7dedf593fd1f |
|
23-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Move surface functions in egldisplay.[ch] to eglsurface.[ch] Move functions to where they should be. There should be no real change here.
/external/mesa3d/src/egl/main/egldisplay.h
|
5e66d1893234b3002d71985c05253321d4cdedc4 |
|
23-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Move context functions in egldisplay.[ch] to eglcontext.[ch]. Move functions to where they should be. There should be no real change here.
/external/mesa3d/src/egl/main/egldisplay.h
|
cf22fd5e5b13ccdb02ba0368ea722ede3bbc6de0 |
|
19-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Improve driver matching. Make drv->Probe return a score so that the matching can be done by finding the driver with the highest score.
/external/mesa3d/src/egl/main/egldisplay.h
|
f0c2871bf4f6fa89339347bb9767bb2c19fda6d0 |
|
19-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove unused driver and display functions. Remove _eglPreloadDriver, _eglLookupDriver, and _eglSplitDisplayString.
/external/mesa3d/src/egl/main/egldisplay.h
|
897cb8950ae14ffe7029b1daf16113ff62ce0dfe |
|
05-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Fix breakage from -fvisibility=hidden. Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
56822b0812cd500bd54bb7c4b573c54547efb657 |
|
25-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Rework config lookup. Make it similiar to how contexts and surfaces are looked up. It should be slightly faster, and work better with multiple displays. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
e1d978775f982a450bd84588a4f9567d6bbccebd |
|
26-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove Xdpy from EGLDisplay. It is not used anymore. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
5a459d58fca2b71cb77c39f98df8a81ce6298421 |
|
21-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove dependency on libX11. libX11 is used to determine the screen number, which is in turned used to determine the DRI driver. However, the sysfs interface for determining the DRI driver is gone, and no working driver depends on this mechanism. Display string parsing is moved to a new function, _eglSplitDisplayString. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
408db29792a2d57409f2604974e4398a3545a38f |
|
19-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Check for null display in handle checking. The display may be NULL when checking a handle. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
e484a929289e859d9f8ef8028af3b0d8dc77b6d6 |
|
14-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Add back handle checking. Handle checking was done using hash tables. Now that they are gone, we have to loop over the lists. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
e3734e46850c3cf9a80df32bacae92593a416c14 |
|
14-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Make lookup functions static inline. progs/egl/demo3.c is also changed since it uses an internal function. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
38feefdc4eb4a3c7530b9cddea4c55e9ef39aec8 |
|
14-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove hash table for displays. The hash table was used to map a display to a handle. It is simpler to cast directly. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
7a9f52800932c02f5b425158b4978d0c1d2f4fd3 |
|
14-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove hash table for surfaces. The hash table was used to map a surface to a handle. It is simpler to cast directly. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
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/main/egldisplay.h
|
0eaa02c836821556c1e8d0141f49f57e23f2548d |
|
13-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Change the way drivers are loaded. Driver is chosen and preloaded when eglGetDisplay is called. Later when eglInitialize is called, the same driver is matched to initialize the display. Also, add new, but unused, hooks to EGLDriver to allow a driver to probe a display or unload itself. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
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/main/egldisplay.h
|
621801abd287238f9a3209554bc84fec5d2e9ccd |
|
10-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Make display and surface hash tables local. Move display and surface hash tables to egldisplay.c, and have them initialized on demand. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
dc516d6e2afe7f157dbe5aad1288e5624b27e093 |
|
31-Jul-2009 |
Chia-Wu <olvaffe@gmail.com> |
egl: Silence warnings on x86-64. Casting an unsigned int to or from a pointer directly gives warnings on x86-64. Add wrappers to silence the warnings. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
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/main/egldisplay.h
|
3f7e0d5302ed0fadd794a41af6e476d2c408adc7 |
|
17-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Destroy display's resources upon termination. eglTerminate should destroy the contexts and surfaces of the display. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
be9d1ab171b1b29108c781af84dd500707a12925 |
|
17-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Return the same EGL Display for the same native display. The latest revision of the spec explicitly requires the same handle to be returned for the same native display. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
18457cb263e3e062e12314e7b3d5c81a7f2ba048 |
|
17-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Add funtions to link contexts and surfaces to displays. EGL contexts and surfaces are resources of displays. They should be managed by displays. This commit adds a bunch of functions to egldisplay.c to help establish the links between contexts/surfaces and displays. How links are established is considered opaque outside display. Functions like _eglGetSurfaceHandle or _eglLookupSurface are therefore moved to egldisplay.c, with some small modifications. The idea is also extended to display. That is, displays need to link to themselves to be looked up. This commit only adds the functions. A commit to use them should follow. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
75da80b29556e6dbbba21e5297ca440e475f65cb |
|
17-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Support per-thread info. This commit introduces a "current" system to manage per-thread info. It uses TLS, if GLX_USE_TLS is defined, or pthread, if PTHREADS is defined. If none of them are defined, it uses a dummy implementation that is just like before. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldisplay.h
|
97035cb19aaf508aad45446651a80da9af1d0e8c |
|
04-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
egl: in _eglAddConfig() just save a pointer to the config; don't copy the config This allows subclassing by drivers.
/external/mesa3d/src/egl/main/egldisplay.h
|
0c8908c411c434eda318b41b4f2a370a1e794831 |
|
28-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
egl: added args string to _eglMain()
/external/mesa3d/src/egl/main/egldisplay.h
|
6052af172f0241e6678cd16efac0a0f14f40146c |
|
28-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor overhaul/re-org of driver selection/loading code
/external/mesa3d/src/egl/main/egldisplay.h
|
721ba15bf4596b2e9589e7656005b387724875c3 |
|
27-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
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.
/external/mesa3d/src/egl/main/egldisplay.h
|
7012d01d888d482f2c6ad1180231a482026d213a |
|
13-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
First attempt at getting egl support up on dumb framebuffer. Seems to be mostly working. Not all of egl API is implemented.
/external/mesa3d/src/egl/main/egldisplay.h
|
c22990c29a5cdff89e6e3914aa565acc88a6a407 |
|
04-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)
/external/mesa3d/src/egl/main/egldisplay.h
|
adbff7e977c7c768e752a24fb643d68bdf961bfe |
|
22-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial EGL code
/external/mesa3d/src/egl/main/egldisplay.h
|