| 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 GrGpu_DEFINED | 8 #ifndef GrGpu_DEFINED |
| 9 #define GrGpu_DEFINED | 9 #define GrGpu_DEFINED |
| 10 | 10 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 */ | 95 */ |
| 96 GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted, | 96 GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted, |
| 97 const void* srcData, size_t rowBytes); | 97 const void* srcData, size_t rowBytes); |
| 98 | 98 |
| 99 /** | 99 /** |
| 100 * Implements GrTextureProvider::wrapBackendTexture | 100 * Implements GrTextureProvider::wrapBackendTexture |
| 101 */ | 101 */ |
| 102 GrTexture* wrapBackendTexture(const GrBackendTextureDesc&, GrWrapOwnership); | 102 GrTexture* wrapBackendTexture(const GrBackendTextureDesc&, GrWrapOwnership); |
| 103 | 103 |
| 104 /** | 104 /** |
| 105 * Implements GrTextureProvider::wrapBackendTexture | 105 * Implements GrTextureProvider::wrapBackendRenderTarget |
| 106 */ | 106 */ |
| 107 GrRenderTarget* wrapBackendRenderTarget(const GrBackendRenderTargetDesc&, Gr
WrapOwnership); | 107 GrRenderTarget* wrapBackendRenderTarget(const GrBackendRenderTargetDesc&, Gr
WrapOwnership); |
| 108 | 108 |
| 109 /** | 109 /** |
| 110 * Implements GrTextureProvider::wrapBackendTextureAsRenderTarget | 110 * Implements GrTextureProvider::wrapBackendTextureAsRenderTarget |
| 111 */ | 111 */ |
| 112 GrRenderTarget* wrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&
, GrWrapOwnership); | 112 GrRenderTarget* wrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&
, GrWrapOwnership); |
| 113 | 113 |
| 114 /** | 114 /** |
| 115 * Creates a vertex buffer. | 115 * Creates a vertex buffer. |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 ResetTimestamp fResetTi
mestamp; | 582 ResetTimestamp fResetTi
mestamp; |
| 583 uint32_t fResetBi
ts; | 583 uint32_t fResetBi
ts; |
| 584 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. | 584 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. |
| 585 GrContext* fContext
; | 585 GrContext* fContext
; |
| 586 | 586 |
| 587 friend class GrPathRendering; | 587 friend class GrPathRendering; |
| 588 typedef SkRefCnt INHERITED; | 588 typedef SkRefCnt INHERITED; |
| 589 }; | 589 }; |
| 590 | 590 |
| 591 #endif | 591 #endif |
| OLD | NEW |