Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: src/gpu/vk/GrVkMemory.h

Issue 1723503002: Revert of Add vulkan files into skia repo. (Closed) Base URL: https://skia.googlesource.com/skia.git@merge
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/vk/GrVkInterface.cpp ('k') | src/gpu/vk/GrVkMemory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkMemory.h
diff --git a/src/gpu/vk/GrVkMemory.h b/src/gpu/vk/GrVkMemory.h
deleted file mode 100644
index 4d351dcd34e6db788d387627867985f4910f8696..0000000000000000000000000000000000000000
--- a/src/gpu/vk/GrVkMemory.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-* Copyright 2015 Google Inc.
-*
-* Use of this source code is governed by a BSD-style license that can be
-* found in the LICENSE file.
-*/
-
-#ifndef GrVkMemory_DEFINED
-#define GrVkMemory_DEFINED
-
-#include "vulkan/vulkan.h"
-
-class GrVkGpu;
-
-namespace GrVkMemory {
- /**
- * Allocates vulkan device memory and binds it to the gpu's device for the given object.
- * Returns true of allocation succeeded.
- */
- bool AllocAndBindBufferMemory(const GrVkGpu* gpu,
- VkBuffer buffer,
- const VkMemoryPropertyFlags flags,
- VkDeviceMemory* memory);
-
- bool AllocAndBindImageMemory(const GrVkGpu* gpu,
- VkImage image,
- const VkMemoryPropertyFlags flags,
- VkDeviceMemory* memory);
-
- VkPipelineStageFlags LayoutToPipelineStageFlags(const VkImageLayout layout);
-
- VkAccessFlags LayoutToSrcAccessMask(const VkImageLayout layout);
-}
-
-#endif
« no previous file with comments | « src/gpu/vk/GrVkInterface.cpp ('k') | src/gpu/vk/GrVkMemory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698