| OLD | NEW |
| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 bool mipMapSupport() const { return fMipMapSupport; } | 73 bool mipMapSupport() const { return fMipMapSupport; } |
| 74 bool twoSidedStencilSupport() const { return fTwoSidedStencilSupport; } | 74 bool twoSidedStencilSupport() const { return fTwoSidedStencilSupport; } |
| 75 bool stencilWrapOpsSupport() const { return fStencilWrapOpsSupport; } | 75 bool stencilWrapOpsSupport() const { return fStencilWrapOpsSupport; } |
| 76 bool hwAALineSupport() const { return fHWAALineSupport; } | 76 bool hwAALineSupport() const { return fHWAALineSupport; } |
| 77 bool shaderDerivativeSupport() const { return fShaderDerivativeSupport; } | 77 bool shaderDerivativeSupport() const { return fShaderDerivativeSupport; } |
| 78 bool geometryShaderSupport() const { return fGeometryShaderSupport; } | 78 bool geometryShaderSupport() const { return fGeometryShaderSupport; } |
| 79 bool dualSourceBlendingSupport() const { return fDualSourceBlendingSupport;
} | 79 bool dualSourceBlendingSupport() const { return fDualSourceBlendingSupport;
} |
| 80 bool pathRenderingSupport() const { return fPathRenderingSupport; } | 80 bool pathRenderingSupport() const { return fPathRenderingSupport; } |
| 81 bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; } | 81 bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; } |
| 82 bool discardRenderTargetSupport() const { return fDiscardRenderTargetSupport
; } | 82 bool discardRenderTargetSupport() const { return fDiscardRenderTargetSupport
; } |
| 83 #if GR_FORCE_GPU_TRACE_DEBUGGING |
| 84 bool gpuTracingSupport() const { return true; } |
| 85 #else |
| 83 bool gpuTracingSupport() const { return fGpuTracingSupport; } | 86 bool gpuTracingSupport() const { return fGpuTracingSupport; } |
| 87 #endif |
| 84 bool compressedTexSubImageSupport() const { return fCompressedTexSubImageSup
port; } | 88 bool compressedTexSubImageSupport() const { return fCompressedTexSubImageSup
port; } |
| 85 bool oversizedStencilSupport() const { return fOversizedStencilSupport; } | 89 bool oversizedStencilSupport() const { return fOversizedStencilSupport; } |
| 86 | 90 |
| 87 bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; } | 91 bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; } |
| 88 | 92 |
| 89 /** | 93 /** |
| 90 * Indicates whether GPU->CPU memory mapping for GPU resources such as verte
x buffers and | 94 * Indicates whether GPU->CPU memory mapping for GPU resources such as verte
x buffers and |
| 91 * textures allows partial mappings or full mappings. | 95 * textures allows partial mappings or full mappings. |
| 92 */ | 96 */ |
| 93 enum MapFlags { | 97 enum MapFlags { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 184 |
| 181 private: | 185 private: |
| 182 static uint32_t CreateUniqueID(); | 186 static uint32_t CreateUniqueID(); |
| 183 | 187 |
| 184 const uint32_t fUniqueID; | 188 const uint32_t fUniqueID; |
| 185 | 189 |
| 186 typedef SkRefCnt INHERITED; | 190 typedef SkRefCnt INHERITED; |
| 187 }; | 191 }; |
| 188 | 192 |
| 189 #endif | 193 #endif |
| OLD | NEW |