da16cce7d9
Core Skia will always include our own SkiaVulkan.h which basically just includes vulkan_core.h. All platform vulkan specific stuff must be include by the client in their own vulkan.h file. Our public interface is set up that we only use vulkan objects that will be present in all versions of vulkan headers that the client could include. Bug: skia: Change-Id: I6673fd91498eabcc923d65d20f2b5e0a89b4ccf6 Reviewed-on: https://skia-review.googlesource.com/142985 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
19 lines
517 B
C
19 lines
517 B
C
/*
|
|
* Copyright 2018 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
// We use this header to include vk_mem_alloc.h to make sure we always include GrVkDefines.h first.
|
|
// We need to do this so that the corect defines are setup before we include vulkan.h inside of
|
|
// vk_mem_alloc.h
|
|
|
|
#ifndef GrVulkanMemoryAllocator_DEFINED
|
|
#define GrVulkanMemoryAllocator_DEFINED
|
|
|
|
#include "../vulkan/SkiaVulkan.h"
|
|
#include "include/vk_mem_alloc.h"
|
|
|
|
#endif
|