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
George Sapountzis
9a4a219d20
drop header files and demos for dropped window systems
2010-02-26 04:02:41 +02:00
Kristian Høgsberg
a9e3669683
Remove remaining miniglx references
2010-02-25 17:40:11 -05:00
Kristian Høgsberg
40c6bb58be
Drop classic mesa svga driver
2010-02-25 17:40:10 -05:00
Kristian Høgsberg
b5c3199afe
Remove dos driver
2010-02-25 17:40:10 -05:00
Kristian Høgsberg
4387580e50
Remove directfb support
2010-02-25 17:40:09 -05:00
Kristian Høgsberg
79cbcb663d
dri_interface.h: Add DRI image and eglImageLookup extensions
...
These are used for implementing the various EGLImage extensions.
2010-02-24 14:28:41 -05:00
Kristian Høgsberg
caa46f7538
glapi: Add GL_OES_EGL_image
2010-02-24 13:38:55 -05:00
Francisco Jerez
61d26bc82e
dri2: Event driven buffer validation.
...
When a buffer invalidation event is received from the X server, the
"invalidate" hook of the DRI2 flush extension is executed: A generic
implementation (dri2InvalidateDrawable) is provided that just bumps
the "pStamp" sequence number in __DRIdrawableRec.
For old servers not supporting buffer invalidation events, the
invalidate hook will be called before flushing the fake front/back
buffer (that's typically once per frame -- not a lot worse than the
situation we were in before).
No effort has been made on preserving backwards compatibility with
version 2 of the flush extension, but I think it's acceptable because
AFAIK no released stack is making use of it.
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-16 10:38:50 -05:00
Kristian Høgsberg
debf00e5fc
dri_interface: Introduce DRI tokens for the texBuffer texture formats
...
This used to take GLX tokens, but the DRI interface can't depend on GLX
defines. We fix this by introducing DRI tokens that have the same value
as the GLX texture format tokens.
2010-02-09 15:55:25 -05:00
Alan Coopersmith
8a985a988b
eglplatform.h: recognize __unix as well for Solaris & other SVR4 platforms
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-02-05 19:38:16 -08:00
Robert Bragg
7a9329ba99
mesa: misc GLX_INTEL_swap_event fixes
...
Fixup a few issues found through testing:
- update GLX names to match glproto
- register DRI2WireToEvent so it actually gets called
Signed-off-by: Robert Bragg <robert@linux.intel.com>
2010-01-25 15:40:56 -08:00
Chia-I Wu
95f8f75ad8
egl: Update headers.
...
Update to the current versions found at
http://www.khronos.org/registry/egl/ . There is one modification in
khrplatform.h for GCC visibility.
2010-01-25 11:28:27 +08:00