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

Unified Diff: ui/gl/gpu_switching_manager.h

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 | « ui/gl/gpu_preference.h ('k') | ui/gl/gpu_switching_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gpu_switching_manager.h
diff --git a/ui/gl/gpu_switching_manager.h b/ui/gl/gpu_switching_manager.h
index 913962b22c8992c9734e95e3ded5f33479d59865..4ac7620023518aed9b3693d759e59a838c1df7ce 100644
--- a/ui/gl/gpu_switching_manager.h
+++ b/ui/gl/gpu_switching_manager.h
@@ -33,7 +33,7 @@ class GL_EXPORT GpuSwitchingManager {
// If no GPU is forced, return the original GpuPreference; otherwise, return
// the forced GPU.
- gfx::GpuPreference AdjustGpuPreference(gfx::GpuPreference gpu_preference);
+ gl::GpuPreference AdjustGpuPreference(gl::GpuPreference gpu_preference);
// In the browser process, the value for this flag is computed the first time
// this function is called.
@@ -65,7 +65,7 @@ class GL_EXPORT GpuSwitchingManager {
void SwitchToDiscreteGpuMac();
#endif // OS_MACOSX
- gfx::GpuPreference gpu_switching_option_;
+ gl::GpuPreference gpu_switching_option_;
bool gpu_switching_option_set_;
std::vector<uint32_t> vendor_ids_;
« no previous file with comments | « ui/gl/gpu_preference.h ('k') | ui/gl/gpu_switching_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698