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

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

Issue 1717393002: Add "sample locations" feature to GrProcessor (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_getmultisamp
Patch Set: vk stubs Created 4 years, 9 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 | « src/gpu/glsl/GrGLSLProgramBuilder.cpp ('k') | src/gpu/vk/GrVkGpu.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 2015 Google Inc. 2 * Copyright 2015 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 GrVkGpu_DEFINED 8 #ifndef GrVkGpu_DEFINED
9 #define GrVkGpu_DEFINED 9 #define GrVkGpu_DEFINED
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 void discard(GrRenderTarget*) override { 70 void discard(GrRenderTarget*) override {
71 SkDebugf("discard not yet implemented for Vulkan\n"); 71 SkDebugf("discard not yet implemented for Vulkan\n");
72 } 72 }
73 73
74 bool onCopySurface(GrSurface* dst, 74 bool onCopySurface(GrSurface* dst,
75 GrSurface* src, 75 GrSurface* src,
76 const SkIRect& srcRect, 76 const SkIRect& srcRect,
77 const SkIPoint& dstPoint) override; 77 const SkIPoint& dstPoint) override;
78 78
79 void onGetMultisampleSpecs(GrRenderTarget* rt,
80 const GrStencilSettings&,
81 int* effectiveSampleCnt,
82 SkAutoTDeleteArray<SkPoint>*);
83
79 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override { 84 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override {
80 SkDebugf("initCopySurfaceDstDesc not yet implemented for Vulkan\n"); 85 SkDebugf("initCopySurfaceDstDesc not yet implemented for Vulkan\n");
81 return false; 86 return false;
82 } 87 }
83 88
84 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} 89 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {}
85 90
86 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, 91 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
87 GrPixelConfig config) overri de; 92 GrPixelConfig config) overri de;
88 bool isTestingOnlyBackendTexture(GrBackendObject id) const override; 93 bool isTestingOnlyBackendTexture(GrBackendObject id) const override;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 shaderc_compiler_t fCompiler; 221 shaderc_compiler_t fCompiler;
217 222
218 // This is only for our current testing and building. The client should be h olding on to the 223 // This is only for our current testing and building. The client should be h olding on to the
219 // VkInstance. 224 // VkInstance.
220 VkInstance fVkInstance; 225 VkInstance fVkInstance;
221 226
222 typedef GrGpu INHERITED; 227 typedef GrGpu INHERITED;
223 }; 228 };
224 229
225 #endif 230 #endif
OLDNEW
« no previous file with comments | « src/gpu/glsl/GrGLSLProgramBuilder.cpp ('k') | src/gpu/vk/GrVkGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698