summaryrefslogtreecommitdiff
path: root/progs/egl
AgeCommit message (Collapse)Author
2010-05-05progs/egl: Fix eglut with OpenGL ES 2.0.Chia-I Wu
EGL_OPENGL_ES2_BIT is not set when choosing OpenGL ES 2.0 configs.
2010-05-03progs/egl/opengles2: Add es2gears demoKristian Høgsberg
Because every subdirectory under progs has to have a version of gears.
2010-04-27progs/egl: Add egl/eglut to PROGRAM_DIRS.Chia-I Wu
Make sure eglut is built before the demos. This should work more reliably with make -j<N>.
2010-04-19egl: Fix demos to build with user specified XlibDan Nicholson
Commit 88be2171e7 fixed the egl demos on the stable branch, but now they're spread out across multiple subdirectories. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-04-12progs/egl: Add lib directories to OpenVG demosJakob Bornecrantz
2010-04-10Fix copyright headers.Chia-I Wu
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.
2010-04-06progs/egl: Correctly check GL_OES_EGL_image.Chia-I Wu
The hack was added because GL_OES_EGL_image was not exported in the extension string.
2010-04-06progs/egl: Fix the blank window in pbuffer demo.Chia-I Wu
EGL requires eglSwapBuffers to be called on the current surface.
2010-04-06progs/egl: Port drawtex and torus to eglut.Chia-I Wu
This brings the demos also to KMS and removes about 400 duplicated lines of code.
2010-04-04progs/egl: Add an OpenGL ES demo for EGL_OES_image_pixmap.Chia-I Wu
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.
2010-04-02progs/egl: Update .gitignore.Chia-I Wu
2010-04-02progs/egl: Link to eglut first.Chia-I Wu
This moves eglut before EGL so that the symbols can be resolved.
2010-04-01progs/egl: Port OpenVG lion and sp to eglut.Chia-I Wu
2010-04-01progs/egl: Port ES1 gears to eglut.Chia-I Wu
As gears in the last demo under "screen" subdirectory, this also removes the directory.
2010-04-01progs/egl: Port ES1 tri to eglut.Chia-I Wu
This also removes EGL_MESA_screen_surface version of ES1 tri as eglut supports the extension.
2010-04-01progs/egl: Replace egltri by xegl_tri.Chia-I Wu
With the switch to eglut, xegl_tri supports both X11 and EGL_MESA_screen_surface. Have it replace egltri.
2010-04-01progs/egl: Porg xegl_tri to eglut.Chia-I Wu
2010-04-01progs/egl: Port eglgears to eglut.Chia-I Wu
2010-04-01progs/egl: Add eglut.Chia-I Wu
eglut is a simple library with GLUT-like API. It is intended to be used by simple EGL demos.
2010-04-01progs/openvg: Move OpenVG demos to a subdirectory of progs/egl.Chia-I Wu
That is, move progs/openvg/demos to progs/egl/openvg, progs/openvg/trivial to progs/egl/openvg/trivial.
2010-04-01progs/es: Move OpenGL ES demos to subdirectories of progs/egl.Chia-I Wu
Move progs/es1/xegl -> progs/egl/opengles1, progs/es1/screen -> progs/egl/opengles1/screen, progs/es2/xegl -> progs/egl/opengles2.
2010-04-01progs/egl: Move demos a level deeper.Chia-I Wu
Move the demos to "opengl" subdirectory.
2010-03-24progs/egl: Link xeglthreads to libpthread.Chia-I Wu
This should hopefully fix a build failure reported by Chris Ball when binutils-gold is used.
2010-03-23Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson
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>
2010-03-13Use X_LIBS from pkg-config, instead of libdir, for locating libX11Jeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-12Add -L$(libdir) for xdemos and egl so that the right libX11 is foundJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-26eglinfo: Wrap extension stringKristian Høgsberg
2010-02-26xeglgears: Add an case that exercises EGL_KHR_gl_renderbuffer_imageKristian Høgsberg
2010-02-26xeglgears: Clean up the code a bitKristian Høgsberg
Still a mess...
2010-02-24xeglgears: Update help textKristian Høgsberg
2010-02-24xeglgears: Remove borrowed GL_OES_EGL_image typesKristian Høgsberg
These are now in gl.h.
2010-02-24xeglgears: Add test case for texturing from an EGLImageKristian Høgsberg
2010-02-22Link egl progs to libm as necessary.Ray Kohler
Signed-off-by: Ray Kohler <ataraxia937@gmail.com>
2010-02-09eglinfo: Also print visual type, assuming X visual typesKristian Høgsberg
This may not make a lot of sense for non-X EGL, but for EGL under X it's very useful.
2010-02-09xeglgears: Add test case for eglBindTexImage()Kristian Høgsberg
2010-01-31progs/egl: Update eglinfo to display more attributes.Chia-I Wu
Add config caveat, bind-to-texture, and renderable type. Remove double buffer and stereo attributes.
2010-01-30progs/es1: Add bindtex.Chia-I Wu
It is ported from progs/egl/xeglbindtex.c. With the OpenGL ES port, the OpenGL version is removed.
2010-01-23Revert "add segl"Chia-I Wu
This reverts commit fe33b7083b0081b91ee338acbe966400c6b9a7b9. It was not supposed to be pushed yet.
2010-01-23add seglChia-I Wu
2010-01-18progs/egl: Pass EGLDisplay to eglCopyBuffers.Chia-I Wu
X Display was wrongly passed to eglCopyBuffers.
2010-01-12progs/egl: Fix screen surface demos.Chia-I Wu
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>
2010-01-12progs/egl: glGenTextures is called too early in xeglbindtex.Chia-I Wu
It should be called after eglMakeCurrent. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs: Check the number of configs returned by eglChooseConfig.Chia-I Wu
A successful eglChooseConfig call does not imply there are valid configs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs: Add missing EGL_RENDERABLE_TYPE for EGL demos.Chia-I Wu
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>
2010-01-03progs/egl: Silence uninitialized variable warnings.Vinson Lee
2009-10-22progs/egl: Add support for pixmap and pbuffer surface to xeglgears.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15progs/egl: put declarations before codeBrian Paul
2009-09-30progs/egl: Make demo3 work again.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30progs/egl: Check EGL_MESA_screen_surface is supported in demo2.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30progs/egl: Fix a crash in demo1.Chia-I Wu
The variable "configs" in main() is used without initialization. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>