summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayList.h
diff options
context:
space:
mode:
authorTom Hudson <tomhudson@google.com>2014-09-08 11:26:26 -0400
committerTom Hudson <tomhudson@google.com>2014-11-04 15:49:44 -0500
commit107843de4507b3511006cb9c77b8d0364374385a (patch)
tree02b2f6181dbd8665638b174c2819f289a40551fd /libs/hwui/DisplayList.h
parentdaccecb263cad36b55dd84e25709d543ee887202 (diff)
downloadframeworks_base-107843de4507b3511006cb9c77b8d0364374385a.zip
frameworks_base-107843de4507b3511006cb9c77b8d0364374385a.tar.gz
frameworks_base-107843de4507b3511006cb9c77b8d0364374385a.tar.bz2
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
Diffstat (limited to 'libs/hwui/DisplayList.h')
-rw-r--r--libs/hwui/DisplayList.h3
1 files changed, 1 insertions, 2 deletions
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;
};