aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_blitter_blt.c
Commit message (Collapse)AuthorAgeFilesLines
* ilo: use genhw command opcodesChia-I Wu2014-08-261-13/+8
| | | | | Replace ILO_GPE_MI and ILO_GPE_CMD with magic values by descriptive genhw macros.
* ilo: replace domains by reloc flagsChia-I Wu2014-08-261-10/+6
| | | | | It is simpler and is supported by the kernel. It cannot be used with libdrm_intel yet though.
* ilo: migrate to ilo_layoutChia-I Wu2014-08-191-20/+24
| | | | Embed an ilo_layout in ilo_texture, and remove now duplicated members.
* gallium/util: use ui[4] instead of ui in union util_colorRoland Scheidegger2014-04-251-2/+2
| | | | | | | | util_color often merely represents a collection of bytes, however it is inconvenient if those bytes can only be accessed as floats/doubles for int formats exceeding 32bits. (Note that since rgba8 formats use one uint, not 4 bytes, hence the byte and short member were left as is.)
* ilo: use only defines from genhw headersChia-I Wu2014-04-141-21/+22
| | | | Stop including classic driver headers in genhw.h, with some formatting fixes.
* ilo: scripted conversion to genhw headersChia-I Wu2014-04-141-20/+20
| | | | Hopefully my four hundred line sed script is correct.
* ilo: add genhw headersChia-I Wu2014-04-141-1/+1
| | | | | All except genhw.h are generated by https://github.com/olvaffe/envytools/. intel_chipset.h is deprecated.
* ilo: move ring types to winsysChia-I Wu2014-03-101-1/+1
| | | | | It results in less code despite that i915_drm.h specifies the ring type as part of the execution flags.
* ilo: rework winsys batch buffer functionsChia-I Wu2014-03-101-1/+1
| | | | | | | | | | | Rename intel_winsys_check_aperture_size() to intel_winsys_can_submit_bo(), intel_bo_exec() to intel_winsys_submit_bo(), and intel_winsys_decode_commands() to intel_winsys_decode_bo(). Make a semantic change to ignore intel_context when the ring is not the render ring.
* ilo: resolve Z/HiZ correctlyChia-I Wu2014-01-081-0/+10
| | | | | | When the depth buffer is to be read, perform a Depth Buffer Resolve if it has been rendered. When the depth buffer is to be rendered, perform a HiZ Buffer Resolve when the depth buffer is modified externally.
* ilo: rename and add an accessor for texture slicesChia-I Wu2014-01-081-3/+3
| | | | | Rename ilo_texture::slice_offsets to ilo_texture::slices and add an accessor, ilo_texture_get_slice().
* ilo: add ILO_DEBUG=flushChia-I Wu2013-08-201-2/+2
| | | | | | | | When specified, ilo will print a line similar to cp flushed for render with 949+888 DWords (22.4%) because of frame end for every ilo_cp_flush() call.
* ilo: honor render condition in blitterChia-I Wu2013-06-251-0/+7
| | | | | | 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 BLT-based blitting methods to ilo_blitterChia-I Wu2013-06-171-0/+805
Port BLT code in ilo_blit.c to BLT-based blitting methods of ilo_blitter. Add BLT-based clears. The latter is verifed with util_clear(), but it is not in use yet.