summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_meta.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-30 16:23:59 -0700
committerJason Ekstrand <[email protected]>2016-09-13 12:40:13 -0700
commit57e87862eb23e20b06637ec1768018fceff95bc9 (patch)
treefda8dacc16772ab5990cbb10738020e63635bb13 /src/intel/vulkan/anv_meta.h
parent36286ccb9674c10255a61e096ac523e58c39c8cf (diff)
anv: Delete meta_blit2d
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]>
Diffstat (limited to 'src/intel/vulkan/anv_meta.h')
-rw-r--r--src/intel/vulkan/anv_meta.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/intel/vulkan/anv_meta.h b/src/intel/vulkan/anv_meta.h
index ae750f621b4..91c3c7d21ca 100644
--- a/src/intel/vulkan/anv_meta.h
+++ b/src/intel/vulkan/anv_meta.h
@@ -50,9 +50,6 @@ void anv_device_finish_meta_clear_state(struct anv_device *device);
VkResult anv_device_init_meta_resolve_state(struct anv_device *device);
void anv_device_finish_meta_resolve_state(struct anv_device *device);
-VkResult anv_device_init_meta_blit2d_state(struct anv_device *device);
-void anv_device_finish_meta_blit2d_state(struct anv_device *device);
-
void
anv_meta_save(struct anv_meta_saved_state *state,
const struct anv_cmd_buffer *cmd_buffer,
@@ -70,41 +67,6 @@ anv_meta_get_iview_layer(const struct anv_image *dest_image,
const VkImageSubresourceLayers *dest_subresource,
const VkOffset3D *dest_offset);
-struct anv_meta_blit2d_surf {
- struct anv_bo *bo;
- enum isl_tiling tiling;
-
- /** Base offset to the start of the image */
- uint64_t base_offset;
-
- /** The size of an element in bytes. */
- uint8_t bs;
-
- /** Pitch between rows in bytes. */
- uint32_t pitch;
-};
-
-struct anv_meta_blit2d_rect {
- uint32_t src_x, src_y;
- uint32_t dst_x, dst_y;
- uint32_t width, height;
-};
-
-void
-anv_meta_begin_blit2d(struct anv_cmd_buffer *cmd_buffer,
- struct anv_meta_saved_state *save);
-
-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);
-
-void
-anv_meta_end_blit2d(struct anv_cmd_buffer *cmd_buffer,
- struct anv_meta_saved_state *save);
-
#ifdef __cplusplus
}
#endif