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

Side by Side Diff: cc/throttled_texture_uploader.cc

Issue 11189011: cc: Remove the temporary header files that aren't prefixed with CC* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/throttled_texture_uploader.h ('k') | cc/throttled_texture_uploader_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "ThrottledTextureUploader.h" 6 #include "cc/throttled_texture_uploader.h"
7 7
8 #include "CCPrioritizedTexture.h" 8 #include "CCPrioritizedTexture.h"
9 #include "CCProxy.h" 9 #include "CCProxy.h"
10 #include "Extensions3DChromium.h" 10 #include "Extensions3DChromium.h"
11 #include "TraceEvent.h"
11 #include "third_party/skia/include/gpu/SkGpuDevice.h" 12 #include "third_party/skia/include/gpu/SkGpuDevice.h"
12 #include "TraceEvent.h"
13 #include <algorithm> 13 #include <algorithm>
14 #include <public/Platform.h> 14 #include <public/Platform.h>
15 #include <public/WebGraphicsContext3D.h> 15 #include <public/WebGraphicsContext3D.h>
16 #include <public/WebSharedGraphicsContext3D.h> 16 #include <public/WebSharedGraphicsContext3D.h>
17 #include <vector> 17 #include <vector>
18 18
19 using WebKit::WebGraphicsContext3D; 19 using WebKit::WebGraphicsContext3D;
20 using WebKit::WebSharedGraphicsContext3D; 20 using WebKit::WebSharedGraphicsContext3D;
21 21
22 namespace { 22 namespace {
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // Remove the oldest values from our history and insert the new one 271 // Remove the oldest values from our history and insert the new one
272 double texturesPerSecond = 1.0 / (usElapsed * 1e-6); 272 double texturesPerSecond = 1.0 / (usElapsed * 1e-6);
273 m_texturesPerSecondHistory.pop_back(); 273 m_texturesPerSecondHistory.pop_back();
274 m_texturesPerSecondHistory.push_front(texturesPerSecond); 274 m_texturesPerSecondHistory.push_front(texturesPerSecond);
275 275
276 m_availableQueries.append(m_pendingQueries.takeFirst()); 276 m_availableQueries.append(m_pendingQueries.takeFirst());
277 } 277 }
278 } 278 }
279 279
280 } 280 }
OLDNEW
« no previous file with comments | « cc/throttled_texture_uploader.h ('k') | cc/throttled_texture_uploader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698