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

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

Issue 22686002: Implement path cover with nv_path_rendering (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: addressing review comments Created 7 years, 2 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 | Annotate | Revision Log
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 8
9 #include "SkRefCnt.h" 9 #include "SkRefCnt.h"
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 bool eightBitPaletteSupport() const { return f8BitPaletteSupport; } 28 bool eightBitPaletteSupport() const { return f8BitPaletteSupport; }
29 bool npotTextureTileSupport() const { return fNPOTTextureTileSupport; } 29 bool npotTextureTileSupport() const { return fNPOTTextureTileSupport; }
30 bool twoSidedStencilSupport() const { return fTwoSidedStencilSupport; } 30 bool twoSidedStencilSupport() const { return fTwoSidedStencilSupport; }
31 bool stencilWrapOpsSupport() const { return fStencilWrapOpsSupport; } 31 bool stencilWrapOpsSupport() const { return fStencilWrapOpsSupport; }
32 bool hwAALineSupport() const { return fHWAALineSupport; } 32 bool hwAALineSupport() const { return fHWAALineSupport; }
33 bool shaderDerivativeSupport() const { return fShaderDerivativeSupport; } 33 bool shaderDerivativeSupport() const { return fShaderDerivativeSupport; }
34 bool geometryShaderSupport() const { return fGeometryShaderSupport; } 34 bool geometryShaderSupport() const { return fGeometryShaderSupport; }
35 bool dualSourceBlendingSupport() const { return fDualSourceBlendingSupport; } 35 bool dualSourceBlendingSupport() const { return fDualSourceBlendingSupport; }
36 bool bufferLockSupport() const { return fBufferLockSupport; } 36 bool bufferLockSupport() const { return fBufferLockSupport; }
37 bool pathStencilingSupport() const { return fPathStencilingSupport; } 37 bool pathRenderingSupport() const { return fPathRenderingSupport; }
38 bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; } 38 bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; }
39 bool reuseScratchTextures() const { return fReuseScratchTextures; } 39 bool reuseScratchTextures() const { return fReuseScratchTextures; }
40 40
41 int maxRenderTargetSize() const { return fMaxRenderTargetSize; } 41 int maxRenderTargetSize() const { return fMaxRenderTargetSize; }
42 int maxTextureSize() const { return fMaxTextureSize; } 42 int maxTextureSize() const { return fMaxTextureSize; }
43 // Will be 0 if MSAA is not supported 43 // Will be 0 if MSAA is not supported
44 int maxSampleCount() const { return fMaxSampleCount; } 44 int maxSampleCount() const { return fMaxSampleCount; }
45 45
46 protected: 46 protected:
47 bool f8BitPaletteSupport : 1; 47 bool f8BitPaletteSupport : 1;
48 bool fNPOTTextureTileSupport : 1; 48 bool fNPOTTextureTileSupport : 1;
49 bool fTwoSidedStencilSupport : 1; 49 bool fTwoSidedStencilSupport : 1;
50 bool fStencilWrapOpsSupport : 1; 50 bool fStencilWrapOpsSupport : 1;
51 bool fHWAALineSupport : 1; 51 bool fHWAALineSupport : 1;
52 bool fShaderDerivativeSupport : 1; 52 bool fShaderDerivativeSupport : 1;
53 bool fGeometryShaderSupport : 1; 53 bool fGeometryShaderSupport : 1;
54 bool fDualSourceBlendingSupport : 1; 54 bool fDualSourceBlendingSupport : 1;
55 bool fBufferLockSupport : 1; 55 bool fBufferLockSupport : 1;
56 bool fPathStencilingSupport : 1; 56 bool fPathRenderingSupport : 1;
57 bool fDstReadInShaderSupport : 1; 57 bool fDstReadInShaderSupport : 1;
58 bool fReuseScratchTextures : 1; 58 bool fReuseScratchTextures : 1;
59 59
60 int fMaxRenderTargetSize; 60 int fMaxRenderTargetSize;
61 int fMaxTextureSize; 61 int fMaxTextureSize;
62 int fMaxSampleCount; 62 int fMaxSampleCount;
63 63
64 typedef SkRefCnt INHERITED; 64 typedef SkRefCnt INHERITED;
65 }; 65 };
66 66
67 #endif 67 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698