diff options
author | John Reck <jreck@google.com> | 2012-07-30 16:45:46 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-07-31 17:02:41 -0700 |
commit | d9779adc025ab665fde1c9983e7793e96ab56d4e (patch) | |
tree | def08809ec911452fdbbb54ce6021facde00d788 /Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.h | |
parent | c514bacb0f4890026568d104f85ebba563bbe930 (diff) | |
download | external_webkit-d9779adc025ab665fde1c9983e7793e96ab56d4e.zip external_webkit-d9779adc025ab665fde1c9983e7793e96ab56d4e.tar.gz external_webkit-d9779adc025ab665fde1c9983e7793e96ab56d4e.tar.bz2 |
Switch GraphicsOperation to LinearAllocator
Change-Id: I9afb489c55a7acfdc35cfe8655d46ce47923b3df
Diffstat (limited to 'Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.h b/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.h index 3af1e2f..991e13f 100644 --- a/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.h +++ b/Source/WebCore/platform/graphics/android/context/PlatformGraphicsContextRecording.h @@ -37,7 +37,9 @@ class Operation; } class CanvasState; +class LinearAllocator; class RecordingImpl; + class Recording : public SkRefCnt { public: Recording() @@ -152,6 +154,8 @@ private: void pushMatrix(); void popMatrix(); IntRect calculateFinalBounds(FloatRect bounds); + LinearAllocator* operationHeap(); + LinearAllocator* canvasStateHeap(); SkPicture* mPicture; SkMatrix* mCurrentMatrix; |