aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gallium-newclear'Roland Scheidegger2010-06-0345-322/+731
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i
| * gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger2010-06-0317-217/+217
| | | | | | | | | | more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
| * llvmpipe: adapt to clear interface changesRoland Scheidegger2010-05-298-28/+113
| | | | | | | | | | with some newfangled code, should support separate depth/stencil clears. Needs some testing.
| * i965g: adapt to clear interface changesRoland Scheidegger2010-05-293-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 changesRoland Scheidegger2010-05-297-29/+72
| | | | | | | | | | should in theory support separate depth/stencil clears (untested). Also fix some format omissions?
| * r300g: adapt to clear interface changesRoland Scheidegger2010-05-292-10/+31
| | | | | | | | should support separate depth/stencil clears just fine with changed u_blitter.
| * nv50: adapt to clear interface changesRoland Scheidegger2010-05-293-18/+22
| | | | | | | | should support separate depth/stencil clears just fine.
| * nvfx: adapt to clear interface changesRoland Scheidegger2010-05-292-11/+29
| |
| * svga: adapt to clear interface changesRoland Scheidegger2010-05-293-4/+8
| | | | | | | | this should support separate stencil/depth clears just fine.
| * softpipe: adapt to clear interface changesRoland Scheidegger2010-05-292-1/+2
| |
| * rbug: adapt to clear interface changesRoland Scheidegger2010-05-291-28/+48
| |
| * trace: adapt to clear interface changesRoland Scheidegger2010-05-291-25/+53
| |
| * identity: adapt to clear interface changesRoland Scheidegger2010-05-291-28/+48
| |
| * fo: adapt to clear interface changesRoland Scheidegger2010-05-291-1/+2
| |
| * cell: adapt to clear interface changesRoland Scheidegger2010-05-291-1/+0
| |
| * st/python: adapt to clear interface changesRoland Scheidegger2010-05-291-13/+26
| |
| * util: adapt to clear interface changesRoland Scheidegger2010-05-295-95/+151
| |
| * gallium: clear interface changesRoland Scheidegger2010-05-284-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 makefileJakob Bornecrantz2010-06-011-2/+2
| |
* | tgsi: we don't support indirect input/output registers in SSE codegen yetBrian Paul2010-06-031-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 cleanupBrian Paul2010-06-031-14/+2
| |
* | gallium: add interpolation parameter to simple shader functionsBrian Paul2010-06-036-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 dirJakob Bornecrantz2010-06-011-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 MakefileJakob Bornecrantz2010-06-012-52/+82
| |
* | util/u_debug: use MAX2 macroBrian Paul2010-06-031-7/+1
| |
* | llvmpipe: Number shaders/variants for more reproducible function names in ↵José Fonseca2010-06-032-7/+28
| | | | | | | | the IR.
* | gallivm: Register the JIT engine with oprofile on debug/profile builds.José Fonseca2010-06-032-1/+30
| |
* | gallivm: Factor out the quad derivative code into a single place. Fix ddy.José Fonseca2010-06-035-52/+204
| | | | | | | | For ddy it should be (bottom - top).
* | r300g: use util/u_debugJoakim Sindholt2010-06-031-54/+5
| |
* | gallium: silence all debug_named_value related warningsJoakim Sindholt2010-06-036-71/+71
| |
* | util/u_debug: add description field to debug_named_valueJoakim Sindholt2010-06-032-6/+20
| |
* | scons: Handle Python OSError exception when missing libdrm_radeon.Vinson Lee2010-06-031-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 RS740Marek Olšák2010-06-031-2/+14
| | | | | | | | I hope I've done it right. No way to test it here...
* | gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLESBrian Paul2010-06-021-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é Fonseca2010-06-021-1/+1
| | | | | | | | Courtesy of Vinson and coverity.
* | llvmpipe: Remove unnecessary header.Vinson Lee2010-06-021-1/+0
| |
* | llvmpipe: Fix typo in assert.José Fonseca2010-06-021-1/+1
| |
* | llvmpipe: Per quad interpolation.José Fonseca2010-06-022-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é Fonseca2010-06-022-46/+54
| |
* | gallivm: Add a lp_build_const_elem().José Fonseca2010-06-022-14/+29
| |
* | llvmpipe: Store often used LLVM types in the lp_build_context.José Fonseca2010-06-022-2/+30
| |
* | gallivm: Zero min_lod and max_lod when only one view is selected and min/mag ↵José Fonseca2010-06-021-3/+9
| | | | | | | | filter are equal.
* | gallivm: Make lp_build_sample_wrap_int usage more accurate.José Fonseca2010-06-021-11/+2
| | | | | | | | Fixes mesa texwrap demo border with GL_CLAMP.
* | gallivm: Don't use reciprocate in lp_build_sample_wrap_linear().José Fonseca2010-06-021-51/+50
| | | | | | | | Always clamp the scaled coordinates.
* | gallivm: Avoid fp arithmetic in lp_build_sample_wrap_nearest().José Fonseca2010-06-021-78/+32
| |
* | gallivm: Don't use lp_build_sample_wrap_nearest()José Fonseca2010-06-021-42/+46
| | | | | | | | Always clamp with scaled coordinates.
* | llvmpipe: Centralize all position interpolation in lp_bld_interp.c.José Fonseca2010-06-023-51/+43
| |
* | r300g: use the stored GEM domain in add_buffer/write_relocMarek Olšák2010-06-022-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 structsMarek Olšák2010-06-024-21/+17
| |
* | r300g: use r300_buffer_domain everywhereMarek Olšák2010-06-028-44/+63
| |