Age | Commit message (Collapse) | Author |
|
|
|
Drivers need symbols from libEGL. Without back-linking, the build fails
on Cygwin.
|
|
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.
|
|
|
|
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.
|
|
Don't want to shutdown everything if egl_dri2 fails to initialize.
|
|
Otherwise testing ->Probe for non-NULL and calling it goes boom.
|
|
There are enough EGL modules that they deserve a subdirectory, to avoid
polluting $(TOP)/$(LIB_DIR).
|
|
Move glapi to src/mapi/{glapi,es1api,es2api}.
|
|
Conflicts:
src/mesa/drivers/dri/common/dri_util.h
|
|
|
|
Conflicts:
progs/egl/Makefile
progs/egl/Makefile is gone on master with the egl demos split into
subdirectories. Will require an additional commit.
|
|
eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx
driver and egl programs needs to link to libX11. Make sure we use the
locations the user told us about.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
|
|
|
|
This patch amends the error output string for the case where the
dri2 egl driver could not open the dri dev node.
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
Forgot to set the enabled bit when I implemented the extension.
|
|
DRI does not define any callback to flush the current context. GLX
loader simply calls glFlush. Follow the GLX loader here.
|
|
|
|
|
|
|
|
|
|
Small optimization.
|
|
|
|
|
|
|
|
|
|
|
|
Running pkg-config in Makefiles is bad form, since it doesn't respect the
PKG_CONFIG_PATH value set at ./configure time.
|
|
|
|
|
|
|
|
egl_xdri steals code from src/glx/x11/. This makes it broken from time
to time when there is a bigger change to the GLX code. As egl_dri2 has
been merged, which also functions as a DRI2 driver loader, remove
egl_xdri for good.
|
|
It saves the driver from defining the boring typecasts itself.
|
|
A linked resource is stil owned by the display.
|
|
The subtraction between two pointers has type unsigned int (only on
x86-64?), while the format string expects an int.
|
|
|
|
|
|
|
|
Use macros to define the standard typecasts. This saves lots of
typings.
|
|
This changes _eglInitConfig to take the display as its argument.
|
|
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.
|
|
A context can be bound to a surface just like it can be bound to a
thread. CurrentContext is a more consistent name.
|
|
Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
|
|
_eglMakeCurrent is a big hammer that is not easy to use. Migrate
drivers to use _eglBindContext and un-export _eglMakeCurrent.
|
|
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.
|
|
They have little use in drivers since drivers need to work for multiple
current contexts.
|
|
__glXFindDisplay is no longer static since
7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.
|
|
Rename Native*Type to EGLNative*Type.
|
|
Install EGL drivers to EGL_DRIVER_INSTALL_DIR, which is default to
${libdir}/egl.
|
|
The demo driver has outdated. It is suggested to look at any of the
drivers that is functioning.
|