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

Side by Side Diff: src/gpu/vk/GrVkGpuCommandBuffer.h

Issue 2302333002: Small perf optimizations preparing sampled images in vulkan (Closed)
Patch Set: update comment Created 4 years, 3 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 | « no previous file | src/gpu/vk/GrVkGpuCommandBuffer.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 * 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 GrVkGpuCommandBuffer_DEFINED 8 #ifndef GrVkGpuCommandBuffer_DEFINED
9 #define GrVkGpuCommandBuffer_DEFINED 9 #define GrVkGpuCommandBuffer_DEFINED
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void onClear(GrRenderTarget* rt, const GrFixedClip&, GrColor color) override ; 55 void onClear(GrRenderTarget* rt, const GrFixedClip&, GrColor color) override ;
56 56
57 void onClearStencilClip(GrRenderTarget*, const GrFixedClip&, bool insideSten cilMask) override; 57 void onClearStencilClip(GrRenderTarget*, const GrFixedClip&, bool insideSten cilMask) override;
58 58
59 const GrVkRenderPass* fRenderPass; 59 const GrVkRenderPass* fRenderPass;
60 GrVkSecondaryCommandBuffer* fCommandBuffer; 60 GrVkSecondaryCommandBuffer* fCommandBuffer;
61 GrVkGpu* fGpu; 61 GrVkGpu* fGpu;
62 GrVkRenderTarget* fRenderTarget; 62 GrVkRenderTarget* fRenderTarget;
63 VkClearValue fColorClearValue; 63 VkClearValue fColorClearValue;
64 64
65 SkTArray<GrVkImage*> fSampledImages;
66
67 bool fIsEmpty; 65 bool fIsEmpty;
68 66
69 typedef GrGpuCommandBuffer INHERITED; 67 typedef GrGpuCommandBuffer INHERITED;
70 }; 68 };
71 69
72 #endif 70 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/vk/GrVkGpuCommandBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698