diff options
author | 2012-07-26 18:52:16 +0000 | |
---|---|---|
committer | 2012-07-26 18:52:16 +0000 | |
commit | beb1af78d016d2700c350487a383c6bcfa7e2e20 (patch) | |
tree | 0e114092e2335fd699ba53687b8a79f0f932d9b2 /src/gpu/GrDrawTarget.cpp | |
parent | cc6493bbef7c9c2adf4b1ed8701e2ed015ae745d (diff) |
Altered Ganesh's clip stack plumbing to pass down new GrClipData class
http://codereview.appspot.com/6454047/
git-svn-id: http://skia.googlecode.com/svn/trunk@4788 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrDrawTarget.cpp')
-rw-r--r-- | src/gpu/GrDrawTarget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp index 75a2cd71dd..8afe5b9926 100644 --- a/src/gpu/GrDrawTarget.cpp +++ b/src/gpu/GrDrawTarget.cpp @@ -440,7 +440,7 @@ void GrDrawTarget::VertexLayoutUnitTest() { #define DEBUG_INVAL_BUFFER 0xdeadcafe #define DEBUG_INVAL_START_IDX -1 -GrDrawTarget::GrDrawTarget() { +GrDrawTarget::GrDrawTarget() : fClip(NULL) { #if GR_DEBUG VertexLayoutUnitTest(); #endif @@ -476,12 +476,12 @@ void GrDrawTarget::releaseGeometry() { this->resetIndexSource(); } -void GrDrawTarget::setClip(const GrClip& clip) { +void GrDrawTarget::setClip(const GrClipData* clip) { clipWillBeSet(clip); fClip = clip; } -const GrClip& GrDrawTarget::getClip() const { +const GrClipData* GrDrawTarget::getClip() const { return fClip; } |