summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-09-07llvmpipe: Code generate the texture sampling inside the shader.José Fonseca
Finally a substantial performance improvement: framerates of apps using texturing tripled, and furthermore, enabling/disabling texturing only affects around 15% of the framerate, which means the bottleneck is now somewhere else. Generated texture sampling code is not complete though -- we always sample from the base level -- so final figures will be different.
2009-09-07llvmpipe: Texture sampling code generation primitives.José Fonseca
Only supports single level 2d textures, with neareast and bilinear filtering for now.
2009-09-07llvmpipe: Convenience function to obtain the integer type with same bitdepth ↵José Fonseca
of an arbitrary type.
2009-09-07llvmpipe: Utility functions for linear and bilinear interpolation.José Fonseca
2009-09-07llvmpipe: Correct implementation of floor.José Fonseca
2009-09-07llvmpipe: Utility function to get the pointer to a structure member.José Fonseca
2009-09-07llvmpipe: SoA pixel unpacking specialization.José Fonseca
2009-09-07util: Utility function to check if a number is a power of two.José Fonseca
2009-09-07llvmpipe: Further abstract the texture sampling generation from TGSI ↵José Fonseca
translation.
2009-09-07mesa: Include <unistd.h> only when one is available.Michal Krol
2009-09-07mesa: Fix calling conventions of sync object api callbacks.Michal Krol
2009-09-06r300g: Fix some issues pointed out by compiler warnings.Michel Dänzer
2009-09-06r300g: Handle PIPE_BUFFER_USAGE_DONTBLOCK as intended.Michel Dänzer
Return NULL if the BO is busy, otherwise just map it.
2009-09-06mesa: initial version of _mesa_meta_generate_mipmap()Brian Paul
Incomplete and totally untested. Based on intel_generate_mipmap().
2009-09-06xlib: test _mesa_meta_bitmap()Brian Paul
2009-09-06mesa: use separate temp texture for bitmapsBrian Paul
2009-09-06mesa: temp_texture changesBrian Paul
2009-09-06mesa: free meta bitmap buffersBrian Paul
2009-09-06mesa: use _mesa_set_enable()Brian Paul
2009-09-06mesa: _mesa_meta_bitmap() functionBrian Paul
2009-09-06xlib: move misplaced braceBrian Paul
2009-09-06r300g: Fix a number of warningsNicolai Hähnle
Seriously guys....
2009-09-06r300g: Debug flags infrastructureNicolai Hähnle
So that debugging is no longer a full-spam-or-nothing approach, you are now supposed to set the RADEON_DEBUG environment flag just like for classic Mesa. The available debug flags are different, however. Just running an OpenGL application with RADEON_DEBUG set to an arbitrary string will print out helpful information. Everything must be compiled with -DDEBUG for any of this to work
2009-09-05r300g: update the value of register VAP_VF_MAX_VTX_INDXCooper Yuan
according to actual vertex index count.
2009-09-05r300g: update rs_block state after changing rasterizerCooper Yuan
2009-09-05r300g: need to validate scissor and viewport state if bind new rasterizerCooper Yuan
2009-09-04r600: add support for EXT_texture_sRGBAlex Deucher
2009-09-04r300: Add support for GL_EXT_provoking_vertexAlex Deucher
2009-09-04r600: Add support for GL_EXT_provoking_vertexAlex Deucher
2009-09-04i965: Don't set the complete field when there is more VUE yet to come.Eric Anholt
This should help with things like lightsmark, but I don't have a testcase for this commit.
2009-09-04i965: Add support for 2 threads in the GS.Eric Anholt
This brings noop vertex shader throughput from 6.8M verts/sec to 10.4M verts/sec using GL_QUADs on my GM45.
2009-09-04i965: Add support for KIL_NV in brw_wm_emit.cEric Anholt
I ran into this lack of support when writing a shader that always discarded the fragments.
2009-09-04r600: fix Elts handlingAlex Deucher
Patch from taiu on IRC. fixes bug 23585
2009-09-04ARB prog: replace 'unsigned' with 'gl_state_index'Brian Paul
Fixes compilation warnings with MSVC.
2009-09-04ARB prog: rename POINT, SIZE to POINT_TOK, SIZE_TOKBrian Paul
Fixes symbol collisions with typedefs in Microsoft headers. Perhaps we should prefix/suffix all the lexer tokens to avoid this.
2009-09-04gallium/xlib: minor clean-upsBrian Paul
2009-09-04i915g: Fix warnings in scons build by using byte pointersJakob Bornecrantz
scons build complained about void pointer math
2009-09-04tgsi: Document differencies between vs_1_1 and vs_2_0 for EXPP and LOGP.Michal Krol
2009-09-03gallium/xlib: silence unitialized var warningBrian Paul
2009-09-03gallium/xlib: silence uninitialized var warningBrian Paul
2009-09-03st/mesa: silence uninitialized var warningsBrian Paul
2009-09-03st/mesa: fix glCopyPixels(GL_STENCIL_INDEX) inverted positionBrian Paul
If the renderbuffer orientation is Y=0=TOP we need to invert the dstY position.
2009-09-03st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardwareKeith Whitwell
State tracker currently backs GL_RGB textures with RGBA almost always. This means we need to maintain A==1 in these textures to give correct GL_RGB sampling results. This change offloads the RGBA->RGB copy to hardware using the new writemask version of u_blit_pixels. More src/dstLogical/dstActual triples could be shifted to hardware by this technique in future patches.
2009-09-03util: add version of u_blit_pixels which takes a writemaskKeith Whitwell
Values outside the writemask are set in the destination to {0,0,0,1}
2009-09-03r600: rework cb/db setupAlex Deucher
Setup the regs when we emit rather than during state setup. In certain cases a proper CB target was never emitted. This fixes bug 23658.
2009-09-03st/xorg: add linear and radial gradient accelerationZack Rusin
2009-09-03st/xorg: radial gradient shaderZack Rusin
2009-09-03st/xorg: linear gradient shaderZack Rusin
2009-09-03r600: make sure the active vertex shader bo is re-added to persistent list.Alex Deucher
2009-09-03glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync()Brian Paul