summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300g: Add A8_UNORM texture format.Corbin Simpson2010-01-262-0/+2
| | | | Keeps teeworld happy.
* radeon/r200/r300: don't clean non-emitted state.Dave Airlie2010-01-271-1/+2
| | | | | | | | | | | So if we don't actually emit an atom to the hw because we don't need it in the current state (e.g. lighting related atoms when lighting is off) then don't mark it as clean, because when lighting gets switched on we won't emit it at all. This fixes funky gears colors. Signed-off-by: Dave Airlie <[email protected]>
* radeon: remove unused fileDave Airlie2010-01-271-681/+0
|
* intel: Remove dead code from having to clip copyteximage source rect.Eric Anholt2010-01-261-5/+0
| | | | mesa core does it now. If only it did so for other entrypoints.
* intel: Use a handy helper in glReadPixels source clipping.Eric Anholt2010-01-264-64/+19
|
* intel: Clean up stale comments about cliprects.Eric Anholt2010-01-263-42/+4
|
* intel: Remove the remaining cliprects code from DRI1.Eric Anholt2010-01-262-22/+0
|
* intel: Remove DRI1 junk from spans code.Eric Anholt2010-01-261-30/+11
| | | | This reduces the driver size by over 1%.
* intel: Remove DRI1 junk from blit glBitmap.Eric Anholt2010-01-261-82/+53
|
* intel: Remove DRI1 junk from CopyPixels.Eric Anholt2010-01-261-87/+50
|
* intel: Remove DRI1 junk from glClear blit implementation.Eric Anholt2010-01-261-174/+123
|
* i965: Remove DRI1 leftovers from stipple offset handling.Eric Anholt2010-01-261-3/+3
|
* i965g: Silence uninitialized variable warning.Vinson Lee2010-01-261-0/+3
|
* softpipe: Remove unused variables.Vinson Lee2010-01-261-3/+0
|
* st/mesa: Silence uninitialized variable warning.Vinson Lee2010-01-261-0/+1
|
* intel: Fix PBO blit ReadPixels from an FBO.Eric Anholt2010-01-261-44/+37
| | | | Bug #25921 -- clutter PBO usage gave unreliable results.
* docs: add documentation to double opcodesIgor Oliveira2010-01-261-0/+111
| | | | Signed-off-by: Brian Paul <[email protected]>
* 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.