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

Unified Diff: media/gpu/vaapi_drm_picture.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « media/gpu/v4l2_video_decode_accelerator.cc ('k') | media/gpu/vaapi_tfp_picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_drm_picture.cc
diff --git a/media/gpu/vaapi_drm_picture.cc b/media/gpu/vaapi_drm_picture.cc
index dc57dc9ab98b49267717e9f5726c7cb97d987507..4d547df6ad930ae2e3c1d7130d2d4002e2ea2195 100644
--- a/media/gpu/vaapi_drm_picture.cc
+++ b/media/gpu/vaapi_drm_picture.cc
@@ -59,10 +59,10 @@ bool VaapiDrmPicture::Initialize() {
if (!make_context_current_cb_.Run())
return false;
- gfx::ScopedTextureBinder texture_binder(GL_TEXTURE_EXTERNAL_OES,
- texture_id_);
- scoped_refptr<gfx::GLImageOzoneNativePixmap> image(
- new gfx::GLImageOzoneNativePixmap(size_, GL_BGRA_EXT));
+ gl::ScopedTextureBinder texture_binder(GL_TEXTURE_EXTERNAL_OES,
+ texture_id_);
+ scoped_refptr<gl::GLImageOzoneNativePixmap> image(
+ new gl::GLImageOzoneNativePixmap(size_, GL_BGRA_EXT));
if (!image->Initialize(pixmap_.get(), pixmap_->GetBufferFormat())) {
LOG(ERROR) << "Failed to create GLImage";
return false;
« no previous file with comments | « media/gpu/v4l2_video_decode_accelerator.cc ('k') | media/gpu/vaapi_tfp_picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698