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

Side by Side Diff: src/gpu/gl/GrGpuGL.h

Issue 209413006: Make it possible to draw multiple paths at once to a draw target (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address review comment Created 6 years, 9 months 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/GrInOrderDrawBuffer.cpp ('k') | src/gpu/gl/GrGpuGL.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 GrGpuGL_DEFINED 8 #ifndef GrGpuGL_DEFINED
9 #define GrGpuGL_DEFINED 9 #define GrGpuGL_DEFINED
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 int left, int top, int width, int height, 149 int left, int top, int width, int height,
150 GrPixelConfig config, const void* buffer, 150 GrPixelConfig config, const void* buffer,
151 size_t rowBytes) SK_OVERRIDE; 151 size_t rowBytes) SK_OVERRIDE;
152 152
153 virtual void onResolveRenderTarget(GrRenderTarget* target) SK_OVERRIDE; 153 virtual void onResolveRenderTarget(GrRenderTarget* target) SK_OVERRIDE;
154 154
155 virtual void onGpuDraw(const DrawInfo&) SK_OVERRIDE; 155 virtual void onGpuDraw(const DrawInfo&) SK_OVERRIDE;
156 156
157 virtual void onGpuStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; 157 virtual void onGpuStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE;
158 virtual void onGpuDrawPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; 158 virtual void onGpuDrawPath(const GrPath*, SkPath::FillType) SK_OVERRIDE;
159 virtual void onGpuDrawPaths(size_t, const GrPath**, const SkMatrix*,
160 SkPath::FillType,
161 SkStrokeRec::Style) SK_OVERRIDE;
159 162
160 virtual void clearStencil() SK_OVERRIDE; 163 virtual void clearStencil() SK_OVERRIDE;
161 virtual void clearStencilClip(const SkIRect& rect, 164 virtual void clearStencilClip(const SkIRect& rect,
162 bool insideClip) SK_OVERRIDE; 165 bool insideClip) SK_OVERRIDE;
163 virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCop y) SK_OVERRIDE; 166 virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCop y) SK_OVERRIDE;
164 167
165 // GrDrawTarget ovverides 168 // GrDrawTarget ovverides
166 virtual void onInstantGpuTraceEvent(const char* marker) SK_OVERRIDE; 169 virtual void onInstantGpuTraceEvent(const char* marker) SK_OVERRIDE;
167 virtual void onPushGpuTraceEvent(const char* marker) SK_OVERRIDE; 170 virtual void onPushGpuTraceEvent(const char* marker) SK_OVERRIDE;
168 virtual void onPopGpuTraceEvent() SK_OVERRIDE; 171 virtual void onPopGpuTraceEvent() SK_OVERRIDE;
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 ///@} 458 ///@}
456 459
457 // we record what stencil format worked last time to hopefully exit early 460 // we record what stencil format worked last time to hopefully exit early
458 // from our loop that tries stencil formats and calls check fb status. 461 // from our loop that tries stencil formats and calls check fb status.
459 int fLastSuccessfulStencilFmtIdx; 462 int fLastSuccessfulStencilFmtIdx;
460 463
461 typedef GrGpu INHERITED; 464 typedef GrGpu INHERITED;
462 }; 465 };
463 466
464 #endif 467 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrInOrderDrawBuffer.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698