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

Unified Diff: media/gpu/vaapi_video_decode_accelerator.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/vaapi_tfp_picture.cc ('k') | ui/android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_video_decode_accelerator.cc
diff --git a/media/gpu/vaapi_video_decode_accelerator.cc b/media/gpu/vaapi_video_decode_accelerator.cc
index fa4fdde85c1079e3b3077672b64e2f184eff45c8..95044d4c624dca718d1fffcb4b033f0abcbe9ff4 100644
--- a/media/gpu/vaapi_video_decode_accelerator.cc
+++ b/media/gpu/vaapi_video_decode_accelerator.cc
@@ -345,13 +345,13 @@ bool VaapiVideoDecodeAccelerator::Initialize(const Config& config,
DVLOG(2) << "Initializing VAVDA, profile: " << profile;
#if defined(USE_X11)
- if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL) {
+ if (gl::GetGLImplementation() != gl::kGLImplementationDesktopGL) {
DVLOG(1) << "HW video decode acceleration not available without "
"DesktopGL (GLX).";
return false;
}
#elif defined(USE_OZONE)
- if (gfx::GetGLImplementation() != gfx::kGLImplementationEGLGLES2) {
+ if (gl::GetGLImplementation() != gl::kGLImplementationEGLGLES2) {
DVLOG(1) << "HW video decode acceleration not available without "
<< "EGLGLES2.";
return false;
« no previous file with comments | « media/gpu/vaapi_tfp_picture.cc ('k') | ui/android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698