forked from AuroraMiddleware/gtk
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:
parent
dbc0caf27d
commit
e97a78840f
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user