| 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 GrInOrderDrawBuffer_DEFINED | 8 #ifndef GrInOrderDrawBuffer_DEFINED |
| 9 #define GrInOrderDrawBuffer_DEFINED | 9 #define GrInOrderDrawBuffer_DEFINED |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // overrides from GrDrawTarget | 69 // overrides from GrDrawTarget |
| 70 virtual bool geometryHints(int* vertexCount, | 70 virtual bool geometryHints(int* vertexCount, |
| 71 int* indexCount) const SK_OVERRIDE; | 71 int* indexCount) const SK_OVERRIDE; |
| 72 virtual void clear(const SkIRect* rect, | 72 virtual void clear(const SkIRect* rect, |
| 73 GrColor color, | 73 GrColor color, |
| 74 bool canIgnoreRect, | 74 bool canIgnoreRect, |
| 75 GrRenderTarget* renderTarget = NULL) SK_OVERRIDE; | 75 GrRenderTarget* renderTarget = NULL) SK_OVERRIDE; |
| 76 | 76 |
| 77 virtual void initCopySurfaceDstDesc(const GrSurface* src, GrTextureDesc* des
c) SK_OVERRIDE; | 77 virtual void initCopySurfaceDstDesc(const GrSurface* src, GrTextureDesc* des
c) SK_OVERRIDE; |
| 78 | 78 |
| 79 virtual void insertEventMarker(const char* marker) SK_OVERRIDE; |
| 80 virtual void pushGroupMarker(const char* marker) SK_OVERRIDE; |
| 81 virtual void popGroupMarker() SK_OVERRIDE; |
| 82 |
| 79 protected: | 83 protected: |
| 80 virtual void clipWillBeSet(const GrClipData* newClip) SK_OVERRIDE; | 84 virtual void clipWillBeSet(const GrClipData* newClip) SK_OVERRIDE; |
| 81 | 85 |
| 82 private: | 86 private: |
| 83 enum Cmd { | 87 enum Cmd { |
| 84 kDraw_Cmd = 1, | 88 kDraw_Cmd = 1, |
| 85 kStencilPath_Cmd = 2, | 89 kStencilPath_Cmd = 2, |
| 86 kSetState_Cmd = 3, | 90 kSetState_Cmd = 3, |
| 87 kSetClip_Cmd = 4, | 91 kSetClip_Cmd = 4, |
| 88 kClear_Cmd = 5, | 92 kClear_Cmd = 5, |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 | 244 |
| 241 virtual bool isIssued(uint32_t drawID) { return drawID != fDrawID; } | 245 virtual bool isIssued(uint32_t drawID) { return drawID != fDrawID; } |
| 242 | 246 |
| 243 bool fFlushing; | 247 bool fFlushing; |
| 244 uint32_t fDrawID; | 248 uint32_t fDrawID; |
| 245 | 249 |
| 246 typedef GrDrawTarget INHERITED; | 250 typedef GrDrawTarget INHERITED; |
| 247 }; | 251 }; |
| 248 | 252 |
| 249 #endif | 253 #endif |
| OLD | NEW |