diff options
| author | 2013-12-10 23:33:20 +0000 | |
|---|---|---|
| committer | 2013-12-10 23:33:21 +0000 | |
| commit | 7d2edfc073b4a87f9584e12b0c6e80cffea730f5 (patch) | |
| tree | c6dcc0d5463ec081ba10f303824c662a182487cd /libs | |
| parent | 4a8e5a05bbb344c96bca12bb8d4a768cabbdbce5 (diff) | |
| parent | 630491973269da1b260e69d6a3f9490b97705037 (diff) | |
Merge "Unbreak display list debug dumping"
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/hwui/DisplayList.h | 2 | ||||
| -rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 6 | ||||
| -rw-r--r-- | libs/hwui/OpenGLRenderer.h | 1 |
3 files changed, 1 insertions, 8 deletions
diff --git a/libs/hwui/DisplayList.h b/libs/hwui/DisplayList.h index 1cd5f1c4d967..f52181ae4601 100644 --- a/libs/hwui/DisplayList.h +++ b/libs/hwui/DisplayList.h @@ -116,7 +116,7 @@ public: void defer(DeferStateStruct& deferStruct, const int level); void replay(ReplayStateStruct& replayStruct, const int level); - void output(uint32_t level = 0); + ANDROID_API void output(uint32_t level = 1); ANDROID_API void reset(); diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index 82c74da7a262..214d0b11fae3 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -2088,12 +2088,6 @@ status_t OpenGLRenderer::drawDisplayList(DisplayList* displayList, Rect& dirty, return DrawGlInfo::kStatusDone; } -void OpenGLRenderer::outputDisplayList(DisplayList* displayList) { - if (displayList) { - displayList->output(1); - } -} - void OpenGLRenderer::drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint) { int alpha; SkXfermode::Mode mode; diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index cfc5931e43d0..ff37e1807350 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -277,7 +277,6 @@ public: virtual Rect* getClipRect(); virtual status_t drawDisplayList(DisplayList* displayList, Rect& dirty, int32_t replayFlags); - virtual void outputDisplayList(DisplayList* displayList); virtual status_t drawLayer(Layer* layer, float x, float y); virtual status_t drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint); status_t drawBitmaps(SkBitmap* bitmap, AssetAtlas::Entry* entry, int bitmapCount, |