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 GrGpuGL_DEFINED | 8 #ifndef GrGpuGL_DEFINED |
9 #define GrGpuGL_DEFINED | 9 #define GrGpuGL_DEFINED |
10 | 10 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 int left, int top, int width, int height, | 147 int left, int top, int width, int height, |
148 GrPixelConfig config, const void* buffer, | 148 GrPixelConfig config, const void* buffer, |
149 size_t rowBytes) SK_OVERRIDE; | 149 size_t rowBytes) SK_OVERRIDE; |
150 | 150 |
151 virtual void onResolveRenderTarget(GrRenderTarget* target) SK_OVERRIDE; | 151 virtual void onResolveRenderTarget(GrRenderTarget* target) SK_OVERRIDE; |
152 | 152 |
153 virtual void onGpuDraw(const DrawInfo&) SK_OVERRIDE; | 153 virtual void onGpuDraw(const DrawInfo&) SK_OVERRIDE; |
154 | 154 |
155 virtual void onGpuStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; | 155 virtual void onGpuStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; |
156 virtual void onGpuDrawPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; | 156 virtual void onGpuDrawPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; |
157 virtual void onGpuDrawPaths(size_t, const GrPath**, const SkMatrix*, | 157 virtual void onGpuDrawPaths(int, const GrPath**, const SkMatrix*, |
158 SkPath::FillType, | 158 SkPath::FillType, |
159 SkStrokeRec::Style) SK_OVERRIDE; | 159 SkStrokeRec::Style) SK_OVERRIDE; |
160 | 160 |
161 virtual void clearStencil() SK_OVERRIDE; | 161 virtual void clearStencil() SK_OVERRIDE; |
162 virtual void clearStencilClip(const SkIRect& rect, | 162 virtual void clearStencilClip(const SkIRect& rect, |
163 bool insideClip) SK_OVERRIDE; | 163 bool insideClip) SK_OVERRIDE; |
164 virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCop
y) SK_OVERRIDE; | 164 virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCop
y) SK_OVERRIDE; |
165 | 165 |
166 // GrDrawTarget ovverides | 166 // GrDrawTarget ovverides |
167 virtual void didAddGpuTraceMarker() SK_OVERRIDE; | 167 virtual void didAddGpuTraceMarker() SK_OVERRIDE; |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 ///@} | 454 ///@} |
455 | 455 |
456 // we record what stencil format worked last time to hopefully exit early | 456 // we record what stencil format worked last time to hopefully exit early |
457 // from our loop that tries stencil formats and calls check fb status. | 457 // from our loop that tries stencil formats and calls check fb status. |
458 int fLastSuccessfulStencilFmtIdx; | 458 int fLastSuccessfulStencilFmtIdx; |
459 | 459 |
460 typedef GrGpu INHERITED; | 460 typedef GrGpu INHERITED; |
461 }; | 461 }; |
462 | 462 |
463 #endif | 463 #endif |
OLD | NEW |