Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-11 | gallium: remove flags from the flush function | Marek Olšák | |
The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement. | |||
2011-03-11 | gallium: remove the geom_flags param from is_format_supported | Marek Olšák | |
2011-03-11 | gallium: cleanup fence_signalled and fence_finish | Marek Olšák | |
So that they don't have the driver-specific param and return type. | |||
2011-03-11 | gallium: kill is_resource_referenced | Marek Olšák | |
Only st/xorg used it and even incorrectly with regards to pipelined transfers. | |||
2011-03-11 | svga: Propagate discard/unsynchronized flags to the host when doing texture ↵ | José Fonseca | |
DMAs. | |||
2011-03-10 | Revert "gallium/svga: Only upload parts of vertexarrays that are actually used" | Thomas Hellstrom | |
This reverts commit 6d4e337f3890105c7d8a2f132412c137d2570d25. The commit is incorrect. I'll rework it. Revert for now. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
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-09 | svga: Add a new winsys entry point to query the hw version. | 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 | 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-01 | svga: reduce MAX_DMA_SIZE to 4MB | Brian Paul | |
2011-02-28 | svga: add assertions in svga_shader_type() | Brian Paul | |
2011-02-24 | svga: Ensure rendertargets and textures are always rebound at every command ↵ | José Fonseca | |
buffer start. The svga_update_state() mechanism is inadequate as it will always end up flushing the primitives before processing the SVGA_NEW_COMMAND_BUFFER dirty state flag. | |||
2011-02-21 | svga: Remove some remaining fake S3TC rendering support. | José Fonseca | |
2011-02-18 | svga: Fix NULL dereference. | José Fonseca | |
Probably introduced with the surface view move from screen to context. | |||
2011-02-18 | svga: Ensure pending drawing commands other surface operations are emitted ↵ | José Fonseca | |
before DMAs. This behavior was last when moving the transfers to the contexts. This fixes several piglit failures, which were reading the color renderbuffer before the draw operations were emitted. | |||
2011-02-18 | svga: Cannot use negate or abs on source to dsx/dsy instructions. | José Fonseca | |
2011-02-18 | svga: Ensure SWTNL is created after HWTNL. | José Fonseca | |
Matches the internal driver layering, and prevents null svga->hwtnl dereferencing from inside the swtnl. | |||
2011-02-18 | svga: Ensure LRP's restrictions are observed in all uses. | José Fonseca | |
The dst reg must be a temporary, and not be the same as src0 or src2. | |||
2011-02-18 | svga: Preserve src swizzles in submit_op2/3/4. | José Fonseca | |
Several opcodes require scalar swizzle, and this requirement was being was not being observed when creating temporaries for other reasons. | |||
2011-02-18 | svga: Disable surface cache for textures | Jakob Bornecrantz | |
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> | |||
2011-02-18 | svga: Describe svga_sampler_views for refcnt debugging | Jakob Bornecrantz | |
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> | |||
2011-02-18 | svga: Make sure that refcnt debugger gets the correct backtrace for create | Jakob Bornecrantz | |
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> | |||
2011-02-18 | gallium/svga: Fix unnecessary swtnl fallbacks | Thomas Hellstrom | |
When we drop the in_swtnl_draw flag, we must force a rerun of update_need_swtnl to reset the need_swtnl flag to its correct value outside of a swtnl vbo draw. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2011-02-17 | svga: Don't use more than one constant per IFC instruction. | José Fonseca | |
2011-02-16 | svga: flush when transitioning between HW and SW rendering paths | Brian Paul | |
To avoid mixing HW and SW rendering with the same vertex buffer. | |||
2011-02-16 | svga: use TRUE/FALSE instead of 0/1 | Brian Paul | |
Some fields are booleans, others are bitmasks. Use TRUE/FALSE to clarify what's what. | |||
2011-02-16 | svga: fix incorrect comment | Brian Paul | |
2011-02-16 | svga: dimension the dirty[] array with SVGA_STATE_MAX | Brian Paul | |
2011-02-16 | svga: disable a debug_printf() call | Brian Paul | |
2011-02-16 | svga: Proper redefine_user_buffer implementation. | José Fonseca | |
Unfortunately still not enough to make GoogleEarth happy. | |||
2011-02-16 | svga: Don't fake DXT compression ability. | José Fonseca | |
2011-02-15 | gallium: add usage parameter to pipe_buffer_create | Marek Olšák | |
And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT. | |||
2011-02-14 | gallium: notify drivers about possible changes in user buffer contents | Marek Olšák | |
Also implement the redefine_user_buffer hook in the drivers. | |||
2011-02-14 | gallium: remove pipe_vertex_buffer::max_index | Marek Olšák | |
This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan. | |||
2011-02-14 | svga: Set the appropriate flags when creating sampler/surface views. | José Fonseca | |
2011-02-11 | svga: disable a debug_printf() call | Brian Paul | |
2011-02-11 | svga: comments and debug code | Brian Paul | |
2011-02-11 | svga: more comments for need_pipeline field | Brian Paul | |
2011-02-11 | svga: add max DMA size check in svga_winsys_buffer_create() | Brian Paul | |
This fixes a problem when trying to use large (2K x 2K) texture images. We'll DMA the image in chunks. Patch written by Jose. | |||
2011-02-11 | svga: remove old comment, remove extra whitespace | Brian Paul | |
2011-02-11 | svga: Enable the draw pipeline for smooth lines. | José Fonseca | |
Spotted by Brian Paul. | |||
2011-02-11 | svga: Don't use the draw pipeline for non-AA lines with a fractional width. | José Fonseca | |
Spotted by Jakob Bornecrantz. | |||
2011-02-11 | svga: Stippled lines can also be drawn with triangles. | José Fonseca | |
2011-02-09 | svga: Don't advertise pixel shader addr register support. | José Fonseca | |
It's not fully supported. | |||
2011-02-03 | svga: rename a couple sampler, sampler view functions | Brian Paul | |
2011-02-03 | gallium/svga: added debug code for dumping framebuffer images (disabled) | Brian Paul | |
2011-02-03 | svga: Fix resource leak; undo temporary workaround. | José Fonseca | |
Leak was introduced when fixing strict aliasing violation in this code: the reference counting was preserved, but the destructor call on zero reference count was not. | |||
2011-02-03 | svga: Temporarily disable buffer DMA upload coalescing. | José Fonseca | |
See comment for more details. | |||
2011-02-03 | svga: Don't call swc->flush directly. | José Fonseca | |
Only svga_context_flush should do it, to ensure upload commands are not submitted to hardware in an inconsistent state. |