gsk: vulkan: Drop an unused api

We don't use the upload-single-region api anymore.
No need to keep it around.
This commit is contained in:
Matthias Clasen 2017-09-21 13:47:17 -04:00
parent dbc0caf27d
commit e97a78840f
2 changed files with 0 additions and 29 deletions

View File

@ -662,27 +662,6 @@ gsk_vulkan_image_download (GskVulkanImage *self,
return texture;
}
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,

View File

@ -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;