| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 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 GrContext_DEFINED | 8 #ifndef GrContext_DEFINED |
| 9 #define GrContext_DEFINED | 9 #define GrContext_DEFINED |
| 10 | 10 |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 void getTestTarget(GrTestTarget*); | 669 void getTestTarget(GrTestTarget*); |
| 670 | 670 |
| 671 void addGpuTraceMarker(const GrGpuTraceMarker* marker); | 671 void addGpuTraceMarker(const GrGpuTraceMarker* marker); |
| 672 void removeGpuTraceMarker(const GrGpuTraceMarker* marker); | 672 void removeGpuTraceMarker(const GrGpuTraceMarker* marker); |
| 673 | 673 |
| 674 GrPathRenderer* getPathRenderer( | 674 GrPathRenderer* getPathRenderer( |
| 675 const GrDrawTarget* target, | 675 const GrDrawTarget* target, |
| 676 const GrPipelineBuilder*, | 676 const GrPipelineBuilder*, |
| 677 const SkMatrix& viewMatrix, | 677 const SkMatrix& viewMatrix, |
| 678 const SkPath& path, | 678 const SkPath& path, |
| 679 const SkStrokeRec& stroke, | 679 const GrStrokeInfo& stroke, |
| 680 bool allowSW, | 680 bool allowSW, |
| 681 GrPathRendererChain::DrawType drawType = GrPathRendererChain
::kColor_DrawType, | 681 GrPathRendererChain::DrawType drawType = GrPathRendererChain
::kColor_DrawType, |
| 682 GrPathRendererChain::StencilSupport* stencilSupport = NULL); | 682 GrPathRendererChain::StencilSupport* stencilSupport = NULL); |
| 683 | 683 |
| 684 /** | 684 /** |
| 685 * This returns a copy of the the GrContext::Options that was passed to the | 685 * This returns a copy of the the GrContext::Options that was passed to the |
| 686 * constructor of this class. | 686 * constructor of this class. |
| 687 */ | 687 */ |
| 688 const Options& getOptions() const { return fOptions; } | 688 const Options& getOptions() const { return fOptions; } |
| 689 | 689 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 */ | 793 */ |
| 794 static void TextBlobCacheOverBudgetCB(void* data); | 794 static void TextBlobCacheOverBudgetCB(void* data); |
| 795 | 795 |
| 796 // TODO see note on createTextContext | 796 // TODO see note on createTextContext |
| 797 friend class SkGpuDevice; | 797 friend class SkGpuDevice; |
| 798 | 798 |
| 799 typedef SkRefCnt INHERITED; | 799 typedef SkRefCnt INHERITED; |
| 800 }; | 800 }; |
| 801 | 801 |
| 802 #endif | 802 #endif |
| OLD | NEW |