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

Side by Side Diff: tools/viewer/sk_app/VulkanWindowContext.h

Issue 2191673002: Remove unused render target members from GL and VK sk_app::WindowContext classes (Closed) Base URL: https://chromium.googlesource.com/skia.git@noapply
Patch Set: Created 4 years, 4 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 | « tools/viewer/sk_app/GLWindowContext.cpp ('k') | tools/viewer/sk_app/VulkanWindowContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 VulkanWindowContext_DEFINED 8 #ifndef VulkanWindowContext_DEFINED
9 #define VulkanWindowContext_DEFINED 9 #define VulkanWindowContext_DEFINED
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 VkPtr<PFN_vkCreateSharedSwapchainsKHR> fCreateSharedSwapchainsKHR; 90 VkPtr<PFN_vkCreateSharedSwapchainsKHR> fCreateSharedSwapchainsKHR;
91 91
92 VkSurfaceKHR fSurface; 92 VkSurfaceKHR fSurface;
93 VkSwapchainKHR fSwapchain; 93 VkSwapchainKHR fSwapchain;
94 uint32_t fPresentQueueIndex; 94 uint32_t fPresentQueueIndex;
95 VkQueue fPresentQueue; 95 VkQueue fPresentQueue;
96 96
97 uint32_t fImageCount; 97 uint32_t fImageCount;
98 VkImage* fImages; // images in the swapchain 98 VkImage* fImages; // images in the swapchain
99 VkImageLayout* fImageLayouts; // layouts of these images when not color attachment 99 VkImageLayout* fImageLayouts; // layouts of these images when not color attachment
100 sk_sp<GrRenderTarget>* fRenderTargets; // wrapped rendertargets for those i mages
101 sk_sp<SkSurface>* fSurfaces; // surfaces client renders to (may n ot be based on rts) 100 sk_sp<SkSurface>* fSurfaces; // surfaces client renders to (may n ot be based on rts)
102 VkCommandPool fCommandPool; 101 VkCommandPool fCommandPool;
103 BackbufferInfo* fBackbuffers; 102 BackbufferInfo* fBackbuffers;
104 uint32_t fCurrentBackbufferIndex; 103 uint32_t fCurrentBackbufferIndex;
105 }; 104 };
106 105
107 } // namespace sk_app 106 } // namespace sk_app
108 107
109 #endif // SK_VULKAN 108 #endif // SK_VULKAN
110 109
111 #endif 110 #endif
OLDNEW
« no previous file with comments | « tools/viewer/sk_app/GLWindowContext.cpp ('k') | tools/viewer/sk_app/VulkanWindowContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698