aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* egl: Remove _eglOpenDriver and _eglCloseDriver.Chia-I Wu2010-01-263-32/+4
| | | | | _eglCloseDriver is no-op and _eglOpenDriver does nothing but call _eglMatchDriver. Export _eglMatchDriver directly.
* egl: Fix a segfault when a display is initialized again.Chia-I Wu2010-01-261-0/+1
| | | | Reset dpy->MaxConfigs so that dpy->Configs is re-allocated.
* egl: Remove _eglGetCurrentSurface and _eglGetCurrentDisplay.Chia-I Wu2010-01-265-52/+7
| | | | | They have little use in drivers since drivers need to work for multiple current contexts.
* egl: Fix leaks in eglReleaseThread.Chia-I Wu2010-01-261-6/+13
| | | | There may be multiple bound contexts that should be unbound.
* egl: Refactor _eglMakeCurrent.Chia-I Wu2010-01-261-78/+158
| | | | | Refactor _eglMakeCurrent into _eglCheckMakeCurrent, _eglBindContextToSurface, and _eglBindContextToThread.
* egl: Add _eglGetAPIContext.Chia-I Wu2010-01-262-1/+16
| | | | It will return the currently bound context of the given API.
* egl: Use a boolean to indicate whether a resource is linked.Chia-I Wu2010-01-262-2/+10
| | | | | | An unlinked resource may still be a current resource such as current surfaces. There might still be a need to know which display the unlinked resource belongs to.
* egl: Mark _eglCheckResource as PUBLIC.Chia-I Wu2010-01-261-1/+1
| | | | | To support extensions such as GL_OES_EGL_image, the drivers need a way to check if a given EGLImageKHR is valid.
* glsl/pp: Silence GCC "no previous prototype" warning.Vinson Lee2010-01-261-1/+1
|
* intel: Don't do client-side frame throttling with DRI2 SwapBuffers.Eric Anholt2010-01-253-1/+7
| | | | | | | The server side does the throttling on our behalf now by putting the client to sleep, so we don't need our previous hacks for limiting the number of outstanding frames. Same effect as 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3.
* Revert "intel: Use the new DRI2 flush invalidate entrypoint to signal frame ↵Eric Anholt2010-01-252-21/+20
| | | | | | | done." This reverts commit 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3. It broke throttling in the non-new-DRI2 case.
* i965: Remove unnecessary malloc/free in VS binding table setup.Eric Anholt2010-01-252-4/+3
|
* i965: Fix build after merge of mesa stable branch.Eric Anholt2010-01-251-0/+1
|
* docs: Mention EGL and OpenGL ES in 7.8 release notes.Chia-I Wu2010-01-261-0/+2
|
* glx: Build GLX normally.Chia-I Wu2010-01-262-13/+10
| | | | | | | | | | GLX was built specially and before Mesa core because libglapi.a could not be built with IN_DRI_DRIVER defined. This is no longer the case since 6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74. It works fine in my (limited) testing with both direct and indirect rendering. I also compare the outputs after preprocessing (gcc -E) with or without this commit, and they are identical.
* docs: Update EGL documentation.Chia-I Wu2010-01-261-1/+9
| | | | | Add --enable-gallium-swrast to the example. Document missing --with-egl-driver-dir and update TODOs.
* egl/xdri: Update with glxclient.h change.Chia-I Wu2010-01-261-1/+0
| | | | | __glXFindDisplay is no longer static since 7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.
* mesa: misc GLX_INTEL_swap_event fixesRobert Bragg2010-01-255-15/+31
| | | | | | | | 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 <[email protected]>
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-2597-207/+93
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * st/xorg: Fix crash on resize with libkmsJakob Bornecrantz2010-01-251-2/+12
| |
| * vega: fix incorrect samplers, textures indexes in blend_bind_samplers()Igor Oliveira2010-01-251-2/+2
| | | | | | | | | | | | Fixes fd.o bug 25863. Signed-off-by: Brian Paul <[email protected]>
| * vmware/xorg: Do buffer round-robin logic differentlyJakob Bornecrantz2010-01-251-1/+2
| |
| * st/xorg: Improve options and print them to logJakob Bornecrantz2010-01-252-3/+18
| | | | | | | | | | | | Set 2D acceleration to off by default Get fallback debugging from the Xorg config Also print if 3D acceleration is enabled
| * vmware/xorg: Export pci_probe function for ugly chain-loadingJakob Bornecrantz2010-01-251-5/+5
| |
| * st/xorg: Export helper function for detecting modesettingJakob Bornecrantz2010-01-252-0/+23
| |
| * st/xorg: Fix warningJakob Bornecrantz2010-01-251-0/+2
| |
| * st/mesa: fix int->uint conversion for negative scissor bound valuesBrian Paul2010-01-241-4/+9
| | | | | | | | | | | | | | | | | | | | Based on a patch by Xavier Chantry <[email protected]>: If x+width or y+height is negative, then maxx or maxy will get a bogus value when converting that to unsigned. Fix this by setting 0 as minimal value. This was also triggered by teeworlds, but only with some combination of resolution and map section. For example upper part of dm2 at 1280x1024.
| * mesa: move _mesa_debug() call earlier in _mesa_ScissorBrian Paul2010-01-241-3/+3
| | | | | | | | Part of a patch from Xavier Chantry <[email protected]>
| * st/mesa: fix unsigned/signed breakage in scissorXavier Chantry2010-01-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | commit 53174afeeb introduced a portability change that converted GLint x,y to GLuint. That breaks when x and y are negative, which seems to be allowed, and which at least one game uses : teeworlds. Rather than simply reverting the change, it seems possible to convert the 16bit unsigned to GLint so that comparisons are made between signed integers instead. This hopefully does not break anything while keeping MSVC happy. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * r200: Silence fprintf format warning.Vinson Lee2010-01-241-1/+1
| |
| * x86: Do not build read_rgba_span_x86.S on Mac OS X.Vinson Lee2010-01-231-2/+2
| | | | | | | | | | read_rgba_span_x86.S uses the pseudo-ops .hidden and .type which are not recognized on Mac OS X.
| * x86: Do not use .hidden pseudo-op on Mac OS X.Vinson Lee2010-01-231-2/+2
| | | | | | | | The .hidden directive is an unknown pseudo-op on Mac OS X.
| * glapi: Do not use .type pseudo-op on Mac OS X.Vinson Lee2010-01-232-2/+2
| | | | | | | | The .type directive is an unknown pseudo-op on Mac OS X.
| * scons: Do not use ld options start-group and end-group on Darwin.Vinson Lee2010-01-231-1/+4
| | | | | | | | Mac OS X ld does not support these options.
| * scons: Define _DARWIN_C_SOURCE on Darwin builds.Vinson Lee2010-01-231-0/+2
| |
| * progs/demos: Remove unnecessary header from shadowtex.c.Vinson Lee2010-01-232-8/+0
| |
| * r300: Remove unnecessary headers.Vinson Lee2010-01-2311-39/+0
| |
| * intel: Remove unnecessary headers.Vinson Lee2010-01-2315-32/+0
| |
| * radeon: Remove unused variable.Vinson Lee2010-01-231-1/+0
| |
| * tdfx: Remove unnecessary headers.Vinson Lee2010-01-238-22/+0
| |
| * sis: Remove unnecessary headers.Vinson Lee2010-01-239-16/+0
| |
| * savage: Remove unnecessary headers.Vinson Lee2010-01-236-11/+0
| |
| * mga: Remove unnecessary headers.Vinson Lee2010-01-237-16/+0
| |
| * i965: Remove unnecessary headers.Vinson Lee2010-01-2218-31/+0
| |
| * i915: Remove unnecessary headers.Vinson Lee2010-01-225-13/+0
| |
| * gallium/util: fix incorrect shift in a4r4g4b4_put_tile_rgba()Brian Paul2010-01-221-1/+1
| | | | | | | | Fixes fd.o bug 23313.
* | r300: rv350+ support FLT16_2/4 vertex formatsAlex Deucher2010-01-251-1/+1
| |
* | r300g: Finish and enable immediate mode.Corbin Simpson2010-01-253-53/+106
| | | | | | | | Based on Marek's immd-mode patch.
* | radeong: Make sure that we're not emitting relocations for local buffers.Corbin Simpson2010-01-251-2/+6
| | | | | | | | Split from Marek's immd-mode patch.
* | radeong: Make is_r3xx inline to avoid warnings.Corbin Simpson2010-01-251-1/+1
| | | | | | | | Split from Marek's immd-mode patch.