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

Unified Diff: content/common/gpu/media/vaapi_tfp_picture.cc

Issue 1421903006: ui/gl: Move GLImage into gl namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ozone demo 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
Index: content/common/gpu/media/vaapi_tfp_picture.cc
diff --git a/content/common/gpu/media/vaapi_tfp_picture.cc b/content/common/gpu/media/vaapi_tfp_picture.cc
index ee037421edfb5cacee0781775ac8976d999efa00..7dbd1398649d0d9b0b43aa3927985cb43dd1fc9e 100644
--- a/content/common/gpu/media/vaapi_tfp_picture.cc
+++ b/content/common/gpu/media/vaapi_tfp_picture.cc
@@ -52,7 +52,7 @@ bool VaapiTFPPicture::Initialize() {
return false;
}
- glx_image_ = new gfx::GLImageGLX(size(), GL_RGB);
+ glx_image_ = new gl::GLImageGLX(size(), GL_RGB);
if (!glx_image_->Initialize(x_pixmap_)) {
// x_pixmap_ will be freed in the destructor.
LOG(ERROR) << "Failed creating a GLX Pixmap for TFP";
@@ -74,7 +74,7 @@ bool VaapiTFPPicture::DownloadFromSurface(
va_surface->size());
}
-scoped_refptr<gfx::GLImage> VaapiTFPPicture::GetImageToBind() {
+scoped_refptr<gl::GLImage> VaapiTFPPicture::GetImageToBind() {
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698