| Index: components/viz/display_compositor/gl_helper_readback_support.cc
|
| diff --git a/components/display_compositor/gl_helper_readback_support.cc b/components/viz/display_compositor/gl_helper_readback_support.cc
|
| similarity index 97%
|
| rename from components/display_compositor/gl_helper_readback_support.cc
|
| rename to components/viz/display_compositor/gl_helper_readback_support.cc
|
| index b7a019beef4798ce2c6d35c22a4a891ca242f7db..5fd12924b37755cf3c5bfa6ae7def7e52b0c75ac 100644
|
| --- a/components/display_compositor/gl_helper_readback_support.cc
|
| +++ b/components/viz/display_compositor/gl_helper_readback_support.cc
|
| @@ -2,12 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "components/viz/display_compositor/gl_helper_readback_support.h"
|
| #include "base/logging.h"
|
| -#include "components/display_compositor/gl_helper_readback_support.h"
|
| #include "gpu/GLES2/gl2extchromium.h"
|
| #include "third_party/skia/include/core/SkImageInfo.h"
|
|
|
| -namespace display_compositor {
|
| +namespace viz {
|
|
|
| GLHelperReadbackSupport::GLHelperReadbackSupport(gpu::gles2::GLES2Interface* gl)
|
| : gl_(gl) {
|
| @@ -75,7 +75,7 @@ void GLHelperReadbackSupport::GetAdditionalFormat(GLenum format,
|
| }
|
|
|
| const int kTestSize = 64;
|
| - display_compositor::ScopedTexture dst_texture(gl_);
|
| + ScopedTexture dst_texture(gl_);
|
| ScopedTextureBinder<GL_TEXTURE_2D> texture_binder(gl_, dst_texture);
|
| gl_->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
| gl_->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
| @@ -169,4 +169,4 @@ GLHelperReadbackSupport::GetReadbackConfig(SkColorType color_type,
|
| return GLHelperReadbackSupport::NOT_SUPPORTED;
|
| }
|
|
|
| -} // namespace display_compositor
|
| +} // namespace viz
|
|
|