summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-06-03util/u_debug: use MAX2 macroBrian Paul
2010-06-03llvmpipe: Number shaders/variants for more reproducible function names in ↵José Fonseca
the IR.
2010-06-03gallivm: Register the JIT engine with oprofile on debug/profile builds.José Fonseca
2010-06-03gallivm: Factor out the quad derivative code into a single place. Fix ddy.José Fonseca
For ddy it should be (bottom - top).
2010-06-03r300g: use util/u_debugJoakim Sindholt
2010-06-03gallium: silence all debug_named_value related warningsJoakim Sindholt
2010-06-03util/u_debug: add description field to debug_named_valueJoakim Sindholt
2010-06-03scons: Handle Python OSError exception when missing libdrm_radeon.Vinson Lee
Instead of crashing when libdrm_radeon is unavailable, the SCons build just does not build r600g.
2010-06-03r300g: set the minimum texture stride to 64 bytes on RS600, RS690, and RS740Marek Olšák
I hope I've done it right. No way to test it here...
2010-06-02gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLESBrian Paul
Fixes failed assertion with piglit fbo-drawbuffers-fragcolor.c See fd.o bug 28358. With 8 color buffers + Z we need to declare 33 vars, at least.
2010-06-02llvmpipe: Fix bad logic.José Fonseca
Courtesy of Vinson and coverity.
2010-06-02llvmpipe: Remove unnecessary header.Vinson Lee
2010-06-02llvmpipe: Fix typo in assert.José Fonseca
2010-06-02llvmpipe: Per quad interpolation.José Fonseca
First interpolate the 4 quads upper left corners, then sub-interpolate each quad pixel. Do the perspective divide once per quad. Saves some muls and reciprocates. But doesn't seem to make a noticeable improvement. It make the code simpler and more compact, so commiting anyway.
2010-06-02llvmpipe: Minor cleanup to the interpolator.José Fonseca
2010-06-02gallivm: Add a lp_build_const_elem().José Fonseca
2010-06-02llvmpipe: Store often used LLVM types in the lp_build_context.José Fonseca
2010-06-02gallivm: Zero min_lod and max_lod when only one view is selected and min/mag ↵José Fonseca
filter are equal.
2010-06-02gallivm: Make lp_build_sample_wrap_int usage more accurate.José Fonseca
Fixes mesa texwrap demo border with GL_CLAMP.
2010-06-02gallivm: Don't use reciprocate in lp_build_sample_wrap_linear().José Fonseca
Always clamp the scaled coordinates.
2010-06-02gallivm: Avoid fp arithmetic in lp_build_sample_wrap_nearest().José Fonseca
2010-06-02gallivm: Don't use lp_build_sample_wrap_nearest()José Fonseca
Always clamp with scaled coordinates.
2010-06-02llvmpipe: Centralize all position interpolation in lp_bld_interp.c.José Fonseca
2010-06-02r300g: use the stored GEM domain in add_buffer/write_relocMarek Olšák
I admit blitting to/from GTT is actually enforced in this commit, texture transfers are now damned fast!
2010-06-02r300g: store the GEM domain in buffer and texture structsMarek Olšák
2010-06-02r300g: use r300_buffer_domain everywhereMarek Olšák
2010-06-02r300g: blit directly to/from GTT when transfering texturesMarek Olšák
2010-06-02r300g: let the driver determine the GEM domain for buffer_createMarek Olšák
2010-06-02r300g: make texture transfers more pipelinedMarek Olšák
Mostly based on Michel Dänzer's patch.
2010-06-02r300g: better describe another flush and move it closer to the real problemMarek Olšák
I haven't been able to get rid of this one, see the comments in the code.
2010-06-02r300g: remove one flushMarek Olšák
Looks like it's not needed now.
2010-06-01llvmpipe: Obey color interpolation.José Fonseca
Don't force color to be linearly interpolated when that's not being requested.
2010-06-01llvmpipe: Use struct lp_shader_input in the interpolator.José Fonseca
Eliminates all this identical yet slightly different code to decide how shader inputs should be interpolated. As bonus, don't interpolate the position twice when it is listed in the TGSI shader inputs.
2010-05-31st/xorg, vmware: Make throttling configurable.Thomas Hellstrom
The xorg state tracker gets two new options to let the user choose whether to enable / disable dirty throttling and swapbuffer throttling. The default value of these options are enabled, unless the winsys supplies a customizer with other values. The customizer record has been extended to allow this, and also to set winsys-based throttling on a per- context basis. The vmware part of this patch disables the dirty throttling if the kernel supports command submission throttling, and also in that case sets kernel based throttling for everything but swapbuffers. The vmware winsys does not set throttling per context, even if it theoretically could, but instead sets throttling per screen. This should perhaps be changed, should the xorg state tracker start to use multiple rendering contexts. Kernel throttling is off by default for all new screens/contexts, so the dri state tracker is not affected. This significantly improves interactivity of the vmware xorg driver. Cherry-picked from commit a8f3b3f88acc1f0193fa740e76e9d815f07f32ab Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2010-05-31svga: Add a winsys callback to get the svga_winsys_contextThomas Hellstrom
The winsys may need to extract the svga_winsys_context from a pipe_context. Add a function to enable that functionality. Cherry-picked from commit e8a8c5e339dfd7a36bb6435fd34175482b9187b8 Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2010-06-01tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.José Fonseca
It was not used anywhere; the code was buggy (it didn't take care of indirect registers and could potential cause buffer underflows) and the same effect can now be easily achieved by just by looking at input_semantic_name[] and input_usage_mask[].
2010-06-01tgsi: Remove tgsi-instruction-set.txt.José Fonseca
Deprecated by tgsi.rst, and no point in keeping it around if it's not being updated.
2010-06-01llvmpipe: Don't waste time interpolating unused input channels.José Fonseca
2010-06-01tgsi: Determine which shader input channels are effectively.José Fonseca
TGSI's UsageMask flag is never set. We can move this logic into tgsi_ureg, but there there are still cases where's not used, so this seems a better place for now.
2010-06-01gallium/docs: Update FRAC -> FRC.José Fonseca
2010-05-31st/xorg: Fix Xv cliprect scaling.Thomas Hellstrom
Due to a quantization error, different cliprects of scaled video windows may not have identical x / y scale. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-05-31st/xorg Avoid advertizing rotation / reflection support.Thomas Hellstrom
We don't support it yet since we don't implement the shadow allocate functions. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-05-31llvmpipe: Show fs's TGSI when LP_DEBUG=tgsi is set.José Fonseca
2010-05-31st/egl: Use stamps only to avoid unnecessary geometry update.Chia-I Wu
resource_surface_add_resources should still be called even when the stamps match. For example, a caller may ask for two different sets of attachments.
2010-05-31gallium: fix TFP on galliumDave Airlie
This fixes an uninitialised value use in the dri2 st when doing TFP. It uses the driContextPriv which isn't initialised at alloc time. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-05-31st/egl: Update KMS backend to use resource_surface.Chia-I Wu
2010-05-31st/egl: Update GDI backend to use resource_surface.Chia-I Wu
2010-05-31st/egl: Update ximage backend to use resource_surface.Chia-I Wu
2010-05-31st/egl: Add helper functions for use by backends.Chia-I Wu
There is only resource_surface for now. It helps manage the resources of a software-based native surface such as XImage or GDI.
2010-05-31targets/egl: Add SConscript for egl-apis.Chia-I Wu
It will build api_OpenVG.dll on Windows.