diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-21 22:20:30 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-11-21 22:20:31 +0000 |
commit | 220c3f4f48b53b6010093a1ef437f4197a382ebf (patch) | |
tree | 31c7b8a68b1463511f9647b3928890f50c72c82a /libs/hwui/DeferredDisplayList.cpp | |
parent | 79ef5ef7a58baf17f7c3522a5aeb041f5206c32a (diff) | |
parent | 2ab8298dc37851aab4623ba3f98d71055d653a73 (diff) | |
download | frameworks_base-220c3f4f48b53b6010093a1ef437f4197a382ebf.zip frameworks_base-220c3f4f48b53b6010093a1ef437f4197a382ebf.tar.gz frameworks_base-220c3f4f48b53b6010093a1ef437f4197a382ebf.tar.bz2 |
Merge "resolved conflicts for merge of 99377df1 to lmp-mr1-dev-plus-aosp" into lmp-mr1-dev-plus-aosp
Diffstat (limited to 'libs/hwui/DeferredDisplayList.cpp')
-rw-r--r-- | libs/hwui/DeferredDisplayList.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/hwui/DeferredDisplayList.cpp b/libs/hwui/DeferredDisplayList.cpp index e2f8bc4..65fd47d 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, int restoreCount) : - mState(state), mRestoreCount(restoreCount) {} + 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); |