summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-03-07r300: remove unnecessary codeMaciej Cencora
_tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
2010-03-06dri: drop MINIGLX_SOURCES (2)George Sapountzis
2010-03-06dri: drop MINIGLX_SOURCESGeorge Sapountzis
2010-03-05mesa: bump version to 7.9Brian Paul
Now that the 7.8 branch has been created Mesa/master will be version 7.9
2010-03-05meta: Use the DrawBuffer's stencil sizeIan Romanick
Previously the code was erroneously using the stencil size of the context instead of the stencil size of the DrawBuffer. With FBOs these may be different. As a result, clearing the stencil buffer of an FBO bound to a context that doesn't have stencil would fail. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05swrast: Remove redundant test of the visual's accumulation buffer sizeIan Romanick
If the visual doesn't have an accumulation buffer, the renderbuffer passed into _swrast_clear_accum_buffer will be NULL anyway. There is no reason the check the visual. Moreover, the test erroneously checks the context's visual instead of the visual of the current DrawBuffer. With FBOs these may be different. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05swrast: Adjust colors based on ReadBuffer visual, not context visualIan Romanick
In the presence of FBOs, the visual of the context may not match the, possibly fake, visual of the current ReadBuffer. Note that the caller of adjust_colors correctly uses the visual of the ReadBuffer. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05swrast: Remove stray comment that mentions ctx->VisualIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05i965: Only use the effective subset of the WM sampler key.Eric Anholt
The whole structure is 836 bytes, but if only the first one or two samplers are used (as is common), the part that matters is only 56 or 108 bytes. By using just that subset as the key (since the key size is also part of the key), we improve firefox-talos-gfx performance by 1%.
2010-03-05intel: Remove support for the DRI1 TFP extension.Eric Anholt
2010-03-05i965: Remove the paths for making a const surface object for a NULL BO.Eric Anholt
2010-03-05i965: Remove the unused SDC BO pointer from the sampler state key.Eric Anholt
Since it's a BO pointer, it already lives outside the key in brw->wm.sdc_bo[] which is used for sampler state lookup and setup.
2010-03-05i965: Rename SNB brw_*_key structs to gen6_*_key structs.Eric Anholt
2010-03-05i965: Pack gen6 blend_state_key structure.Eric Anholt
2010-03-05intel: Only do batchbuffer debug if --enable-debug is used.Eric Anholt
This saves 6.6KB on the 965 driver, and appears to speed firefox-talos-gfx up by 1-2%. Unlike many other asserts in the driver, when we make a mistake that would trigger one of these it generally shows up all the time for developers, so turning it off for release seems fine.
2010-03-05intel: Replace batch macro contents with function calls.Eric Anholt
This manages to cut down another 3800 bytes.
2010-03-05intel: Move the assertions about reloc delta from the macros to the function.Eric Anholt
Cuts another 1800 bytes from the driver.
2010-03-05intel: Check that the batch is mapped per BEGIN, not each OUT.Eric Anholt
Shaves 800 bytes off the driver.
2010-03-05i965: Try to assign SNB SF inputs to outputs.Eric Anholt
2010-03-05i965: Fix the SNB SF input size.Eric Anholt
2010-03-05Always return VOLATILE for ObjectPurgeable(VOLATILE)Chris Wilson
Fixes fdo bug 26128. The spec mandates that VOLATILE is returned from ObjectPurgeable(VOLATILE) irrespective of the actual status of the object upon completion of marking it purgeable. Conform to the spec, even though it seems wrong. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-05mesa: minor reformatting, new commentsBrian Paul
2010-03-05mesa: whitespace fixes, 80-column wrapping, etc.Brian Paul
2010-03-05Merge branch 'object-purgeable'Chris Wilson
Acked-by: Brian Paul <brianp@vmware.com>
2010-03-05APPLE_object_purgeable: intelChris Wilson
Implement support for purgeable objects by using the GEM madvise ioctl. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-05APPLE_object_purgeable: coreChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-05mesa/es: Update GLAPI and APISpec for GL_OES_EGL_image.Chia-I Wu
This generates the entrypoints and dispatches for GL_OES_EGL_image. There is no real support yet.
2010-03-04Revert "mesa: Remove pointless comparison of unsigned integer with a ↵Vinson Lee
negative constant." This reverts commit a05fdbcb719ac64e6be842372813f0f4ca2f4f93. Removing the comparison is wrong. The comparison with -1 should be changed to another value (probably PROGRAM_UNDEFINED) along with another change in the shader assembler. Conflicts: src/mesa/shader/prog_execute.c
2010-03-04intel: Remove non-kernel-exec-fencing support.Eric Anholt
Shaves 60k off the driver from removing the broken spans code. This means we now require 2.6.29, which seems fair given that it's a year old and we've removed support for non-KMS already in the last release of 2D.
2010-03-04intel: Remove the unused s8 spans code. Not hit during no_rast piglit.Eric Anholt
Shaves 5.5k off of the driver.
2010-03-05Fix comparison of unsigned value against < 0.Michel Dänzer
2010-03-04dri/nouveau: Remove some CI remnants.Francisco Jerez
2010-03-04dri/nouveau: Trivially add GL_ARB_texture_mirrored_repeat.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-04dri/nouveau: Enable GL_EXT_stencil_wrap.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-04dri/nouveau: Add GL_EXT_stencil_wrap for nv04.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-04dri/nouveau: Fix rb->DataType for z24s8 renderbuffers.Francisco Jerez
2010-03-04dri/nouveau: Try to keep client buffers smaller than the scratch VBO length.Francisco Jerez
2010-03-04dri/nouveau: Pack client arrays as they're copied to the real BO.Francisco Jerez
2010-03-04APPLE_object_purgeable: autogenerated filesChris Wilson
2010-03-04APPLE_object_purgeable: xmlChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-04i915: Enable texture tiling by default.Eric Anholt
This now passes piglit testcases, and shows performance improvements on openarena. Blit-heavy apps may see degradation, but the expectation is that the common case of 3D rendering will see significant wins. This regresses gen-teximage on my 855, and no piglit tests on my 945.
2010-03-04i915: Fix up i830 for tiled drawing offsets.Eric Anholt
Corresponds to b87406e55f029d29594ae76a4b39a4fe1007fe4f.
2010-03-04DRI: Put back missing break-statementIan Romanick
The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d. This puts it back. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-04Revert "mesa: Fix unsigned comparison."Vinson Lee
This reverts commit f9504e75f02586a8561733e0e2711c65efa2979d. This patch is incorrect.
2010-03-04glsl: Remove unsigned greater than or equal zero comparison.Vinson Lee
2010-03-04mesa: Fix unsigned comparison.Vinson Lee
2010-03-04glsl: Remove unsigned greater than or equal zero comparison.Vinson Lee
2010-03-04glsl: Return NULL on _slan_gen_asm error path on non-debug builds.Vinson Lee
Exit the function early on the error path, instead of continuing, to prevent a null pointer dereference later on.
2010-03-04glsl: Add assert to check input to strcmp.Vinson Lee
2010-03-04mesa: Add asserts to check inputs to memcpy.Vinson Lee