diff options
author | John Reck <jreck@google.com> | 2014-12-12 09:49:29 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-12-12 09:49:29 -0800 |
commit | f088c349dfea985e561d7e838ecd41be5168cd4a (patch) | |
tree | 5b9d412b5bf31cd6f20f0e94dc464174441efca0 /libs/hwui/DeferredDisplayList.cpp | |
parent | 7fc885b0bfb8a799825531932567a1d472a55087 (diff) | |
download | frameworks_base-f088c349dfea985e561d7e838ecd41be5168cd4a.zip frameworks_base-f088c349dfea985e561d7e838ecd41be5168cd4a.tar.gz frameworks_base-f088c349dfea985e561d7e838ecd41be5168cd4a.tar.bz2 |
Fix style
Change-Id: I7227b0eac126bf470ed50249a7809b845872983b
Diffstat (limited to 'libs/hwui/DeferredDisplayList.cpp')
-rw-r--r-- | libs/hwui/DeferredDisplayList.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/hwui/DeferredDisplayList.cpp b/libs/hwui/DeferredDisplayList.cpp index 65fd47d..a5a83d6 100644 --- a/libs/hwui/DeferredDisplayList.cpp +++ b/libs/hwui/DeferredDisplayList.cpp @@ -55,7 +55,7 @@ public: virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0; virtual ~Batch() {} virtual bool purelyDrawBatch() { return false; } - virtual bool coversBounds(const Rect& /* bounds */) { return false; } + virtual bool coversBounds(const Rect& bounds) { return false; } }; class DrawBatch : public Batch { @@ -91,7 +91,7 @@ public: return false; } - virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int /* index */) { + virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { DEFER_LOGD("%d replaying DrawBatch %p, with %d ops (batch id %x, merge id %p)", index, this, mOps.size(), getBatchId(), getMergeId()); @@ -269,7 +269,7 @@ public: if (newClipSideFlags & kClipSide_Bottom) mClipRect.bottom = state->mClip.bottom; } - virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int /* index */) { + virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { DEFER_LOGD("%d replaying MergingDrawBatch %p, with %d ops," " clip flags %x (batch id %x, merge id %p)", index, this, mOps.size(), mClipSideFlags, getBatchId(), getMergeId()); @@ -313,7 +313,7 @@ public: // creates a single operation batch StateOpBatch(const StateOp* op, const DeferredDisplayState* state) : mOp(op), mState(state) {} - virtual status_t replay(OpenGLRenderer& renderer, Rect& /* dirty */, int /* index */) { + virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { DEFER_LOGD("replaying state op batch %p", this); renderer.restoreDisplayState(*mState); @@ -332,10 +332,10 @@ private: class RestoreToCountBatch : public Batch { public: - RestoreToCountBatch(const StateOp* /* op */, const DeferredDisplayState* state, + RestoreToCountBatch(const StateOp* op, const DeferredDisplayState* state, int restoreCount) : mState(state), mRestoreCount(restoreCount) {} - virtual status_t replay(OpenGLRenderer& renderer, Rect& /* dirty */, int /* index */) { + virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { DEFER_LOGD("batch %p restoring to count %d", this, mRestoreCount); renderer.restoreDisplayState(*mState); |