Benjamin Franzke
1b8ef9416b
Add dri2::{Allocate,Release}Buffer extension
14 lat temu
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>
14 lat temu
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>
14 lat temu
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.
14 lat temu
Brian Paul
1384aea50f
glext: upgrade to version 67
14 lat temu
Tom Fogal
cd9ed3da68
Regenerate gl_mangle.h.
NOTE: This is a candidate for the 7.10 branch.
14 lat temu
Chia-I Wu
56f02cedfa
st/vega: Update to latest headers.
15 lat temu
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.
15 lat temu
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.
15 lat temu
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.
15 lat temu
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>
15 lat temu
Brian Paul
79ab394cd2
mesa: upgrade wglext.h to version 22
15 lat temu
Brian Paul
b106e6261a
mesa: upgrade glxext.h to version 32
15 lat temu
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.
15 lat temu
Kristian Høgsberg
5aaa53e66c
egl_dri2: Add support for MESA_image_drm
15 lat temu
Kristian Høgsberg
b7a8893a24
egl: Add EGL_MESA_drm_image extension
Create EGLImages from DRM buffer handles.
15 lat temu
Chia-I Wu
b2a575ff28
egl: Update eglext.h.
Update to version 7 for EGL_KHR_fence_sync.
15 lat temu
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.
15 lat temu
Ian Romanick
d960b61ea3
Add missing intmax_t and uintmax_t
15 lat temu
Kristian Høgsberg
cb2a66fd0c
glx: Drop support for GLX_MESA_allocate_memory
Only r200 implemented it.
15 lat temu
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.
15 lat temu
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.
15 lat temu
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
.
15 lat temu
Chia-I Wu
0d820fc203
egl: Use khronos types for EGL_MESA_screen_surface.
That is, use khronos_uint32_t instead of uint32_t.
15 lat temu
Chia-I Wu
14f1157a2e
Update KHRONOS_APICALL for _WIN32 platform.
Use __declspec(dllexport) when KHRONOS_DLL_EXPORTS is defined.
15 lat temu
Chia-I Wu
d2cb999045
Always define int32_t in compiler headers.
eglplatform.h no longer defines int32_t.
15 lat temu
Chia-I Wu
59f8dca7cf
Update OpenGL ES headers.
15 lat temu
Brian Paul
df64122c30
fbdev: some hacking to get the driver to compile (untested)
15 lat temu
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.
15 lat temu
Brian Paul
a189b1c53b
glew: update to version 1.5.4
15 lat temu
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().
15 lat temu
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.
15 lat temu
Kristian Høgsberg
a7a9a91d7b
dri: Add DRI entrypoints to create a context for a given API
15 lat temu
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.
15 lat temu
Brian Paul
4eb803975d
glxext.h: upgraded to 2010/02/10 version
15 lat temu
Brian Paul
273058b677
glext: upgraded to version 61
15 lat temu
Ian Romanick
f66733e077
gl: updated glxext.h to version 27
15 lat temu
George Sapountzis
f4e561ce12
drisw: make stride issue profound
15 lat temu
Tom Fogal
38cb44516e
Regenerate gl_mangle.h
15 lat temu
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
15 lat temu
Brian Paul
e1a4bb2370
regenerate gl_mangle.h to get new EGLImage functions
15 lat temu
George Sapountzis
323238864f
include/GL: drop more deprecated headers
15 lat temu
Ian Romanick
016fc30839
Remove support for GCC older than 3.3.0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
15 lat temu
George Sapountzis
9a4a219d20
drop header files and demos for dropped window systems
15 lat temu
Kristian Høgsberg
a9e3669683
Remove remaining miniglx references
15 lat temu
Kristian Høgsberg
40c6bb58be
Drop classic mesa svga driver
15 lat temu
Kristian Høgsberg
b5c3199afe
Remove dos driver
15 lat temu
Kristian Høgsberg
4387580e50
Remove directfb support
15 lat temu
Kristian Høgsberg
79cbcb663d
dri_interface.h: Add DRI image and eglImageLookup extensions
These are used for implementing the various EGLImage extensions.
15 lat temu
Kristian Høgsberg
caa46f7538
glapi: Add GL_OES_EGL_image
15 lat temu