Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: src/gpu/GrInOrderDrawBuffer.h

Issue 699733002: removing setVertexArraySource from drawtarget (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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; 275 virtual void releaseVertexArray() SK_OVERRIDE;
280 virtual void releaseIndexArray() SK_OVERRIDE; 276 virtual void releaseIndexArray() SK_OVERRIDE;
281 virtual void geometrySourceWillPush() SK_OVERRIDE; 277 virtual void geometrySourceWillPush() SK_OVERRIDE;
282 virtual void geometrySourceWillPop(const GeometrySrcState& restoredState) SK _OVERRIDE; 278 virtual void geometrySourceWillPop(const GeometrySrcState& restoredState) SK _OVERRIDE;
283 virtual void willReserveVertexAndIndexSpace(int vertexCount, 279 virtual void willReserveVertexAndIndexSpace(int vertexCount,
284 int indexCount) SK_OVERRIDE; 280 int indexCount) SK_OVERRIDE;
285 virtual bool onCopySurface(GrSurface* dst, 281 virtual bool onCopySurface(GrSurface* dst,
286 GrSurface* src, 282 GrSurface* src,
287 const SkIRect& srcRect, 283 const SkIRect& srcRect,
288 const SkIPoint& dstPoint) SK_OVERRIDE; 284 const SkIPoint& dstPoint) SK_OVERRIDE;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 typedef SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> GeoPoolStateS tack; 345 typedef SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> GeoPoolStateS tack;
350 346
351 GeoPoolStateStack fGeoPoolStateStack; 347 GeoPoolStateStack fGeoPoolStateStack;
352 bool fFlushing; 348 bool fFlushing;
353 uint32_t fDrawID; 349 uint32_t fDrawID;
354 350
355 typedef GrClipTarget INHERITED; 351 typedef GrClipTarget INHERITED;
356 }; 352 };
357 353
358 #endif 354 #endif
OLDNEW
« src/gpu/GrDrawTarget.h ('K') | « src/gpu/GrGpu.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698