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

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

Issue 682223002: rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: const 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
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // overrides from GrDrawTarget 75 // overrides from GrDrawTarget
76 virtual bool geometryHints(int* vertexCount, 76 virtual bool geometryHints(int* vertexCount,
77 int* indexCount) const SK_OVERRIDE; 77 int* indexCount) const SK_OVERRIDE;
78 virtual void clear(const SkIRect* rect, 78 virtual void clear(const SkIRect* rect,
79 GrColor color, 79 GrColor color,
80 bool canIgnoreRect, 80 bool canIgnoreRect,
81 GrRenderTarget* renderTarget) SK_OVERRIDE; 81 GrRenderTarget* renderTarget) SK_OVERRIDE;
82 82
83 virtual void discard(GrRenderTarget*) SK_OVERRIDE; 83 virtual void discard(GrRenderTarget*) SK_OVERRIDE;
84 84
85 virtual void initCopySurfaceDstDesc(const GrSurface* src, GrTextureDesc* des c) SK_OVERRIDE; 85 virtual void initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* des c) SK_OVERRIDE;
86 86
87 protected: 87 protected:
88 virtual void clipWillBeSet(const GrClipData* newClip) SK_OVERRIDE; 88 virtual void clipWillBeSet(const GrClipData* newClip) SK_OVERRIDE;
89 89
90 private: 90 private:
91 enum { 91 enum {
92 kDraw_Cmd = 1, 92 kDraw_Cmd = 1,
93 kStencilPath_Cmd = 2, 93 kStencilPath_Cmd = 2,
94 kSetState_Cmd = 3, 94 kSetState_Cmd = 3,
95 kSetClip_Cmd = 4, 95 kSetClip_Cmd = 4,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 typedef SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> GeoPoolStateS tack; 329 typedef SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> GeoPoolStateS tack;
330 330
331 GeoPoolStateStack fGeoPoolStateStack; 331 GeoPoolStateStack fGeoPoolStateStack;
332 bool fFlushing; 332 bool fFlushing;
333 uint32_t fDrawID; 333 uint32_t fDrawID;
334 334
335 typedef GrDrawTarget INHERITED; 335 typedef GrDrawTarget INHERITED;
336 }; 336 };
337 337
338 #endif 338 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698