diff options
author | John Reck <jreck@google.com> | 2015-07-30 17:38:35 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-07-30 17:38:35 +0000 |
commit | cef25e5319e4f76682dd63a3c01bfacb19aeeb51 (patch) | |
tree | 9504d6b0708f8e3c06158ef597efded8dc93bfaf /libs/hwui/DeferredDisplayList.h | |
parent | ba36e0c2d1f6377671b493a5ae121140c002ce0f (diff) | |
parent | 272a685f17cc4828257e521a6f62b7b17870f75e (diff) |
Merge "Replace most usages of utils/Vector.h"
Diffstat (limited to 'libs/hwui/DeferredDisplayList.h')
-rw-r--r-- | libs/hwui/DeferredDisplayList.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/hwui/DeferredDisplayList.h b/libs/hwui/DeferredDisplayList.h index 160c1ad2d1f6..4f2dca5f3ee1 100644 --- a/libs/hwui/DeferredDisplayList.h +++ b/libs/hwui/DeferredDisplayList.h @@ -19,13 +19,14 @@ #include <utils/Errors.h> #include <utils/LinearAllocator.h> -#include <utils/Vector.h> #include <utils/TinyHashMap.h> #include "Matrix.h" #include "OpenGLRenderer.h" #include "Rect.h" +#include <vector> + class SkBitmap; namespace android { @@ -100,7 +101,7 @@ public: kOpBatch_Count, // Add other batch ids before this }; - bool isEmpty() { return mBatches.isEmpty(); } + bool isEmpty() { return mBatches.empty(); } /** * Plays back all of the draw ops recorded into batches to the renderer. @@ -157,10 +158,10 @@ private: * that when an associated restoreToCount is deferred, it can be recorded as a * RestoreToCountBatch */ - Vector<int> mSaveStack; + std::vector<int> mSaveStack; int mComplexClipStackStart; - Vector<Batch*> mBatches; + std::vector<Batch*> mBatches; // Maps batch ids to the most recent *non-merging* batch of that id Batch* mBatchLookup[kOpBatch_Count]; |