summaryrefslogtreecommitdiffstats
path: root/progs/egl
Commit message (Collapse)AuthorAgeFilesLines
* progs/egl: Fix eglut with OpenGL ES 2.0.Chia-I Wu2010-05-051-1/+3
| | | | EGL_OPENGL_ES2_BIT is not set when choosing OpenGL ES 2.0 configs.
* progs/egl/opengles2: Add es2gears demoKristian Høgsberg2010-05-032-4/+429
| | | | Because every subdirectory under progs has to have a version of gears.
* progs/egl: Add egl/eglut to PROGRAM_DIRS.Chia-I Wu2010-04-274-13/+4
| | | | | Make sure eglut is built before the demos. This should work more reliably with make -j<N>.
* egl: Fix demos to build with user specified XlibDan Nicholson2010-04-195-9/+12
| | | | | | | Commit 88be2171e7 fixed the egl demos on the stable branch, but now they're spread out across multiple subdirectories. Signed-off-by: Dan Nicholson <[email protected]>
* progs/egl: Add lib directories to OpenVG demosJakob Bornecrantz2010-04-121-1/+1
|
* Fix copyright headers.Chia-I Wu2010-04-101-5/+6
| | | | | | 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.
* progs/egl: Correctly check GL_OES_EGL_image.Chia-I Wu2010-04-061-1/+0
| | | | | The hack was added because GL_OES_EGL_image was not exported in the extension string.
* progs/egl: Fix the blank window in pbuffer demo.Chia-I Wu2010-04-061-1/+2
| | | | EGL requires eglSwapBuffers to be called on the current surface.
* progs/egl: Port drawtex and torus to eglut.Chia-I Wu2010-04-066-548/+150
| | | | | This brings the demos also to KMS and removes about 400 duplicated lines of code.
* progs/egl: Add an OpenGL ES demo for EGL_OES_image_pixmap.Chia-I Wu2010-04-042-0/+583
| | | | | 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.
* progs/egl: Update .gitignore.Chia-I Wu2010-04-023-7/+12
|
* progs/egl: Link to eglut first.Chia-I Wu2010-04-023-11/+11
| | | | This moves eglut before EGL so that the symbols can be resolved.
* progs/egl: Port OpenVG lion and sp to eglut.Chia-I Wu2010-04-015-591/+59
|
* progs/egl: Port ES1 gears to eglut.Chia-I Wu2010-04-016-355/+28
| | | | | As gears in the last demo under "screen" subdirectory, this also removes the directory.
* progs/egl: Port ES1 tri to eglut.Chia-I Wu2010-04-014-427/+54
| | | | | This also removes EGL_MESA_screen_surface version of ES1 tri as eglut supports the extension.
* progs/egl: Replace egltri by xegl_tri.Chia-I Wu2010-04-013-356/+88
| | | | | With the switch to eglut, xegl_tri supports both X11 and EGL_MESA_screen_surface. Have it replace egltri.
* progs/egl: Porg xegl_tri to eglut.Chia-I Wu2010-04-012-254/+30
|
* progs/egl: Port eglgears to eglut.Chia-I Wu2010-04-012-219/+59
|
* progs/egl: Add eglut.Chia-I Wu2010-04-016-0/+880
| | | | | eglut is a simple library with GLUT-like API. It is intended to be used by simple EGL demos.
* progs/openvg: Move OpenVG demos to a subdirectory of progs/egl.Chia-I Wu2010-04-0133-0/+5206
| | | | | | | That is, move progs/openvg/demos to progs/egl/openvg, progs/openvg/trivial to progs/egl/openvg/trivial.
* progs/es: Move OpenGL ES demos to subdirectories of progs/egl.Chia-I Wu2010-04-0119-0/+5963
| | | | | | | | Move progs/es1/xegl -> progs/egl/opengles1, progs/es1/screen -> progs/egl/opengles1/screen, progs/es2/xegl -> progs/egl/opengles2.
* progs/egl: Move demos a level deeper.Chia-I Wu2010-04-0113-1/+1
| | | | Move the demos to "opengl" subdirectory.
* progs/egl: Link xeglthreads to libpthread.Chia-I Wu2010-03-241-1/+1
| | | | | This should hopefully fix a build failure reported by Chris Ball when binutils-gold is used.
* Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson2010-03-231-3/+3
| | | | | | | | 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 <[email protected]>
* Use X_LIBS from pkg-config, instead of libdir, for locating libX11Jeff Smith2010-03-131-3/+3
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Dan Nicholson <[email protected]>
* Add -L$(libdir) for xdemos and egl so that the right libX11 is foundJeff Smith2010-03-121-3/+3
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* eglinfo: Wrap extension stringKristian Høgsberg2010-02-261-2/+37
|
* xeglgears: Add an case that exercises EGL_KHR_gl_renderbuffer_imageKristian Høgsberg2010-02-261-12/+67
|
* xeglgears: Clean up the code a bitKristian Høgsberg2010-02-261-32/+45
| | | | Still a mess...
* xeglgears: Update help textKristian Høgsberg2010-02-241-1/+2
|
* xeglgears: Remove borrowed GL_OES_EGL_image typesKristian Høgsberg2010-02-241-5/+3
| | | | These are now in gl.h.
* xeglgears: Add test case for texturing from an EGLImageKristian Høgsberg2010-02-241-23/+72
|
* Link egl progs to libm as necessary.Ray Kohler2010-02-221-4/+4
| | | | Signed-off-by: Ray Kohler <[email protected]>
* eglinfo: Also print visual type, assuming X visual typesKristian Høgsberg2010-02-091-5/+10
| | | | | This may not make a lot of sense for non-X EGL, but for EGL under X it's very useful.
* xeglgears: Add test case for eglBindTexImage()Kristian Høgsberg2010-02-091-24/+75
|
* progs/egl: Update eglinfo to display more attributes.Chia-I Wu2010-01-312-11/+21
| | | | | Add config caveat, bind-to-texture, and renderable type. Remove double buffer and stereo attributes.
* progs/es1: Add bindtex.Chia-I Wu2010-01-302-482/+0
| | | | | It is ported from progs/egl/xeglbindtex.c. With the OpenGL ES port, the OpenGL version is removed.
* Revert "add segl"Chia-I Wu2010-01-235-424/+0
| | | | | This reverts commit fe33b7083b0081b91ee338acbe966400c6b9a7b9. It was not supposed to be pushed yet.
* add seglChia-I Wu2010-01-235-0/+424
|
* progs/egl: Pass EGLDisplay to eglCopyBuffers.Chia-I Wu2010-01-181-1/+1
| | | | X Display was wrongly passed to eglCopyBuffers.
* progs/egl: Fix screen surface demos.Chia-I Wu2010-01-125-10/+22
| | | | | | | | 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 <[email protected]>
* progs/egl: glGenTextures is called too early in xeglbindtex.Chia-I Wu2010-01-121-2/+2
| | | | | | It should be called after eglMakeCurrent. Signed-off-by: Chia-I Wu <[email protected]>
* progs: Check the number of configs returned by eglChooseConfig.Chia-I Wu2010-01-123-4/+8
| | | | | | | A successful eglChooseConfig call does not imply there are valid configs. Signed-off-by: Chia-I Wu <[email protected]>
* progs: Add missing EGL_RENDERABLE_TYPE for EGL demos.Chia-I Wu2010-01-123-0/+4
| | | | | | | 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 <[email protected]>
* progs/egl: Silence uninitialized variable warnings.Vinson Lee2010-01-032-2/+4
|
* progs/egl: Add support for pixmap and pbuffer surface to xeglgears.Chia-I Wu2009-10-221-110/+289
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* progs/egl: put declarations before codeBrian Paul2009-10-153-10/+15
|
* progs/egl: Make demo3 work again.Chia-I Wu2009-09-301-10/+15
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* progs/egl: Check EGL_MESA_screen_surface is supported in demo2.Chia-I Wu2009-09-301-0/+6
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* progs/egl: Fix a crash in demo1.Chia-I Wu2009-09-301-10/+11
| | | | | | The variable "configs" in main() is used without initialization. Signed-off-by: Chia-I Wu <[email protected]>