Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'gallium-newclear' | Roland Scheidegger | 2010-06-03 | 45 | -322/+731 |
|\ | | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i | ||||
| * | gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencil | Roland Scheidegger | 2010-06-03 | 17 | -217/+217 |
| | | | | | | | | | | more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same. | ||||
| * | llvmpipe: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 8 | -28/+113 |
| | | | | | | | | | | with some newfangled code, should support separate depth/stencil clears. Needs some testing. | ||||
| * | i965g: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 3 | -12/+66 |
| | | | | | | | | | | just like i915g, should in theory support separate depth/stencil clears (untested), with the same 2d blitter hacks. | ||||
| * | i915g: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 7 | -29/+72 |
| | | | | | | | | | | should in theory support separate depth/stencil clears (untested). Also fix some format omissions? | ||||
| * | r300g: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 2 | -10/+31 |
| | | | | | | | | should support separate depth/stencil clears just fine with changed u_blitter. | ||||
| * | nv50: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 3 | -18/+22 |
| | | | | | | | | should support separate depth/stencil clears just fine. | ||||
| * | nvfx: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 2 | -11/+29 |
| | | |||||
| * | svga: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 3 | -4/+8 |
| | | | | | | | | this should support separate stencil/depth clears just fine. | ||||
| * | softpipe: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 2 | -1/+2 |
| | | |||||
| * | rbug: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 1 | -28/+48 |
| | | |||||
| * | trace: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 1 | -25/+53 |
| | | |||||
| * | identity: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 1 | -28/+48 |
| | | |||||
| * | fo: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 1 | -1/+2 |
| | | |||||
| * | cell: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 1 | -1/+0 |
| | | |||||
| * | st/python: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 1 | -13/+26 |
| | | |||||
| * | util: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 5 | -95/+151 |
| | | |||||
| * | gallium: clear interface changes | Roland Scheidegger | 2010-05-28 | 4 | -23/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clears were a bit limited in gallium: - no scissoring (OGL only) nor explicit rectangle list (d3d9) - no color/stencil masks (OGL only) - no separate depth/stencil clears (d3d9/d3d10/OGL) - cannot really clear single color buffer (only with resource_fill_region) Additionally, d3d can clear surfaces not currently bound to the framebuffer. It is, however, not easy to find some common ground what a clear should be able to do, due to both API requirements and also hw differences (a case which might be able to use a special clear path on one hw might need a "normal" quad render on another). Hence several clear methods are provided, and a driver should implement all of them. - clear: slightly modified to also be able to clear only depth or stencil in a combined depth/stencil surface. This is however optional based on driver capability though ideally it wouldn't be optional. AFAIK this is in fact something used by applications quite a bit. Otherwise, for now still doesn't allow clearing with scissors/mask (or single color buffers) - clearRT: clears a single (potentially unbound) color surface. This was formerly roughly known as resource_fill_region. mesa st will not currently use this, though potentially would be useful for GL ClearBuffer. - clearDS: similar to above except for depth stencil surfaces. Note that clearDS/clearRT currently handle can handle partial clear. This might change however. | ||||
* | | gallium: Don't depend directly on staging dir in Xorg template makefile | Jakob Bornecrantz | 2010-06-01 | 1 | -2/+2 |
| | | |||||
* | | tgsi: we don't support indirect input/output registers in SSE codegen yet | Brian Paul | 2010-06-03 | 1 | -6/+10 |
| | | | | | | | | | | | | | | | | Extend the check for indirect addressing of temp regs to include input/output regs. Fixes failure with piglit glsl-texcoord-array.shader_test test when using SSE codegen. | ||||
* | | tgsi: whitespace cleanup | Brian Paul | 2010-06-03 | 1 | -14/+2 |
| | | |||||
* | | gallium: add interpolation parameter to simple shader functions | Brian Paul | 2010-06-03 | 6 | -48/+58 |
| | | | | | | | | | | This lets us specify linear interpolation instead of perspective interpolation for blit operations. Might be a bit faster. | ||||
* | | gallium: Don't always copy the dri driver to the staging dir | Jakob Bornecrantz | 2010-06-01 | 1 | -2/+4 |
| | | | | | | | | | | So something in the build keept updating the timestamp on the staging directory causing us to always copy the library to it. | ||||
* | | gallium: Create a Xorg driver template Makefile | Jakob Bornecrantz | 2010-06-01 | 2 | -52/+82 |
| | | |||||
* | | util/u_debug: use MAX2 macro | Brian Paul | 2010-06-03 | 1 | -7/+1 |
| | | |||||
* | | llvmpipe: Number shaders/variants for more reproducible function names in ↵ | José Fonseca | 2010-06-03 | 2 | -7/+28 |
| | | | | | | | | the IR. | ||||
* | | gallivm: Register the JIT engine with oprofile on debug/profile builds. | José Fonseca | 2010-06-03 | 2 | -1/+30 |
| | | |||||
* | | gallivm: Factor out the quad derivative code into a single place. Fix ddy. | José Fonseca | 2010-06-03 | 5 | -52/+204 |
| | | | | | | | | For ddy it should be (bottom - top). | ||||
* | | r300g: use util/u_debug | Joakim Sindholt | 2010-06-03 | 1 | -54/+5 |
| | | |||||
* | | gallium: silence all debug_named_value related warnings | Joakim Sindholt | 2010-06-03 | 6 | -71/+71 |
| | | |||||
* | | util/u_debug: add description field to debug_named_value | Joakim Sindholt | 2010-06-03 | 2 | -6/+20 |
| | | |||||
* | | scons: Handle Python OSError exception when missing libdrm_radeon. | Vinson Lee | 2010-06-03 | 1 | -1/+5 |
| | | | | | | | | | | Instead of crashing when libdrm_radeon is unavailable, the SCons build just does not build r600g. | ||||
* | | r300g: set the minimum texture stride to 64 bytes on RS600, RS690, and RS740 | Marek Olšák | 2010-06-03 | 1 | -2/+14 |
| | | | | | | | | I hope I've done it right. No way to test it here... | ||||
* | | gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLES | Brian Paul | 2010-06-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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. | ||||
* | | llvmpipe: Fix bad logic. | José Fonseca | 2010-06-02 | 1 | -1/+1 |
| | | | | | | | | Courtesy of Vinson and coverity. | ||||
* | | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-06-02 | 1 | -1/+0 |
| | | |||||
* | | llvmpipe: Fix typo in assert. | José Fonseca | 2010-06-02 | 1 | -1/+1 |
| | | |||||
* | | llvmpipe: Per quad interpolation. | José Fonseca | 2010-06-02 | 2 | -190/+136 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | llvmpipe: Minor cleanup to the interpolator. | José Fonseca | 2010-06-02 | 2 | -46/+54 |
| | | |||||
* | | gallivm: Add a lp_build_const_elem(). | José Fonseca | 2010-06-02 | 2 | -14/+29 |
| | | |||||
* | | llvmpipe: Store often used LLVM types in the lp_build_context. | José Fonseca | 2010-06-02 | 2 | -2/+30 |
| | | |||||
* | | gallivm: Zero min_lod and max_lod when only one view is selected and min/mag ↵ | José Fonseca | 2010-06-02 | 1 | -3/+9 |
| | | | | | | | | filter are equal. | ||||
* | | gallivm: Make lp_build_sample_wrap_int usage more accurate. | José Fonseca | 2010-06-02 | 1 | -11/+2 |
| | | | | | | | | Fixes mesa texwrap demo border with GL_CLAMP. | ||||
* | | gallivm: Don't use reciprocate in lp_build_sample_wrap_linear(). | José Fonseca | 2010-06-02 | 1 | -51/+50 |
| | | | | | | | | Always clamp the scaled coordinates. | ||||
* | | gallivm: Avoid fp arithmetic in lp_build_sample_wrap_nearest(). | José Fonseca | 2010-06-02 | 1 | -78/+32 |
| | | |||||
* | | gallivm: Don't use lp_build_sample_wrap_nearest() | José Fonseca | 2010-06-02 | 1 | -42/+46 |
| | | | | | | | | Always clamp with scaled coordinates. | ||||
* | | llvmpipe: Centralize all position interpolation in lp_bld_interp.c. | José Fonseca | 2010-06-02 | 3 | -51/+43 |
| | | |||||
* | | r300g: use the stored GEM domain in add_buffer/write_reloc | Marek Olšák | 2010-06-02 | 2 | -27/+27 |
| | | | | | | | | | | I admit blitting to/from GTT is actually enforced in this commit, texture transfers are now damned fast! | ||||
* | | r300g: store the GEM domain in buffer and texture structs | Marek Olšák | 2010-06-02 | 4 | -21/+17 |
| | | |||||
* | | r300g: use r300_buffer_domain everywhere | Marek Olšák | 2010-06-02 | 8 | -44/+63 |
| | |