Brian Paul
912c4ec6df
gl.h: reorder some #defines
2011-03-19 14:17:41 -06:00
Benjamin Franzke
6b369c4c7c
egl: Add EGL_WL_bind_wayland_display
2011-03-01 17:23:50 -05:00
Kristian Høgsberg
04c5cc5b8b
eglplatform.h: Define Wayland native platform types
...
This is conditional on WL_EGL_PLATFORM being #defined, so application
must make sure to include wayland-egl.h before including any egl header.
2011-02-09 10:58:20 -05:00
Benjamin Franzke
1b8ef9416b
Add dri2::{Allocate,Release}Buffer extension
2011-02-07 13:52:28 +01:00
Haitao Feng
b43a147128
swrast: add an interface createNewContextForAPI
...
This new interface could set up context for OpenGL,
OpenGL ES1 and OpenGL ES2. It will be used by egl_dri2
driver.
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
2011-02-03 11:59:30 -05:00
Dave Airlie
476db2bd3d
dri: add a placeholder for the framebuffer sRGB capable bit.
...
This is needed to build the X server GLX_EXT_framebuffer_sRGB bits.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-28 11:45:44 +10:00
Juan Zhao
e59fa4c46c
dri2: release texture image.
...
Add release function for texture_from_pixmap extension.
Some platform need to release texture image for texture_from_pixmap
extension, add this interface for those platforms.
2011-01-09 14:55:16 -05:00
Brian Paul
1384aea50f
glext: upgrade to version 67
2011-01-06 07:56:00 -07:00
Tom Fogal
cd9ed3da68
Regenerate gl_mangle.h.
...
NOTE: This is a candidate for the 7.10 branch.
2010-12-20 19:29:48 -07:00
Chia-I Wu
56f02cedfa
st/vega: Update to latest headers.
2010-12-01 11:23:51 +08:00
Brian Paul
48af60b465
mesa: upgrade to glext.h version 66
...
The type of the num/count parameter to glProgramParameters4[df]vNV()
changed so some API dispatch code needed updates too.
2010-11-17 20:04:45 -07:00
Kristian Høgsberg
e3c1c5377c
Get rid of GL/internal/glcore.h
...
__GLcontextModes is always only used as an implementation internal struct
at this point and we shouldn't install glcore.h anymore. Anything that
needs __GLcontextModes should just include the struct in its headers files
directly.
2010-10-13 09:43:24 -04:00
Kristian Høgsberg
17eace581d
dri: Pass the __DRIscreen and the __DRIscreen private back to image lookup
...
We will typically have a current context when we need to lookup the image,
but the lookup implementation don't need it so drop it.
2010-09-22 22:02:05 -04:00
Kristian Høgsberg
9ec0b2a45e
dri2: Make createImageFromName() take a __DRIscreen instead of __DRIcontext
...
We can't expect to have a context when this is called, and we don't need one
so just require a __DRIscreen instead.
Reported by Yu Dai <yu.dai@intel.com>
2010-09-22 15:08:22 -04:00
Brian Paul
79ab394cd2
mesa: upgrade wglext.h to version 22
2010-09-14 09:40:23 -06:00
Brian Paul
b106e6261a
mesa: upgrade glxext.h to version 32
2010-09-14 09:39:44 -06:00
Brian Paul
7993832c12
mesa: update to version 64 of GL/glext.h
...
A number of other files had to be updated as well because const
qualifiers were added to the glMultiDrawArrays() function.
Also, GL_FIXED is now defined in glext.h.
2010-09-14 09:37:37 -06:00
Kristian Høgsberg
5aaa53e66c
egl_dri2: Add support for MESA_image_drm
2010-08-25 09:17:48 -04:00
Kristian Høgsberg
b7a8893a24
egl: Add EGL_MESA_drm_image extension
...
Create EGLImages from DRM buffer handles.
2010-08-25 09:17:47 -04:00
Ian Romanick
6c03c576cc
Merge branch 'glsl2'
...
Conflicts:
src/mesa/program/prog_optimize.c
2010-08-16 19:08:53 -07:00
Chia-I Wu
b2a575ff28
egl: Update eglext.h.
...
Update to version 7 for EGL_KHR_fence_sync.
2010-08-17 00:06:18 +08:00
José Fonseca
8df0bea9c5
Replace our custom C99 headers with http://code.google.com/p/msinttypes/
...
Perhaps http://www.azillionmonkeys.com/qed/pstdint.h would be a better
(more portable) choice, but only MSVC uses this anyway, and we can always
change later.
2010-08-14 16:00:52 +01:00
Ian Romanick
d960b61ea3
Add missing intmax_t and uintmax_t
2010-08-13 16:22:38 -07:00
Kristian Høgsberg
cb2a66fd0c
glx: Drop support for GLX_MESA_allocate_memory
...
Only r200 implemented it.
2010-07-19 22:45:50 -04:00
Chia-I Wu
985c2fca10
egl: Add a test for MESA_EGL_NO_X11_HEADERS.
...
When the macro is defined, X11 headers will not be included.
2010-06-23 15:15:00 +08:00
Chia-I Wu
78d70ddbbd
egl: Add support for EGL_MESA_drm_display.
...
The extension defines eglGetDRMDisplay that creates an EGLDisplay from a
DRM fd. Calling eglCreateWindowSurace or eglCreatePixmapSurface with
such displays will generate EGL_BAD_NATIVE_WINDOW or
EGL_BAD_NATIVE_PIXMAP.
2010-06-23 15:14:59 +08:00
Jakob Bornecrantz
0528106cc7
glew: Drop glew now that we don't need it for the progs
...
configs/beos | 2 +-
configs/darwin | 2 +-
configs/default | 4 +-
configs/freebsd-dri | 2 +-
configs/linux-cell | 2 +-
configs/linux-dri-xcb | 2 +-
configs/linux-indirect | 2 +-
configure.ac | 2 +-
include/GL/glew.h |14435 ------------------------------------------------
include/GL/glxew.h | 1476 -----
include/GL/wglew.h | 1247 -----
src/SConscript | 1 -
src/glew/LICENSE.txt | 73 -
src/glew/Makefile | 54 -
src/glew/SConscript | 69 -
src/glew/glew.c |14320 -----------------------------------------------
src/glew/glewinfo.c | 8441 ----------------------------
src/glew/visualinfo.c | 1173 ----
18 files changed, 8 insertions(+), 41299 deletions(-)
Revert "glew: update to version 1.5.4"
This reverts commit a189b1c53b
.
Revert "glew: Include X11 headers and libraries in SCons build."
This reverts commit efdd33985c
.
Revert "scons: Fix GLEW build on Mac OS X."
This reverts commit 8f81769148
.
Revert "scons: Use static glew library on Unices to avoid binary compatability issues"
This reverts commit de22c940a1
.
Revert "glew: Update to version 1.5.2."
This reverts commit aaf7ecfd81
.
Revert "scons: Build glew on all platforms."
This reverts commit 52eb3e4235
.
Revert "scons: Put glut and glew shared libraries into build/xxx/bin or lib."
This reverts commit 8a318edd08
.
Didn't revert scons/gallium.py
Revert "scons: Fix glew build on MSVC."
This reverts commit 14a8c9dac7
.
Revert "scons: Build progs together with everything else."
This reverts commit 7bbf7f94ea
.
Only changed src/glew/SConscript
Revert "mesa: include glew headers in MesaDemos tarballs"
This reverts commit c57d81ddc9
.
Revert "mesa: include GLEW sources in MesaDemos tarball"
This reverts commit b9e2e32daf
.
Revert "glew: correct misspelling of glFramebufferTextureLayer"
This reverts commit 1b05b5b4fe
.
Revert "glew: fix GLEW_LIB_NAME"
This reverts commit c10df26a31
.
Revert "Add dummy install target for glew to fix 'make install'"
This reverts commit c273dfe6a2
.
Revert "autoconf: Add GLEW needed by progs when building GLUT"
This reverts commit 2977cee38e
.
Revert "glew: Build it as a static lib."
This reverts commit fcf9353fea
.
Revert "glew: Initial import."
This reverts commit 57d00016ca
.
2010-06-08 02:07:24 +02:00
Chia-I Wu
0d820fc203
egl: Use khronos types for EGL_MESA_screen_surface.
...
That is, use khronos_uint32_t instead of uint32_t.
2010-05-31 11:31:08 +08:00
Chia-I Wu
14f1157a2e
Update KHRONOS_APICALL for _WIN32 platform.
...
Use __declspec(dllexport) when KHRONOS_DLL_EXPORTS is defined.
2010-05-31 11:31:07 +08:00
Chia-I Wu
d2cb999045
Always define int32_t in compiler headers.
...
eglplatform.h no longer defines int32_t.
2010-05-31 11:00:01 +08:00
Chia-I Wu
59f8dca7cf
Update OpenGL ES headers.
2010-05-31 10:43:17 +08:00
Brian Paul
df64122c30
fbdev: some hacking to get the driver to compile (untested)
2010-05-27 09:46:32 -06:00
Kristian Høgsberg
5dc0f49084
egl: Implement EGL_NOK_texture_from_pixmap
...
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.
2010-05-14 14:47:54 -04:00
Kristian Høgsberg
52c554a79d
egl: Implement EGL_NOK_swap_region
...
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.
2010-05-13 20:30:45 -04:00
Brian Paul
a189b1c53b
glew: update to version 1.5.4
2010-05-11 21:06:31 -06:00
Kristian Høgsberg
97a6cbc6dd
dri_interface.h: Add new __DRI_USE_INVALIDATE extension
...
The presence of this extension indicates to the DRI driver that the
loader will call invalidate in the __DRI2_FLUSH extension, whenever
the needs to query for new buffers. This means that the DRI driver
can drop the polling in glViewport().
2010-05-11 10:23:53 -04:00
Kristian Høgsberg
0870e4a202
Merge branch 'gles2-2'
...
Conflicts:
src/mesa/drivers/dri/common/dri_util.h
2010-05-02 10:17:07 -04:00
Kristian Høgsberg
a7a9a91d7b
dri: Add DRI entrypoints to create a context for a given API
2010-04-28 14:05:21 -04:00
Brian Paul
7567f05199
Merge branch '7.8'
...
Conflicts:
src/gallium/drivers/nv30/nv30_context.c
src/gallium/drivers/nv40/nv40_context.c
src/gallium/drivers/nv40/nv40_state_emit.c
2010-04-27 08:34:06 -06:00
Brian Paul
4eb803975d
glxext.h: upgraded to 2010/02/10 version
2010-04-26 20:32:02 -06:00
Brian Paul
273058b677
glext: upgraded to version 61
2010-04-26 20:31:19 -06:00
Jesse Barnes
234286c0f8
DRI2: add config query extension
...
Add a new DRI2 configuration query extension. Allows for DRI2 client
code to query for common DRI2 configuration options.
2010-04-22 12:49:45 -07:00
Ian Romanick
4fb2daf42c
Merge branch '7.8'
2010-04-04 16:54:00 -07:00
Ian Romanick
f66733e077
gl: updated glxext.h to version 27
2010-04-04 16:53:41 -07:00
George Sapountzis
f4e561ce12
drisw: make stride issue profound
2010-03-27 20:56:36 +02:00
Tom Fogal
38cb44516e
Regenerate gl_mangle.h
2010-03-25 17:10:51 -06:00
George Sapountzis
0b932284f2
dri_inteface: add define for checking presence of drm.h
...
__NOT_HAVE_DRM_H is a like a feature, defined by default on specific platforms
and allows to be defined externally as well.
__NOT_HAVE_DRM_H should only be used by xserver and mesa swrast_dri drivers
2010-03-21 13:21:45 +02:00
Brian Paul
e1a4bb2370
regenerate gl_mangle.h to get new EGLImage functions
2010-03-16 07:56:56 -06:00
George Sapountzis
323238864f
include/GL: drop more deprecated headers
2010-03-06 15:18:51 +02:00
Ian Romanick
016fc30839
Remove support for GCC older than 3.3.0
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 16:26:32 -08:00