summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-01-27r600: increase max texture units to 16Andre Maasikas
2010-01-27r600: fix XPD with writemaskAndre Maasikas
same variable used for 2 different temp registers fixes e.g. glsl/bump
2010-01-26softpipe: Remove unnecessary header.Vinson Lee
2010-01-26i915g: Remove unnecessary headers.Vinson Lee
2010-01-26r300g: Turn the RS block into an atom.Corbin Simpson
At least one extraneous dirty was eliminated, as well as the chance for avoiding dirty on shader change.
2010-01-26r300g: Make vertex_format into an atom.Corbin Simpson
Some delicious hax here.
2010-01-26r300g: Kill dead code for hashing custom state.Corbin Simpson
It just wasn't meant to be.
2010-01-26r300g: Add A8_UNORM texture format.Corbin Simpson
Keeps teeworld happy.
2010-01-27radeon/r200/r300: don't clean non-emitted state.Dave Airlie
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 <airlied@redhat.com>
2010-01-27radeon: remove unused fileDave Airlie
2010-01-26intel: Remove dead code from having to clip copyteximage source rect.Eric Anholt
mesa core does it now. If only it did so for other entrypoints.
2010-01-26intel: Use a handy helper in glReadPixels source clipping.Eric Anholt
2010-01-26intel: Clean up stale comments about cliprects.Eric Anholt
2010-01-26intel: Remove the remaining cliprects code from DRI1.Eric Anholt
2010-01-26intel: Remove DRI1 junk from spans code.Eric Anholt
This reduces the driver size by over 1%.
2010-01-26intel: Remove DRI1 junk from blit glBitmap.Eric Anholt
2010-01-26intel: Remove DRI1 junk from CopyPixels.Eric Anholt
2010-01-26intel: Remove DRI1 junk from glClear blit implementation.Eric Anholt
2010-01-26i965: Remove DRI1 leftovers from stipple offset handling.Eric Anholt
2010-01-26i965g: Silence uninitialized variable warning.Vinson Lee
2010-01-26softpipe: Remove unused variables.Vinson Lee
2010-01-26st/mesa: Silence uninitialized variable warning.Vinson Lee
2010-01-26intel: Fix PBO blit ReadPixels from an FBO.Eric Anholt
Bug #25921 -- clutter PBO usage gave unreliable results.
2010-01-26docs: add documentation to double opcodesIgor Oliveira
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-26i965: Add support for EXT_draw_buffers2.Eric Anholt
2010-01-26i965: Fix fp fragment.position handling and enable HW part of ARB_fcc.Eric Anholt
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.
2010-01-26swrast: Implement ARB_fragment_coord_conventions but don't enable.Eric Anholt
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.
2010-01-26support an 'embedded' platform target which turns off most parts of theAlan Hourihane
build.
2010-01-26Check for __USE_MISC for defining uint & ushortAlan Hourihane
2010-01-26Merge branch 'mesa_7_7_branch'Brian Paul
Merging was easier than cherry picking in this instance.
2010-01-26mesa: Don't bind DRAW/READ_FRAMEBUFFER separately without FBO blit supportErik Wien
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.
2010-01-26intel: make sure we update the renderbuffers after a swapJesse Barnes
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.
2010-01-26vbo: if 'end' is out of bounds, clamp itBrian Paul
If we determine that the 'end' parameter to glDrawElements() is out of bounds, clamp it to the max legal index value.
2010-01-26vbo: clamp DrawElements start/end to max possible valuesBrian Paul
Some apps are sloppy with their start/end values. Clamp them to max possible values to prevent problems later.
2010-01-26mesa: remove redundant _MaxElement computationBrian Paul
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.
2010-01-26egl: Remove _eglOpenDriver and _eglCloseDriver.Chia-I Wu
_eglCloseDriver is no-op and _eglOpenDriver does nothing but call _eglMatchDriver. Export _eglMatchDriver directly.
2010-01-26egl: Fix a segfault when a display is initialized again.Chia-I Wu
Reset dpy->MaxConfigs so that dpy->Configs is re-allocated.
2010-01-26egl: Remove _eglGetCurrentSurface and _eglGetCurrentDisplay.Chia-I Wu
They have little use in drivers since drivers need to work for multiple current contexts.
2010-01-26egl: Fix leaks in eglReleaseThread.Chia-I Wu
There may be multiple bound contexts that should be unbound.
2010-01-26egl: Refactor _eglMakeCurrent.Chia-I Wu
Refactor _eglMakeCurrent into _eglCheckMakeCurrent, _eglBindContextToSurface, and _eglBindContextToThread.
2010-01-26egl: Add _eglGetAPIContext.Chia-I Wu
It will return the currently bound context of the given API.
2010-01-26egl: Use a boolean to indicate whether a resource is linked.Chia-I Wu
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.
2010-01-26egl: Mark _eglCheckResource as PUBLIC.Chia-I Wu
To support extensions such as GL_OES_EGL_image, the drivers need a way to check if a given EGLImageKHR is valid.
2010-01-26glsl/pp: Silence GCC "no previous prototype" warning.Vinson Lee
2010-01-25intel: Don't do client-side frame throttling with DRI2 SwapBuffers.Eric Anholt
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.
2010-01-25Revert "intel: Use the new DRI2 flush invalidate entrypoint to signal frame ↵Eric Anholt
done." This reverts commit 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3. It broke throttling in the non-new-DRI2 case.
2010-01-25i965: Remove unnecessary malloc/free in VS binding table setup.Eric Anholt
2010-01-25i965: Fix build after merge of mesa stable branch.Eric Anholt
2010-01-26glx: Build GLX normally.Chia-I Wu
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.
2010-01-26egl/xdri: Update with glxclient.h change.Chia-I Wu
__glXFindDisplay is no longer static since 7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.