diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-08 20:05:53 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-09 18:35:51 +0100 |
commit | 85bc9ff36b4a8cb0e1b2b87a0d13bc98605fd590 (patch) | |
tree | 38240d23b122c96a78d131b059c60177057bd65a /gsk/gskvulkanimageprivate.h | |
parent | b2e30fb66e2fe85f94fe8a5a3a5a23bd9435253a (diff) | |
download | gtk+-85bc9ff36b4a8cb0e1b2b87a0d13bc98605fd590.tar.gz |
vulkan: Hook up image upload mechanism to env variables
Instead of having to decie at compile-time, check if
GSK_RENDERING=staging-image was given, and if so, select the staging
image upload mode.
Diffstat (limited to 'gsk/gskvulkanimageprivate.h')
-rw-r--r-- | gsk/gskvulkanimageprivate.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gsk/gskvulkanimageprivate.h b/gsk/gskvulkanimageprivate.h index 7c089c2b7b..57686eac04 100644 --- a/gsk/gskvulkanimageprivate.h +++ b/gsk/gskvulkanimageprivate.h @@ -5,14 +5,6 @@ G_BEGIN_DECLS -/* Modify here for benchmarking */ -#define GSK_VULKAN_UPLOAD_IMAGE_DEFAULT GSK_VULKAN_UPLOAD_DIRECTLY - -typedef enum { - GSK_VULKAN_UPLOAD_DIRECTLY, - GSK_VULKAN_UPLOAD_VIA_STAGING_IMAGE -} GstkVulkanImageUpload; - typedef struct _GskVulkanImage GskVulkanImage; GskVulkanImage * gsk_vulkan_image_new_from_data (GdkVulkanContext *context, |