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

Unified Diff: components/viz/display_compositor/gl_helper_scaling.h

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 years, 7 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
Index: components/viz/display_compositor/gl_helper_scaling.h
diff --git a/components/display_compositor/gl_helper_scaling.h b/components/viz/display_compositor/gl_helper_scaling.h
similarity index 93%
rename from components/display_compositor/gl_helper_scaling.h
rename to components/viz/display_compositor/gl_helper_scaling.h
index a2e5b61665ac05c6f858c9f20c862c502bbb25d4..cc90617d677019122d5de9d3346992255e5158f4 100644
--- a/components/display_compositor/gl_helper_scaling.h
+++ b/components/viz/display_compositor/gl_helper_scaling.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_DISPLAY_COMPOSITOR_GL_HELPER_SCALING_H_
-#define COMPONENTS_DISPLAY_COMPOSITOR_GL_HELPER_SCALING_H_
+#ifndef COMPONENTS_VIZ_DISPLAY_COMPOSITOR_GL_HELPER_SCALING_H_
+#define COMPONENTS_VIZ_DISPLAY_COMPOSITOR_GL_HELPER_SCALING_H_
#include <deque>
#include <map>
#include <vector>
#include "base/macros.h"
-#include "components/display_compositor/display_compositor_export.h"
-#include "components/display_compositor/gl_helper.h"
+#include "components/viz/display_compositor/gl_helper.h"
+#include "components/viz/viz_export.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
-namespace display_compositor {
+namespace viz {
class ShaderProgram;
class ScalerImpl;
@@ -24,7 +24,7 @@ class GLHelperTest;
// Implements GPU texture scaling methods.
// Note that you should probably not use this class directly.
// See gl_helper.cc::CreateScaler instead.
-class DISPLAY_COMPOSITOR_EXPORT GLHelperScaling {
+class VIZ_EXPORT GLHelperScaling {
public:
enum ShaderType {
SHADER_BILINEAR,
@@ -41,7 +41,7 @@ class DISPLAY_COMPOSITOR_EXPORT GLHelperScaling {
// Similar to ScalerInterface, but can generate multiple outputs.
// Used for YUV conversion in gl_helper.c
- class DISPLAY_COMPOSITOR_EXPORT ShaderInterface {
+ class VIZ_EXPORT ShaderInterface {
public:
ShaderInterface() {}
virtual ~ShaderInterface() {}
@@ -203,6 +203,6 @@ class DISPLAY_COMPOSITOR_EXPORT GLHelperScaling {
DISALLOW_COPY_AND_ASSIGN(GLHelperScaling);
};
-} // namespace display_compositor
+} // namespace viz
-#endif // COMPONENTS_DISPLAY_COMPOSITOR_GL_HELPER_SCALING_H_
+#endif // COMPONENTS_VIZ_DISPLAY_COMPOSITOR_GL_HELPER_SCALING_H_

Powered by Google App Engine
This is Rietveld 408576698