Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4966)

Unified Diff: cc/texture_uploader.h

Issue 11028129: cc: Improve texture per second calculation and overhead (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile errors for windows and android Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/texture_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_uploader.h
diff --git a/cc/texture_uploader.h b/cc/texture_uploader.h
index 073478364adb20b69f73c9945c8e6734451f88fe..c317f051b4c3022cf94fd77d1dad58db1d977463 100644
--- a/cc/texture_uploader.h
+++ b/cc/texture_uploader.h
@@ -9,7 +9,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "cc/scoped_ptr_deque.h"
-#include <deque>
+#include <set>
#include "third_party/khronos/GLES2/gl2.h"
namespace WebKit {
@@ -87,7 +87,7 @@ private:
WebKit::WebGraphicsContext3D* m_context;
ScopedPtrDeque<Query> m_pendingQueries;
ScopedPtrDeque<Query> m_availableQueries;
- std::deque<double> m_texturesPerSecondHistory;
+ std::multiset<double> m_texturesPerSecondHistory;
size_t m_numBlockingTextureUploads;
bool m_useMapTexSubImage;
« no previous file with comments | « no previous file | cc/texture_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698