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

Side by Side Diff: tools/vulkan/VulkanTestContext.h

Issue 1873453002: Some more improvements/fixes to the VulkanViewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove unnecessary files 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 /* 2 /*
3 * Copyright 2016 Google Inc. 3 * Copyright 2016 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef VulkanTestContext_DEFINED 8 #ifndef VulkanTestContext_DEFINED
9 #define VulkanTestContext_DEFINED 9 #define VulkanTestContext_DEFINED
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 VkSwapchainKHR fSwapchain; 74 VkSwapchainKHR fSwapchain;
75 uint32_t fPresentQueueIndex; 75 uint32_t fPresentQueueIndex;
76 VkQueue fPresentQueue; 76 VkQueue fPresentQueue;
77 int fWidth; 77 int fWidth;
78 int fHeight; 78 int fHeight;
79 GrPixelConfig fPixelConfig; 79 GrPixelConfig fPixelConfig;
80 80
81 uint32_t fImageCount; 81 uint32_t fImageCount;
82 VkImage* fImages; // images in the swapchain 82 VkImage* fImages; // images in the swapchain
83 VkImageLayout* fImageLayouts; // layouts of these images when not color attachment 83 VkImageLayout* fImageLayouts; // layouts of these images when not color attachment
84 sk_sp<SkSurface>* fSurfaces; // wrapped surface for those images 84 sk_sp<SkSurface>* fSurfaces; // wrapped surface for those images
egdaniel 2016/04/07 17:03:16 is this another line ending issue?
jvanverth1 2016/04/07 17:57:03 Done.
85 VkCommandPool fCommandPool; 85 VkCommandPool fCommandPool;
86 BackbufferInfo* fBackbuffers; 86 BackbufferInfo* fBackbuffers;
87 uint32_t fCurrentBackbufferIndex; 87 uint32_t fCurrentBackbufferIndex;
88 }; 88 };
89 89
90 #endif // SK_VULKAN 90 #endif // SK_VULKAN
91 91
92 #endif 92 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698