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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 void* buffer, | 145 void* buffer, |
146 size_t rowBytes) SK_OVERRIDE; | 146 size_t rowBytes) SK_OVERRIDE; |
147 | 147 |
148 virtual bool onWriteTexturePixels(GrTexture* texture, | 148 virtual bool onWriteTexturePixels(GrTexture* texture, |
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 onInstantGpuTraceEvent(const char* marker) SK_OVERRIDE; |
| 156 virtual void onPushGpuTraceEvent(const char* marker) SK_OVERRIDE; |
| 157 virtual void onPopGpuTraceEvent() SK_OVERRIDE; |
| 158 |
155 virtual void onGpuDraw(const DrawInfo&) SK_OVERRIDE; | 159 virtual void onGpuDraw(const DrawInfo&) SK_OVERRIDE; |
156 | 160 |
157 virtual void onGpuStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; | 161 virtual void onGpuStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; |
158 virtual void onGpuDrawPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; | 162 virtual void onGpuDrawPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; |
159 | 163 |
160 virtual void clearStencil() SK_OVERRIDE; | 164 virtual void clearStencil() SK_OVERRIDE; |
161 virtual void clearStencilClip(const SkIRect& rect, | 165 virtual void clearStencilClip(const SkIRect& rect, |
162 bool insideClip) SK_OVERRIDE; | 166 bool insideClip) SK_OVERRIDE; |
163 virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCop
y) SK_OVERRIDE; | 167 virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCop
y) SK_OVERRIDE; |
164 | 168 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 ///@} | 453 ///@} |
450 | 454 |
451 // we record what stencil format worked last time to hopefully exit early | 455 // we record what stencil format worked last time to hopefully exit early |
452 // from our loop that tries stencil formats and calls check fb status. | 456 // from our loop that tries stencil formats and calls check fb status. |
453 int fLastSuccessfulStencilFmtIdx; | 457 int fLastSuccessfulStencilFmtIdx; |
454 | 458 |
455 typedef GrGpu INHERITED; | 459 typedef GrGpu INHERITED; |
456 }; | 460 }; |
457 | 461 |
458 #endif | 462 #endif |
OLD | NEW |