| OLD | NEW | 
|---|
| 1 | 1 | 
| 2 /* | 2 /* | 
| 3  * Copyright 2011 Google Inc. | 3  * Copyright 2011 Google Inc. | 
| 4  * | 4  * | 
| 5  * Use of this source code is governed by a BSD-style license that can be | 5  * Use of this source code is governed by a BSD-style license that can be | 
| 6  * found in the LICENSE file. | 6  * found in the LICENSE file. | 
| 7  */ | 7  */ | 
| 8 | 8 | 
| 9 | 9 | 
| 10 | 10 | 
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 70 | 70 | 
| 71     bool isFlushing() const { return fFlushing; } | 71     bool isFlushing() const { return fFlushing; } | 
| 72 | 72 | 
| 73     // overrides from GrDrawTarget | 73     // overrides from GrDrawTarget | 
| 74     virtual bool geometryHints(int* vertexCount, | 74     virtual bool geometryHints(int* vertexCount, | 
| 75                                int* indexCount) const SK_OVERRIDE; | 75                                int* indexCount) const SK_OVERRIDE; | 
| 76     virtual void clear(const GrIRect* rect, | 76     virtual void clear(const GrIRect* rect, | 
| 77                        GrColor color, | 77                        GrColor color, | 
| 78                        GrRenderTarget* renderTarget = NULL) SK_OVERRIDE; | 78                        GrRenderTarget* renderTarget = NULL) SK_OVERRIDE; | 
| 79 | 79 | 
|  | 80     virtual void initCopySurfaceDstDesc(const GrSurface* src, GrTextureDesc* des
     c) SK_OVERRIDE; | 
|  | 81 | 
|  | 82 | 
| 80 protected: | 83 protected: | 
| 81     virtual void clipWillBeSet(const GrClipData* newClip) SK_OVERRIDE; | 84     virtual void clipWillBeSet(const GrClipData* newClip) SK_OVERRIDE; | 
| 82 | 85 | 
| 83 private: | 86 private: | 
| 84     enum Cmd { | 87     enum Cmd { | 
| 85         kDraw_Cmd           = 1, | 88         kDraw_Cmd           = 1, | 
| 86         kStencilPath_Cmd    = 2, | 89         kStencilPath_Cmd    = 2, | 
| 87         kSetState_Cmd       = 3, | 90         kSetState_Cmd       = 3, | 
| 88         kSetClip_Cmd        = 4, | 91         kSetClip_Cmd        = 4, | 
| 89         kClear_Cmd          = 5, | 92         kClear_Cmd          = 5, | 
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 222         size_t                          fUsedPoolIndexBytes; | 225         size_t                          fUsedPoolIndexBytes; | 
| 223     }; | 226     }; | 
| 224     SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> fGeoPoolStateStack; | 227     SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> fGeoPoolStateStack; | 
| 225 | 228 | 
| 226     bool                            fFlushing; | 229     bool                            fFlushing; | 
| 227 | 230 | 
| 228     typedef GrDrawTarget INHERITED; | 231     typedef GrDrawTarget INHERITED; | 
| 229 }; | 232 }; | 
| 230 | 233 | 
| 231 #endif | 234 #endif | 
| OLD | NEW | 
|---|