From 107843de4507b3511006cb9c77b8d0364374385a Mon Sep 17 00:00:00 2001 From: Tom Hudson Date: Mon, 8 Sep 2014 11:26:26 -0400 Subject: Remove status return from all uirenderer::Renderer functions This moves the interface closer to android::Canvas. The only use of return values was in the OpenGLRenderer subclass; that is replaced with an internal dirty flag: returned from finish(), checked by CanvasContext. This is part of a series of CLs to refactor the Graphics JNI bindings. BUG:15672762 R=djsollen@google.com,ccraik@google.com Change-Id: Ifd533eb8839a254b0d3a5d04fc5a2905afdfc89e --- libs/hwui/DisplayList.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/hwui/DisplayList.h') diff --git a/libs/hwui/DisplayList.h b/libs/hwui/DisplayList.h index 7094cc1..85c2367 100644 --- a/libs/hwui/DisplayList.h +++ b/libs/hwui/DisplayList.h @@ -105,10 +105,9 @@ class ReplayStateStruct : public PlaybackStateStruct { public: ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) : PlaybackStateStruct(renderer, replayFlags, &mReplayAllocator), - mDirty(dirty), mDrawGlStatus(DrawGlInfo::kStatusDone) {} + mDirty(dirty) {} Rect& mDirty; - status_t mDrawGlStatus; LinearAllocator mReplayAllocator; }; -- cgit v1.1