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

Side by Side Diff: cc/ThrottledTextureUploader.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/TextureUploader.h ('k') | cc/ThrottledTextureUploader.cpp » ('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 #ifndef ThrottledTextureUploader_h 5 #ifndef ThrottledTextureUploader_h
6 #define ThrottledTextureUploader_h 6 #define ThrottledTextureUploader_h
7 7
8 #include "TextureUploader.h" 8 #include "TextureUploader.h"
9 9
10 #include <wtf/Deque.h> 10 #include <wtf/Deque.h>
11 11
12 namespace WebKit { 12 namespace WebKit {
13 class WebGraphicsContext3D; 13 class WebGraphicsContext3D;
14 } 14 }
15 15
16 namespace WebCore { 16 namespace cc {
17 17
18 class ThrottledTextureUploader : public TextureUploader { 18 class ThrottledTextureUploader : public TextureUploader {
19 WTF_MAKE_NONCOPYABLE(ThrottledTextureUploader); 19 WTF_MAKE_NONCOPYABLE(ThrottledTextureUploader);
20 public: 20 public:
21 static PassOwnPtr<ThrottledTextureUploader> create(WebKit::WebGraphicsContex t3D* context) 21 static PassOwnPtr<ThrottledTextureUploader> create(WebKit::WebGraphicsContex t3D* context)
22 { 22 {
23 return adoptPtr(new ThrottledTextureUploader(context)); 23 return adoptPtr(new ThrottledTextureUploader(context));
24 } 24 }
25 static PassOwnPtr<ThrottledTextureUploader> create(WebKit::WebGraphicsContex t3D* context, size_t pendingUploadLimit) 25 static PassOwnPtr<ThrottledTextureUploader> create(WebKit::WebGraphicsContex t3D* context, size_t pendingUploadLimit)
26 { 26 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 WebKit::WebGraphicsContext3D* m_context; 60 WebKit::WebGraphicsContext3D* m_context;
61 size_t m_maxPendingQueries; 61 size_t m_maxPendingQueries;
62 Deque<OwnPtr<Query> > m_pendingQueries; 62 Deque<OwnPtr<Query> > m_pendingQueries;
63 Deque<OwnPtr<Query> > m_availableQueries; 63 Deque<OwnPtr<Query> > m_availableQueries;
64 }; 64 };
65 65
66 } 66 }
67 67
68 #endif 68 #endif
OLDNEW
« no previous file with comments | « cc/TextureUploader.h ('k') | cc/ThrottledTextureUploader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698