| 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 GrInOrderDrawBuffer_DEFINED | 8 #ifndef GrInOrderDrawBuffer_DEFINED |
| 9 #define GrInOrderDrawBuffer_DEFINED | 9 #define GrInOrderDrawBuffer_DEFINED |
| 10 | 10 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 const float transforms[], PathTransformType, | 265 const float transforms[], PathTransformType, |
| 266 GrPathRendering::FillType, const GrDeviceCoordTextu
re*) SK_OVERRIDE; | 266 GrPathRendering::FillType, const GrDeviceCoordTextu
re*) SK_OVERRIDE; |
| 267 | 267 |
| 268 virtual bool onReserveVertexSpace(size_t vertexSize, | 268 virtual bool onReserveVertexSpace(size_t vertexSize, |
| 269 int vertexCount, | 269 int vertexCount, |
| 270 void** vertices) SK_OVERRIDE; | 270 void** vertices) SK_OVERRIDE; |
| 271 virtual bool onReserveIndexSpace(int indexCount, | 271 virtual bool onReserveIndexSpace(int indexCount, |
| 272 void** indices) SK_OVERRIDE; | 272 void** indices) SK_OVERRIDE; |
| 273 virtual void releaseReservedVertexSpace() SK_OVERRIDE; | 273 virtual void releaseReservedVertexSpace() SK_OVERRIDE; |
| 274 virtual void releaseReservedIndexSpace() SK_OVERRIDE; | 274 virtual void releaseReservedIndexSpace() SK_OVERRIDE; |
| 275 virtual void onSetVertexSourceToArray(const void* vertexArray, | |
| 276 int vertexCount) SK_OVERRIDE; | |
| 277 virtual void onSetIndexSourceToArray(const void* indexArray, | |
| 278 int indexCount) SK_OVERRIDE; | |
| 279 virtual void releaseVertexArray() SK_OVERRIDE; | |
| 280 virtual void releaseIndexArray() SK_OVERRIDE; | |
| 281 virtual void geometrySourceWillPush() SK_OVERRIDE; | 275 virtual void geometrySourceWillPush() SK_OVERRIDE; |
| 282 virtual void geometrySourceWillPop(const GeometrySrcState& restoredState) SK
_OVERRIDE; | 276 virtual void geometrySourceWillPop(const GeometrySrcState& restoredState) SK
_OVERRIDE; |
| 283 virtual void willReserveVertexAndIndexSpace(int vertexCount, | 277 virtual void willReserveVertexAndIndexSpace(int vertexCount, |
| 284 int indexCount) SK_OVERRIDE; | 278 int indexCount) SK_OVERRIDE; |
| 285 virtual bool onCopySurface(GrSurface* dst, | 279 virtual bool onCopySurface(GrSurface* dst, |
| 286 GrSurface* src, | 280 GrSurface* src, |
| 287 const SkIRect& srcRect, | 281 const SkIRect& srcRect, |
| 288 const SkIPoint& dstPoint) SK_OVERRIDE; | 282 const SkIPoint& dstPoint) SK_OVERRIDE; |
| 289 virtual bool onCanCopySurface(GrSurface* dst, | 283 virtual bool onCanCopySurface(GrSurface* dst, |
| 290 GrSurface* src, | 284 GrSurface* src, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 typedef SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> GeoPoolStateS
tack; | 343 typedef SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> GeoPoolStateS
tack; |
| 350 | 344 |
| 351 GeoPoolStateStack fGeoPoolStateStack; | 345 GeoPoolStateStack fGeoPoolStateStack; |
| 352 bool fFlushing; | 346 bool fFlushing; |
| 353 uint32_t fDrawID; | 347 uint32_t fDrawID; |
| 354 | 348 |
| 355 typedef GrClipTarget INHERITED; | 349 typedef GrClipTarget INHERITED; |
| 356 }; | 350 }; |
| 357 | 351 |
| 358 #endif | 352 #endif |
| OLD | NEW |