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

Side by Side Diff: src/gpu/GrDrawTargetCaps.h

Issue 174123003: Add hooks for GL_EXT_debug_marker in gpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 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/GrDrawTarget.cpp ('k') | src/gpu/GrInOrderDrawBuffer.h » ('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 2013 Google Inc. 3 * Copyright 2013 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 GrDrawTargetCaps_DEFINED 8 #ifndef GrDrawTargetCaps_DEFINED
9 #define GrDrawTargetCaps_DEFINED 9 #define GrDrawTargetCaps_DEFINED
10 10
(...skipping 22 matching lines...) Expand all
33 bool mipMapSupport() const { return fMipMapSupport; } 33 bool mipMapSupport() const { return fMipMapSupport; }
34 bool twoSidedStencilSupport() const { return fTwoSidedStencilSupport; } 34 bool twoSidedStencilSupport() const { return fTwoSidedStencilSupport; }
35 bool stencilWrapOpsSupport() const { return fStencilWrapOpsSupport; } 35 bool stencilWrapOpsSupport() const { return fStencilWrapOpsSupport; }
36 bool hwAALineSupport() const { return fHWAALineSupport; } 36 bool hwAALineSupport() const { return fHWAALineSupport; }
37 bool shaderDerivativeSupport() const { return fShaderDerivativeSupport; } 37 bool shaderDerivativeSupport() const { return fShaderDerivativeSupport; }
38 bool geometryShaderSupport() const { return fGeometryShaderSupport; } 38 bool geometryShaderSupport() const { return fGeometryShaderSupport; }
39 bool dualSourceBlendingSupport() const { return fDualSourceBlendingSupport; } 39 bool dualSourceBlendingSupport() const { return fDualSourceBlendingSupport; }
40 bool bufferLockSupport() const { return fBufferLockSupport; } 40 bool bufferLockSupport() const { return fBufferLockSupport; }
41 bool pathRenderingSupport() const { return fPathRenderingSupport; } 41 bool pathRenderingSupport() const { return fPathRenderingSupport; }
42 bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; } 42 bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; }
43 bool gpuTracingSupport() const { return fGpuTracingSupport; }
43 44
44 // Scratch textures not being reused means that those scratch textures 45 // Scratch textures not being reused means that those scratch textures
45 // that we upload to (i.e., don't have a render target) will not be 46 // that we upload to (i.e., don't have a render target) will not be
46 // recycled in the texture cache. This is to prevent ghosting by drivers 47 // recycled in the texture cache. This is to prevent ghosting by drivers
47 // (in particular for deferred architectures). 48 // (in particular for deferred architectures).
48 bool reuseScratchTextures() const { return fReuseScratchTextures; } 49 bool reuseScratchTextures() const { return fReuseScratchTextures; }
49 50
50 int maxRenderTargetSize() const { return fMaxRenderTargetSize; } 51 int maxRenderTargetSize() const { return fMaxRenderTargetSize; }
51 int maxTextureSize() const { return fMaxTextureSize; } 52 int maxTextureSize() const { return fMaxTextureSize; }
52 // Will be 0 if MSAA is not supported 53 // Will be 0 if MSAA is not supported
(...skipping 11 matching lines...) Expand all
64 bool fTwoSidedStencilSupport : 1; 65 bool fTwoSidedStencilSupport : 1;
65 bool fStencilWrapOpsSupport : 1; 66 bool fStencilWrapOpsSupport : 1;
66 bool fHWAALineSupport : 1; 67 bool fHWAALineSupport : 1;
67 bool fShaderDerivativeSupport : 1; 68 bool fShaderDerivativeSupport : 1;
68 bool fGeometryShaderSupport : 1; 69 bool fGeometryShaderSupport : 1;
69 bool fDualSourceBlendingSupport : 1; 70 bool fDualSourceBlendingSupport : 1;
70 bool fBufferLockSupport : 1; 71 bool fBufferLockSupport : 1;
71 bool fPathRenderingSupport : 1; 72 bool fPathRenderingSupport : 1;
72 bool fDstReadInShaderSupport : 1; 73 bool fDstReadInShaderSupport : 1;
73 bool fReuseScratchTextures : 1; 74 bool fReuseScratchTextures : 1;
75 bool fGpuTracingSupport : 1;
74 76
75 int fMaxRenderTargetSize; 77 int fMaxRenderTargetSize;
76 int fMaxTextureSize; 78 int fMaxTextureSize;
77 int fMaxSampleCount; 79 int fMaxSampleCount;
78 80
79 // The first entry for each config is without msaa and the second is with. 81 // The first entry for each config is without msaa and the second is with.
80 bool fConfigRenderSupport[kGrPixelConfigCnt][2]; 82 bool fConfigRenderSupport[kGrPixelConfigCnt][2];
81 83
82 typedef SkRefCnt INHERITED; 84 typedef SkRefCnt INHERITED;
83 }; 85 };
84 86
85 #endif 87 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrInOrderDrawBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698