aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_meta.h
Commit message (Collapse)AuthorAgeFilesLines
* anv: Use blorp for doing MSAA resolvesJason Ekstrand2016-09-131-3/+0
| | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
* anv: Delete meta_blit2dJason Ekstrand2016-09-131-38/+0
| | | | | | | | Everything that we were once using the blit2d framework for is now done with blorp. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
* anv: Use blorp to implement VkBlitImageJason Ekstrand2016-09-131-3/+0
| | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
* Revert "anv/meta: Make meta_emit_blit() public"Nanley Chery2016-03-161-11/+0
| | | | | | | | | | This reverts commit f39168392243d6dacefbc8708b764c5978ff24df. Some conflicts had to be resolved in order for this revert to be successful. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* Revert "anv/meta: Prefix anv_ to meta_emit_blit()"Nanley Chery2016-03-161-1/+1
| | | | | | | This reverts commit 514c0557178b0325c59a28d68b0f250f0eeaddf5. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/blit2d: Copy anv_meta_blit.c functionsNanley Chery2016-03-161-0/+3
| | | | | | | These will be customized for blit2d operations. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Prefix anv_ to meta_emit_blit()Nanley Chery2016-03-091-1/+1
| | | | | | | Follow the convention for non-static functions. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
* anv/meta: Make meta_emit_blit() publicNanley Chery2016-03-091-0/+11
| | | | | | | | This can be reverted if the only other consumer, anv_meta_blit2d(), uses a different method. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
* anv/meta: Implement the blitter API functionsNanley Chery2016-03-031-3/+3
| | | | | | | | | | | | | | | | | Most of the code in anv_meta_blit2d() is borrowed from do_buffer_copy(). Create an image and image view for each rectangle. Note: For tiled RGB images, ISL will align the image's row_pitch up to the nearest tile width. v2 (Jason): Keep pitch in units of bytes Make src_format and dst_format variables s/dest/dst/ in every usage v3: Fix dst_image width Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Modify blitter API fieldsNanley Chery2016-03-031-18/+5
| | | | | | | | | | Some fields are unnecessary. The variables "pitch" and "bs" are used for consistency with ISL. v2: Keep pitch in units of bytes (Jason) Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Add the beginnings of a blitter APIJason Ekstrand2016-03-031-0/+48
| | | | | | | | | | This API is designed to be an abstraction that sits between the VkCmdCopy commands and the hardware. The idea is that it is simple enough that it *should* be implementable using the blitter but with enough extra data that we can implement it with the 3-D pipeline efficiently. One design objective is to allow the user to supply enough information that we can handle most blit operations with a single draw call even if they require copying multiple rectangles.
* Move the intel vulkan driver to src/intel/vulkanJason Ekstrand2016-02-181-0/+75