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

Side by Side Diff: gpu/vulkan/vulkan_implementation.h

Issue 1776453003: Added initial implementation of Vulkan Render Passes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_vulkan
Patch Set: Adding logging/macros headers Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « gpu/vulkan/vulkan_image_view.cc ('k') | gpu/vulkan/vulkan_implementation.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_VULKAN_VULKAN_IMPLEMENTATION_H_ 5 #ifndef GPU_VULKAN_VULKAN_IMPLEMENTATION_H_
6 #define GPU_VULKAN_VULKAN_IMPLEMENTATION_H_ 6 #define GPU_VULKAN_VULKAN_IMPLEMENTATION_H_
7 7
8 #include <vulkan/vulkan.h> 8 #include <vulkan/vulkan.h>
9 9
10 #include "base/memory/scoped_ptr.h"
11
10 namespace gpu { 12 namespace gpu {
11 13
14 class VulkanCommandPool;
15
12 bool InitializeVulkan(); 16 bool InitializeVulkan();
13 17
14 VkInstance GetVulkanInstance(); 18 VkInstance GetVulkanInstance();
19 VkPhysicalDevice GetVulkanPhysicalDevice();
15 VkDevice GetVulkanDevice(); 20 VkDevice GetVulkanDevice();
16 VkQueue GetVulkanQueue(); 21 VkQueue GetVulkanQueue();
17 22
23 scoped_ptr<VulkanCommandPool> CreateCommandPool();
24
18 } // namespace gpu 25 } // namespace gpu
19 26
20 #endif // GPU_VULKAN_VULKAN_WSI_API_IMPLEMENTATION_H_ 27 #endif // GPU_VULKAN_VULKAN_WSI_API_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/vulkan/vulkan_image_view.cc ('k') | gpu/vulkan/vulkan_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698