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

Unified Diff: cc/debug/test_texture.h

Issue 50303007: Move test-only stuff from cc/debug/ to cc/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fold cc_test_utils into cc_test_support to fix windows link Created 7 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/debug/test_context_support.cc ('k') | cc/debug/test_texture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/test_texture.h
diff --git a/cc/debug/test_texture.h b/cc/debug/test_texture.h
deleted file mode 100644
index 301c3a4251c7e60f103eb11b3e8bb522590abae4..0000000000000000000000000000000000000000
--- a/cc/debug/test_texture.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-#include "cc/base/cc_export.h"
-#include "cc/resources/resource_format.h"
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
-#include "ui/gfx/rect.h"
-
-#ifndef CC_DEBUG_TEST_TEXTURE_H_
-#define CC_DEBUG_TEST_TEXTURE_H_
-
-namespace cc {
-
-size_t CC_EXPORT TextureSizeBytes(gfx::Size size, ResourceFormat format);
-
-struct CC_EXPORT TestTexture : public base::RefCounted<TestTexture> {
- TestTexture();
-
- void Reallocate(gfx::Size size, ResourceFormat format);
-
- gfx::Size size;
- ResourceFormat format;
- scoped_ptr<uint8_t[]> data;
-
- // TODO(mvujovic): Replace this with a hash map of texture parameter names
- // and values, which can hold this filter parameter value and more.
- WebKit::WGC3Denum filter;
-
- private:
- friend class base::RefCounted<TestTexture>;
- ~TestTexture();
-};
-
-} // namespace cc
-
-#endif // CC_DEBUG_TEST_TEXTURE_H_
« no previous file with comments | « cc/debug/test_context_support.cc ('k') | cc/debug/test_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698