aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_meta.h
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2016-02-27 12:26:21 -0800
committerNanley Chery <[email protected]>2016-03-03 11:25:04 -0800
commit2e9b08b9b89c0cf10cc7ca73fd39380766943283 (patch)
tree769fb10741bd55b1fce2baed66e17fccd62364ea /src/intel/vulkan/anv_meta.h
parent032bf172b48211af8fc892747dc4600fb6595f99 (diff)
anv/meta: Implement the blitter API functions
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]>
Diffstat (limited to 'src/intel/vulkan/anv_meta.h')
-rw-r--r--src/intel/vulkan/anv_meta.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_meta.h b/src/intel/vulkan/anv_meta.h
index 952176453e3..587c044fa5f 100644
--- a/src/intel/vulkan/anv_meta.h
+++ b/src/intel/vulkan/anv_meta.h
@@ -90,18 +90,18 @@ struct anv_meta_blit2d_rect {
uint32_t width, height;
};
-static void
+void
anv_meta_begin_blit2d(struct anv_cmd_buffer *cmd_buffer,
struct anv_meta_saved_state *save);
-static void
+void
anv_meta_blit2d(struct anv_cmd_buffer *cmd_buffer,
struct anv_meta_blit2d_surf *src,
struct anv_meta_blit2d_surf *dst,
unsigned num_rects,
struct anv_meta_blit2d_rect *rects);
-static void
+void
anv_meta_end_blit2d(struct anv_cmd_buffer *cmd_buffer,
struct anv_meta_saved_state *save);