| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |