| 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 | 8 |
| 9 | 9 |
| 10 #ifndef GrGpuGL_DEFINED | 10 #ifndef GrGpuGL_DEFINED |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 const SkIRect& srcRect, | 95 const SkIRect& srcRect, |
| 96 const SkIPoint& dstPoint) SK_OVERRIDE; | 96 const SkIPoint& dstPoint) SK_OVERRIDE; |
| 97 | 97 |
| 98 virtual bool onCanCopySurface(GrSurface* dst, | 98 virtual bool onCanCopySurface(GrSurface* dst, |
| 99 GrSurface* src, | 99 GrSurface* src, |
| 100 const SkIRect& srcRect, | 100 const SkIRect& srcRect, |
| 101 const SkIPoint& dstPoint) SK_OVERRIDE; | 101 const SkIPoint& dstPoint) SK_OVERRIDE; |
| 102 | 102 |
| 103 private: | 103 private: |
| 104 // GrGpu overrides | 104 // GrGpu overrides |
| 105 virtual void onResetContext() SK_OVERRIDE; | 105 virtual void onResetContext(uint32_t resetBits) SK_OVERRIDE; |
| 106 | 106 |
| 107 virtual GrTexture* onCreateTexture(const GrTextureDesc& desc, | 107 virtual GrTexture* onCreateTexture(const GrTextureDesc& desc, |
| 108 const void* srcData, | 108 const void* srcData, |
| 109 size_t rowBytes) SK_OVERRIDE; | 109 size_t rowBytes) SK_OVERRIDE; |
| 110 virtual GrVertexBuffer* onCreateVertexBuffer(uint32_t size, | 110 virtual GrVertexBuffer* onCreateVertexBuffer(uint32_t size, |
| 111 bool dynamic) SK_OVERRIDE; | 111 bool dynamic) SK_OVERRIDE; |
| 112 virtual GrIndexBuffer* onCreateIndexBuffer(uint32_t size, | 112 virtual GrIndexBuffer* onCreateIndexBuffer(uint32_t size, |
| 113 bool dynamic) SK_OVERRIDE; | 113 bool dynamic) SK_OVERRIDE; |
| 114 virtual GrPath* onCreatePath(const SkPath&) SK_OVERRIDE; | 114 virtual GrPath* onCreatePath(const SkPath&) SK_OVERRIDE; |
| 115 virtual GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&) SK_OVER
RIDE; | 115 virtual GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&) SK_OVER
RIDE; |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 ///@} | 433 ///@} |
| 434 | 434 |
| 435 // we record what stencil format worked last time to hopefully exit early | 435 // we record what stencil format worked last time to hopefully exit early |
| 436 // from our loop that tries stencil formats and calls check fb status. | 436 // from our loop that tries stencil formats and calls check fb status. |
| 437 int fLastSuccessfulStencilFmtIdx; | 437 int fLastSuccessfulStencilFmtIdx; |
| 438 | 438 |
| 439 typedef GrGpu INHERITED; | 439 typedef GrGpu INHERITED; |
| 440 }; | 440 }; |
| 441 | 441 |
| 442 #endif | 442 #endif |
| OLD | NEW |