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

Unified Diff: ui/gl/test/gl_image_test_support.h

Issue 1390143002: Revert of Re-land: ui: Add GLImage unit test framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « ui/gl/gl_tests.gyp ('k') | ui/gl/test/gl_image_test_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/test/gl_image_test_support.h
diff --git a/ui/gl/test/gl_image_test_support.h b/ui/gl/test/gl_image_test_support.h
deleted file mode 100644
index 782f2075a1c672c3150b783965fabf4183b65272..0000000000000000000000000000000000000000
--- a/ui/gl/test/gl_image_test_support.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2015 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.
-
-#ifndef UI_GL_TEST_GL_IMAGE_TEST_SUPPORT_H_
-#define UI_GL_TEST_GL_IMAGE_TEST_SUPPORT_H_
-
-#include "ui/gfx/buffer_types.h"
-#include "ui/gl/gl_bindings.h"
-
-namespace gfx {
-
-class GLImageTestSupport {
- public:
- // Initialize GL for image testing.
- static void InitializeGL();
-
- // Cleanup GL after being initialized for image testing.
- static void CleanupGL();
-
- // Returns the preferred internal format used for images.
- static GLenum GetPreferredInternalFormat();
-
- // Returns the preferred buffer format used for images.
- static BufferFormat GetPreferredBufferFormat();
-
- // Initialize buffer of a specific |format| to |color|.
- static void SetBufferDataToColor(int width,
- int height,
- int stride,
- BufferFormat format,
- const uint8_t color[4],
- uint8_t* data);
-};
-
-} // namespace gfx
-
-#endif // UI_GL_TEST_GL_IMAGE_TEST_SUPPORT_H_
« no previous file with comments | « ui/gl/gl_tests.gyp ('k') | ui/gl/test/gl_image_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698