aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_blitter_pipe.c
Commit message (Collapse)AuthorAgeFilesLines
* ilo: embed ilo_state_viewport in ilo_viewport_stateChia-I Wu2015-06-151-1/+1
|
* ilo: let shaders determine sampler countsChia-I Wu2014-10-041-4/+4
| | | | | | | When a shader needs N samplers, we should upload N samplers and not depend on how many are bound. Signed-off-by: Chia-I Wu <[email protected]>
* ilo: handle conditional rendering in the contextChia-I Wu2014-09-221-5/+3
| | | | | | Conditional rendering is not limited to draw_vbo(). Move the support to ilo_context, and replace ilo_3d_pass_render_condition() by ilo_skip_rendering().
* ilo: add a new struct for context statesChia-I Wu2014-09-201-24/+27
| | | | | | | | | | Move pipe states in ilo_context to the new ilo_state_vector. The motivation is that ilo_context consists of several loosely related things. When we need an ilo_context somewhere, we usually need only one or two of the things in it. This change makes ilo_state_vector one such thing. An immediate result is that we no longer need ilo_context in 3D pipelines, something we have planned for since early days.
* gallium/u_blitter: remove useless parameters from some functionsMarek Olšák2013-12-141-6/+2
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium/util: implement layered framebuffer clear in u_blitterMarek Olšák2013-12-031-1/+1
| | | | | | | | | | | | | All bound layers (from first_layer to last_layer) should be cleared. This uses a vertex shader which outputs gl_Layer = gl_InstanceID, so each instance goes to a different layer. By rendering a quad and setting the instance count to the number of layers, it will trivially clear all layers. This requires AMD_vertex_shader_layer (or PIPE_CAP_TGSI_VS_LAYER), which only radeonsi supports at the moment. r600 could do this too. Standard DX11 hardware will have to use a geometry shader though, which has higher overhead.
* ilo: clean up ilo_blitter_pipe_begin()Chia-I Wu2013-07-131-24/+32
| | | | | Document why certain states need to be saved, and fix a bug when blitting with scissor enabled.
* ilo: honor render condition in blitterChia-I Wu2013-06-251-0/+6
| | | | | | Make pass_render_condition() available for blitter, and check for render condition in (and only in) clear(), clear_render_target(), and clear_depth_stencil().
* ilo: add pipe-based copy method to ilo_blitterChia-I Wu2013-06-171-1/+20
| | | | It enables accelerated resource_copy_region() when blt-based method fails.
* ilo: replace util_blitter by ilo_blitterChia-I Wu2013-06-171-0/+196
ilo_blitter is just a wrapper for util_blitter for now. We will port BLT code to ilo_blitter shortly.