| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 GrGLGpu_DEFINED | 8 #ifndef GrGLGpu_DEFINED |
| 9 #define GrGLGpu_DEFINED | 9 #define GrGLGpu_DEFINED |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 bool copySurface(GrSurface* dst, | 99 bool copySurface(GrSurface* dst, |
| 100 GrSurface* src, | 100 GrSurface* src, |
| 101 const SkIRect& srcRect, | 101 const SkIRect& srcRect, |
| 102 const SkIPoint& dstPoint) override; | 102 const SkIPoint& dstPoint) override; |
| 103 | 103 |
| 104 bool canCopySurface(const GrSurface* dst, | 104 bool canCopySurface(const GrSurface* dst, |
| 105 const GrSurface* src, | 105 const GrSurface* src, |
| 106 const SkIRect& srcRect, | 106 const SkIRect& srcRect, |
| 107 const SkIPoint& dstPoint) override; | 107 const SkIPoint& dstPoint) override; |
| 108 | 108 |
| 109 void xferBarrier(GrXferBarrierType) override; | 109 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override; |
| 110 | 110 |
| 111 void buildProgramDesc(GrProgramDesc*, | 111 void buildProgramDesc(GrProgramDesc*, |
| 112 const GrPrimitiveProcessor&, | 112 const GrPrimitiveProcessor&, |
| 113 const GrPipeline&, | 113 const GrPipeline&, |
| 114 const GrBatchTracker&) const override; | 114 const GrBatchTracker&) const override; |
| 115 | 115 |
| 116 private: | 116 private: |
| 117 // GrGpu overrides | 117 // GrGpu overrides |
| 118 void onResetContext(uint32_t resetBits) override; | 118 void onResetContext(uint32_t resetBits) override; |
| 119 | 119 |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 | 470 |
| 471 // we record what stencil format worked last time to hopefully exit early | 471 // we record what stencil format worked last time to hopefully exit early |
| 472 // from our loop that tries stencil formats and calls check fb status. | 472 // from our loop that tries stencil formats and calls check fb status. |
| 473 int fLastSuccessfulStencilFmtIdx; | 473 int fLastSuccessfulStencilFmtIdx; |
| 474 | 474 |
| 475 typedef GrGpu INHERITED; | 475 typedef GrGpu INHERITED; |
| 476 friend class GrGLPathRendering; // For accessing setTextureUnit. | 476 friend class GrGLPathRendering; // For accessing setTextureUnit. |
| 477 }; | 477 }; |
| 478 | 478 |
| 479 #endif | 479 #endif |
| OLD | NEW |