Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-10 | i915g: enable separate depth/stencil clears | Daniel Vetter | |
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> | |||
2011-03-10 | i915g: streamline derived state updates of the driver pipeline | Daniel Vetter | |
Flushing the batch/hw backend doesn't invalidate the derived state. So kill the unnecessary function calls and add an assert in emit_hardware_state for paranoia. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> | |||
2011-03-10 | i915g: don't validate a NULL vbo | Daniel Vetter | |
With the new clear code this is possible (if the app call glClear before drawing the first primitive). Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> | |||
2011-03-10 | gallium/util: new polygon stipple utility helper | Brian Paul | |
The polygon stipple fallback does not have to be implemented in the draw module (it doesn't need window coords, etc). Drivers can use this utility and avoid sw vertex fallbacks if pstipple is enabled. Note: this is WIP and not used by any driver yet. | |||
2011-03-10 | gallium/svga: Only upload parts of vertexarrays that are actually used | Thomas Hellstrom | |
Make sure we only upload parts of vertex arrays that are actually used by a draw command. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2011-03-10 | r600: don't close fd on failed load | Dave Airlie | |
This fd gets passed in from outside, closing it causes the X.org server to crap out when the driver doesn't identify the chipset. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2011-03-09 | nv50: add back initialization of redefine_user_buffer | Christoph Bumiller | |
Got lost in f80c03e1875fe96ff2f4c022e3cb76357828140d. | |||
2011-03-09 | r600g: remove some now unneeded code from r600_bc_vtx_build | Christian König | |
2011-03-09 | r600g: R700+ can do more than 8 tex and vtx clause in one CF inst | Christian König | |
Reviewed-by: Henri Verbeet <hverbeet@gmail.com> | |||
2011-03-09 | r600g: split R600 and R700 CF generation for VTX and TEX | Christian König | |
Reviewed-by: Henri Verbeet <hverbeet@gmail.com> | |||
2011-03-09 | svga: Add a new winsys entry point to query the hw version. | José Fonseca | |
2011-03-09 | util: Use PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE in pipe_buffer_write. | José Fonseca | |
2011-03-09 | util: add ensure_sanity checks, fix a bug | Keith Whitwell | |
Add ensure_sanity checks. Fix a bug which caused us to misplace entries adding to a full cache. | |||
2011-03-09 | util: improve cache collision behaviour | Keith Whitwell | |
Add linear probing on collisions. Expand entry array by a fixed scale (currently 2) to help avoid collisions. Use a LRU approach to ensure that the number of entries stored in the cache doesn't exceed the requested size. | |||
2011-03-09 | util: Add remove to util_cache | Alex Corscadden | |
I need to be able to remove entries from util_cache caches. This change enables that functionality. | |||
2011-03-09 | util: Allow util_draw_texquad to draw quads with non-integer coordinates. | Alex Corscadden | |
2011-03-09 | wgl: Force framebuffer validation on glViewport. | José Fonseca | |
2011-03-09 | gallium/svga: Don't replace user vertex buffer with uploaded copy | Thomas Hellstrom | |
Do that later on when we set up the hwtnl state instead. This addresses a problem when we drop the uploaded copy due to a vb size change, it will remain referenced in svga->curr.vb[], and the new contents of the vb will never be uploaded. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2011-03-08 | scons: Fix immediate Python exceptions with SCons on SunOS. | Vinson Lee | |
The build still fails. | |||
2011-03-08 | st/python: Add timeout parameter to fence_finish. | Vinson Lee | |
This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899. Fixes Linux SCons build. | |||
2011-03-08 | r300g: handle timeout parameter in fence_finish | Marek Olšák | |
2011-03-08 | gallium: add timeout parameter to fence_finish | Marek Olšák | |
This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation. | |||
2011-03-08 | r300g: add LATC support | Marek Olšák | |
2011-03-08 | gallium/util: add LATC support | Marek Olšák | |
Again, a lot of code is shared with RGTC. The layout is UTIL_FORMAT_LAYOUT_RGTC, because LATC is just swizzled RGTC. | |||
2011-03-08 | r600g: set start instance correctly | Christian König | |
2011-03-08 | r300g: decide whether a flush should be asynchronous when calling it | Marek Olšák | |
Thread offloading is not sometimes desirable, e.g. when mapping a buffer. | |||
2011-03-08 | r300g: use pipelined transfers for RGTC textures | Marek Olšák | |
2011-03-07 | llvmpipe: clamp texcoords in lp_build_sample_compare() | Brian Paul | |
See previous commit for more info. NOTE: This is a candidate for the 7.10 branch. | |||
2011-03-07 | softpipe: clamp texcoords in sample_compare() | Philip Taylor | |
This fixes http://bugs.freedesktop.org/show_bug.cgi?id=31159 for softpipe and fixes the piglit depth-tex-compare test. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2011-03-07 | st/glx: whitespace, 80-column fixes | Brian Paul | |
2011-03-07 | r600g: Simplify some swizzle lookups. | Henri Verbeet | |
2011-03-07 | r600g: Constant buffers can contain up to 4096 constants. | Henri Verbeet | |
2011-03-06 | r600g: use long long integers for instance addr calculation | Christian König | |
Using a long for instance addr calculation isn't big enough on 32bit systems, use a long long int instead. Thanks to Rafael Monica for fixing this. | |||
2011-03-06 | pb: Add is_buffer_busy for malloc buffers. | José Fonseca | |
2011-03-06 | st/wgl: No need to initialize OneTimeLock anymore. | José Fonseca | |
2011-03-06 | trace: Use pipe_static_mutex. | José Fonseca | |
2011-03-06 | os: Fix pipe_static_mutex on Windows. | José Fonseca | |
2011-03-06 | graw-gdi: Silence gcc missing initialization warning. | José Fonseca | |
2011-03-06 | i915g: update TODO | Daniel Vetter | |
Comments about the deleted stuff: - openaren hang: likely caused by the vertex corruptions, fixed by Jakob. - tiling: Y-tiling works with my hw-clear branch. X-tiling works as merged to master a while ago (execbuf2 version). Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> | |||
2011-03-05 | r300g/swtcl: advertise draw_instanced and primitive_restart | Marek Olšák | |
2011-03-05 | r300g: implement instanced arrays | Marek Olšák | |
2011-03-05 | gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR | Marek Olšák | |
ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced. | |||
2011-03-05 | r300g: cleanup parameters of draw functions | Marek Olšák | |
2011-03-05 | nv50: support the InstanceID system value | Christoph Bumiller | |
2011-03-05 | r600g: simplify instance addr calculation | Christian König | |
Use MULHI_UINT instead of the more complex INT_TO_FLT->MUL->TRUNC->FLT_TO_INT | |||
2011-03-04 | nvc0: Update SConscript. | Vinson Lee | |
2011-03-04 | nv50: Update SConscript. | Vinson Lee | |
2011-03-05 | r600g: fix fragment shader size calculation | Christian König | |
bc.ndw is altered in r600_bc_build, respect that in fragment shader size calculation. | |||
2011-03-05 | nv50,nvc0: get format desc for TIC entry from sampler view format | Christoph Bumiller | |
Fixes piglit/tex-srgb. | |||
2011-03-05 | nv50,nvc0: share sampler state creation | Christoph Bumiller | |