summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* i965: Add support for EXT_draw_buffers2.Eric Anholt2010-01-263-3/+5
|
* i965: Fix fp fragment.position handling and enable HW part of ARB_fcc.Eric Anholt2010-01-263-16/+35
| | | | | | | | | As with swrast, this fixes the default pixel center behavior which was broken, and implements the previous behavior for integer. Fixes piglit fp-arb-fragment-coord-conventions-none. The extension won't be exposed until we get the GLSL part implemented. The DRI1 origin_x/y parts are dropped since they're no longer relevant.
* swrast: Implement ARB_fragment_coord_conventions but don't enable.Eric Anholt2010-01-261-0/+10
| | | | | | | | | | | This brings swrast's support up to the state of gallium, and fixes the default center behavior of fragment.position.xy in piglit fp-arb-fragment-coord-conventions-none. The extension is not enabled currently because the GLSL part of the extension isn't supported, so piglit glsl-arb-fragment-coord-conventions-define fails as would any serious test of the GLSL part.
* support an 'embedded' platform target which turns off most parts of theAlan Hourihane2010-01-265-45/+54
| | | | build.
* Check for __USE_MISC for defining uint & ushortAlan Hourihane2010-01-261-1/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-264-14/+52
|\ | | | | | | Merging was easier than cherry picking in this instance.
| * mesa: Don't bind DRAW/READ_FRAMEBUFFER separately without FBO blit supportErik Wien2010-01-261-8/+19
| | | | | | | | | | | | | | | | | | | | | | If GL_EXT_framebuffer_blit was not supported _mesa_DeleteFramebuffersEXT would raise an error when deleting the currently bound framebuffer. This because it tried to bind the default DRAW- and READ_FRAMEBUFFER separately. This patch binds the default FRAMEBUFFER instead in that case. Encountered in the fbo/fbo-copyteximage piglit test on R600. Patch cleaned up a bit by Brian Paul.
| * vbo: if 'end' is out of bounds, clamp itBrian Paul2010-01-261-0/+4
| | | | | | | | | | If we determine that the 'end' parameter to glDrawElements() is out of bounds, clamp it to the max legal index value.
| * vbo: clamp DrawElements start/end to max possible valuesBrian Paul2010-01-261-0/+10
| | | | | | | | | | Some apps are sloppy with their start/end values. Clamp them to max possible values to prevent problems later.
| * mesa: remove redundant _MaxElement computationBrian Paul2010-01-261-6/+0
| | | | | | | | | | | | | | | | Eric added some new code to check if offset < obj_size before computing _MaxElement but my original code was still present afterward and it clobbered the _MaxElement value. Not sure if this came from a bad merge or what.
| * docs: document Intel, R300 env varsBrian Paul2010-01-261-0/+19
| |
* | intel: make sure we update the renderbuffers after a swapJesse Barnes2010-01-261-0/+2
| | | | | | | | | | | | Now that LOCK_HARDWARE is gone, we don't have a convenient place to update the renderbuffers everywhere we need them. So grab new buffers when we invalidate the old ones until we optimize things further.
* | add missing SCons.UtilAlan Hourihane2010-01-261-0/+1
| |
* | fix typoAlan Hourihane2010-01-261-2/+1
| |
* | Allow the environment to override certain flags.Alan Hourihane2010-01-261-0/+11
| |
* | only use -Werror flags with gcc 4.2.x and 4.3.x.Alan Hourihane2010-01-261-2/+8
| | | | | | | | could use a better test here though.
* | glxgears: Support GLX_EXT_swap_control for querying the current swap interval.Aaron Plattner2010-01-261-3/+10
| | | | | | | | | | Signed-off-by: Aaron Plattner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | progs/tests: use glDrawRangeElements() in bufferobj.cBrian Paul2010-01-261-1/+7
| |
* | 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.