Commit Graph

13 Commits

Author SHA1 Message Date
Chia-I Wu 472a601966 progs/egl: Fix screen surface demos.
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-12 10:55:35 +08:00
Vinson Lee 8a29e3f8e8 progs/egl: Silence uninitialized variable warnings. 2010-01-03 21:39:20 -08:00
Brian Paul 5b7d9053a0 progs/egl: put declarations before code 2009-10-15 13:00:03 -06:00
Chia-I Wu fa8df0c40d progs/egl: Replace EGL_i915 by EGL_DEFAULT_DISPLAY.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30 08:15:30 -06:00
Alan Hourihane 5c9d0c7052 pick first mode 2008-08-17 21:59:00 +01:00
Brian Paul af540ef369 egl: updated egl.h include paths 2008-06-04 10:11:25 -06:00
Jakob Bornecrantz 3e867959e9 egl: Fix warning in eglgears 2008-05-28 11:17:14 +02:00
Brian Paul a6af2e3345 include eglext.h, define EGL_EGLEXT_PROTOTYPES 2008-05-27 13:47:23 -06:00
Jakob Bornecrantz 3f9de6ff7d egl: Updated EGL samples to use new i915 EGL winsys 2008-05-14 17:20:25 +02:00
Brian Paul 790ab0a0b6 s/eglShowSurfaceMESA/eglShowScreenSurfaceMESA/ 2005-12-10 17:59:36 +00:00
Brian Paul 957b517c4f Choose the display mode / surface size in an intelligent way.
Fix // comments.
More error checking, etc.
2005-11-23 01:44:38 +00:00
Jon Smirl 9a4dbf1cff Fix up some of the sample to work with the r200 EGL driver 2005-08-07 02:15:27 +00:00
Brian Paul badad72383 eglgears demo (Dane Rushton) 2005-07-14 23:16:41 +00:00