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

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

Issue 1921963003: Fix vulkan build on linux and android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « no previous file | src/gpu/vk/GrVkPipelineState.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void discard(GrRenderTarget*) override {} 66 void discard(GrRenderTarget*) override {}
67 67
68 bool onCopySurface(GrSurface* dst, 68 bool onCopySurface(GrSurface* dst,
69 GrSurface* src, 69 GrSurface* src,
70 const SkIRect& srcRect, 70 const SkIRect& srcRect,
71 const SkIPoint& dstPoint) override; 71 const SkIPoint& dstPoint) override;
72 72
73 void onGetMultisampleSpecs(GrRenderTarget* rt, 73 void onGetMultisampleSpecs(GrRenderTarget* rt,
74 const GrStencilSettings&, 74 const GrStencilSettings&,
75 int* effectiveSampleCnt, 75 int* effectiveSampleCnt,
76 SkAutoTDeleteArray<SkPoint>*); 76 SkAutoTDeleteArray<SkPoint>*) override;
77 77
78 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override; 78 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override;
79 79
80 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} 80 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {}
81 81
82 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, 82 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
83 GrPixelConfig config) overri de; 83 GrPixelConfig config) overri de;
84 bool isTestingOnlyBackendTexture(GrBackendObject id) const override; 84 bool isTestingOnlyBackendTexture(GrBackendObject id) const override;
85 void deleteTestingOnlyBackendTexture(GrBackendObject id, bool abandonTexture ) override; 85 void deleteTestingOnlyBackendTexture(GrBackendObject id, bool abandonTexture ) override;
86 86
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 // Shaderc compiler used for compiling glsl in spirv. We only want to create the compiler once 222 // Shaderc compiler used for compiling glsl in spirv. We only want to create the compiler once
223 // since there is significant overhead to the first compile of any compiler. 223 // since there is significant overhead to the first compile of any compiler.
224 shaderc_compiler_t fCompiler; 224 shaderc_compiler_t fCompiler;
225 225
226 226
227 typedef GrGpu INHERITED; 227 typedef GrGpu INHERITED;
228 }; 228 };
229 229
230 #endif 230 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/vk/GrVkPipelineState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698