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

Unified Diff: cc/CCScopedTexture.h

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/CCSchedulerStateMachine.cpp ('k') | cc/CCScopedTexture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCScopedTexture.h
diff --git a/cc/CCScopedTexture.h b/cc/CCScopedTexture.h
index a5b615c6e7c08a60ff6a5e46468fb4de970d9c2f..faa11f5e9dcd020078317d912b63111bff793b1c 100644
--- a/cc/CCScopedTexture.h
+++ b/cc/CCScopedTexture.h
@@ -2,45 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CCScopedTexture_h
-#define CCScopedTexture_h
-
-#include "base/basictypes.h"
-#include "CCTexture.h"
-
-#if !ASSERT_DISABLED
-#include "base/threading/platform_thread.h"
-#endif
-
-namespace cc {
-
-class CCScopedTexture : protected CCTexture {
-public:
- static PassOwnPtr<CCScopedTexture> create(CCResourceProvider* resourceProvider) { return adoptPtr(new CCScopedTexture(resourceProvider)); }
- virtual ~CCScopedTexture();
-
- using CCTexture::id;
- using CCTexture::size;
- using CCTexture::format;
- using CCTexture::bytes;
-
- bool allocate(int pool, const IntSize&, GC3Denum format, CCResourceProvider::TextureUsageHint);
- void free();
- void leak();
-
-protected:
- explicit CCScopedTexture(CCResourceProvider*);
-
-private:
- CCResourceProvider* m_resourceProvider;
-
-#if !ASSERT_DISABLED
- base::PlatformThreadId m_allocateThreadIdentifier;
-#endif
-
- DISALLOW_COPY_AND_ASSIGN(CCScopedTexture);
-};
-
-}
-
-#endif
+// Temporary forwarding header
+#include "cc/scoped_texture.h"
« no previous file with comments | « cc/CCSchedulerStateMachine.cpp ('k') | cc/CCScopedTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698