diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-09-21 13:47:17 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-09-21 13:47:17 -0400 |
commit | e97a78840fbe62e9e9a8331e96392d6be7c2eca0 (patch) | |
tree | 1ba283aed65e18b140c286062d38df190e3d4a91 /gsk | |
parent | dbc0caf27d94d571de2ab6f00e4bb1df6a738925 (diff) | |
download | gtk+-e97a78840fbe62e9e9a8331e96392d6be7c2eca0.tar.gz |
gsk: vulkan: Drop an unused api
We don't use the upload-single-region api anymore.
No need to keep it around.
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/gskvulkanimage.c | 21 | ||||
-rw-r--r-- | gsk/gskvulkanimageprivate.h | 8 |
2 files changed, 0 insertions, 29 deletions
diff --git a/gsk/gskvulkanimage.c b/gsk/gskvulkanimage.c index 5ab2ae6d6e..2540d8a58c 100644 --- a/gsk/gskvulkanimage.c +++ b/gsk/gskvulkanimage.c @@ -663,27 +663,6 @@ gsk_vulkan_image_download (GskVulkanImage *self, } void -gsk_vulkan_image_upload_region (GskVulkanImage *self, - GskVulkanUploader *uploader, - guchar *data, - gsize width, - gsize height, - gsize stride, - gsize x, - gsize y) -{ - gsk_vulkan_image_upload_regions (self, uploader, 1, (GskImageRegion[1]) { - { - .data = data, - .width = width, - .height = height, - .stride = stride, - .x = x, - .y = y - } }); -} - -void gsk_vulkan_image_upload_regions (GskVulkanImage *self, GskVulkanUploader *uploader, guint num_regions, diff --git a/gsk/gskvulkanimageprivate.h b/gsk/gskvulkanimageprivate.h index 3aa0263417..8676062c04 100644 --- a/gsk/gskvulkanimageprivate.h +++ b/gsk/gskvulkanimageprivate.h @@ -31,14 +31,6 @@ GskVulkanImage * gsk_vulkan_image_new_from_data (GskVulk gsize width, gsize height, gsize stride); -void gsk_vulkan_image_upload_region (GskVulkanImage *image, - GskVulkanUploader *uploader, - guchar *data, - gsize width, - gsize height, - gsize stride, - gsize x, - gsize y); typedef struct { guchar *data; |