Index: chromecast/renderer/media/hole_frame_factory.cc |
diff --git a/chromecast/media/cma/filters/hole_frame_factory.cc b/chromecast/renderer/media/hole_frame_factory.cc |
similarity index 87% |
rename from chromecast/media/cma/filters/hole_frame_factory.cc |
rename to chromecast/renderer/media/hole_frame_factory.cc |
index 4d4b33380b0408dc7cdb70bc6a7ac05bfc534528..60124393c5bb5daf89be9b9762356c8b80cd28f7 100644 |
--- a/chromecast/media/cma/filters/hole_frame_factory.cc |
+++ b/chromecast/renderer/media/hole_frame_factory.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chromecast/media/cma/filters/hole_frame_factory.h" |
+#include "chromecast/renderer/media/hole_frame_factory.h" |
#include "base/bind.h" |
#include "base/location.h" |
@@ -16,18 +16,15 @@ namespace media { |
HoleFrameFactory::HoleFrameFactory( |
const scoped_refptr<::media::GpuVideoAcceleratorFactories>& gpu_factories) |
- : gpu_factories_(gpu_factories), |
- texture_(0), |
- image_id_(0), |
- sync_point_(0) { |
+ : gpu_factories_(gpu_factories), texture_(0), image_id_(0), sync_point_(0) { |
if (gpu_factories_) { |
gpu::gles2::GLES2Interface* gl = gpu_factories_->GetGLES2Interface(); |
CHECK(gl); |
gl->GenTextures(1, &texture_); |
gl->BindTexture(GL_TEXTURE_2D, texture_); |
- image_id_ = gl->CreateGpuMemoryBufferImageCHROMIUM(1, 1, GL_RGBA, |
- GL_SCANOUT_CHROMIUM); |
+ image_id_ = gl->CreateGpuMemoryBufferImageCHROMIUM( |
+ 1, 1, GL_RGBA, GL_SCANOUT_CHROMIUM); |
gl->BindTexImage2DCHROMIUM(GL_TEXTURE_2D, image_id_); |
gl->GenMailboxCHROMIUM(mailbox_.name); |