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

Side by Side Diff: cc/CCScopedTexture.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/CCSchedulerTest.cpp ('k') | cc/CCScopedTexture.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 CCScopedTexture_h 5 #ifndef CCScopedTexture_h
6 #define CCScopedTexture_h 6 #define CCScopedTexture_h
7 7
8 #include "CCTexture.h" 8 #include "CCTexture.h"
9 9
10 #if !ASSERT_DISABLED 10 #if !ASSERT_DISABLED
11 #include "base/threading/platform_thread.h" 11 #include "base/threading/platform_thread.h"
12 #endif 12 #endif
13 13
14 namespace WebCore { 14 namespace cc {
15 15
16 class CCScopedTexture : protected CCTexture { 16 class CCScopedTexture : protected CCTexture {
17 WTF_MAKE_NONCOPYABLE(CCScopedTexture); 17 WTF_MAKE_NONCOPYABLE(CCScopedTexture);
18 public: 18 public:
19 static PassOwnPtr<CCScopedTexture> create(CCResourceProvider* resourceProvid er) { return adoptPtr(new CCScopedTexture(resourceProvider)); } 19 static PassOwnPtr<CCScopedTexture> create(CCResourceProvider* resourceProvid er) { return adoptPtr(new CCScopedTexture(resourceProvider)); }
20 virtual ~CCScopedTexture(); 20 virtual ~CCScopedTexture();
21 21
22 using CCTexture::id; 22 using CCTexture::id;
23 using CCTexture::size; 23 using CCTexture::size;
24 using CCTexture::format; 24 using CCTexture::format;
(...skipping 10 matching lines...) Expand all
35 CCResourceProvider* m_resourceProvider; 35 CCResourceProvider* m_resourceProvider;
36 36
37 #if !ASSERT_DISABLED 37 #if !ASSERT_DISABLED
38 base::PlatformThreadId m_allocateThreadIdentifier; 38 base::PlatformThreadId m_allocateThreadIdentifier;
39 #endif 39 #endif
40 }; 40 };
41 41
42 } 42 }
43 43
44 #endif 44 #endif
OLDNEW
« no previous file with comments | « cc/CCSchedulerTest.cpp ('k') | cc/CCScopedTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698