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

Side by Side Diff: include/gpu/vk/GrVkBackendContext.h

Issue 1848833005: First pass at VulkanViewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Revise setup and event handling 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
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrVkBackendContext_DEFINED 8 #ifndef GrVkBackendContext_DEFINED
9 #define GrVkBackendContext_DEFINED 9 #define GrVkBackendContext_DEFINED
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // in or transitioned to that family. 42 // in or transitioned to that family.
43 struct GrVkBackendContext : public SkRefCnt { 43 struct GrVkBackendContext : public SkRefCnt {
44 VkInstance fInstance; 44 VkInstance fInstance;
45 VkPhysicalDevice fPhysicalDevice; 45 VkPhysicalDevice fPhysicalDevice;
46 VkDevice fDevice; 46 VkDevice fDevice;
47 VkQueue fQueue; 47 VkQueue fQueue;
48 uint32_t fQueueFamilyIndex; 48 uint32_t fQueueFamilyIndex;
49 uint32_t fMinAPIVersion; 49 uint32_t fMinAPIVersion;
50 uint32_t fExtensions; 50 uint32_t fExtensions;
51 uint32_t fFeatures; 51 uint32_t fFeatures;
52 SkAutoTUnref<const GrVkInterface> fInterface; 52 SkAutoTUnref<const GrVkInterface>fInterface;
bsalomon 2016/04/05 14:24:43 was this accidental? I miss the space.
jvanverth1 2016/04/05 18:16:48 Done.
53 53
54 // Helper function to create the default Vulkan objects needed by the GrVkGp u object 54 // Helper function to create the default Vulkan objects needed by the GrVkGp u object
55 static const GrVkBackendContext* Create(); 55 static const GrVkBackendContext* Create();
56 56
57 ~GrVkBackendContext() override; 57 ~GrVkBackendContext() override;
58 }; 58 };
59 59
60 #endif 60 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698