Age | Commit message (Collapse) | Author |
|
|
|
Update the warranty disclaimer to use the more general "THE AUTHORS OR
COPYRIGHT HOLDERS". This is done manually on files created by me. Hope
that I do not miss anything.
|
|
The hack was added because GL_OES_EGL_image was not exported in the
extension string.
|
|
EGL requires eglSwapBuffers to be called on the current surface.
|
|
This brings the demos also to KMS and removes about 400 duplicated lines
of code.
|
|
The demo uses a Pixmap as its drawing area, and whatever is drawn on the
pixmap will be used as a texture to draw a cube.
|
|
|
|
This moves eglut before EGL so that the symbols can be resolved.
|
|
|
|
As gears in the last demo under "screen" subdirectory, this also removes
the directory.
|
|
This also removes EGL_MESA_screen_surface version of ES1 tri as eglut
supports the extension.
|
|
With the switch to eglut, xegl_tri supports both X11 and
EGL_MESA_screen_surface. Have it replace egltri.
|
|
|
|
|
|
eglut is a simple library with GLUT-like API. It is intended to be used
by simple EGL demos.
|
|
That is, move
progs/openvg/demos to progs/egl/openvg,
progs/openvg/trivial to progs/egl/openvg/trivial.
|
|
Move
progs/es1/xegl -> progs/egl/opengles1,
progs/es1/screen -> progs/egl/opengles1/screen,
progs/es2/xegl -> progs/egl/opengles2.
|
|
Move the demos to "opengl" subdirectory.
|
|
This should hopefully fix a build failure reported by Chris Ball when
binutils-gold is used.
|
|
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
|
|
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
|
|
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
|
|
Still a mess...
|
|
|
|
These are now in gl.h.
|
|
|
|
Signed-off-by: Ray Kohler <ataraxia937@gmail.com>
|
|
This may not make a lot of sense for non-X EGL, but for EGL under X
it's very useful.
|
|
|
|
Add config caveat, bind-to-texture, and renderable type. Remove double
buffer and stereo attributes.
|
|
It is ported from progs/egl/xeglbindtex.c. With the OpenGL ES port, the
OpenGL version is removed.
|
|
This reverts commit fe33b7083b0081b91ee338acbe966400c6b9a7b9. It was
not supposed to be pushed yet.
|
|
|
|
X Display was wrongly passed to eglCopyBuffers.
|
|
Set the screen surface size to the mode size, as the spec requires the
screen surface size to be larger than the mode size. Besides, bind the
API to OpenGL as they are written in it.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
It should be called after eglMakeCurrent.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
A successful eglChooseConfig call does not imply there are valid
configs.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
The default value of EGL_RENDERABLE_TYPE is EGL_OPENGL_ES_BIT. The
proper values should be specified if we are not using OpenGL ES.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
|
|
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
|
|
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
The variable "configs" in main() is used without initialization.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
Since 5a459d58fca2b71cb77c39f98df8a81ce6298421, libEGL no longer links
to libX11. Add the dependency to affected progs and cleanup
prog/egl/Makefile.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
|
|
progs/egl/demo3.c is also changed since it uses an internal function.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|