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

Unified Diff: components/mus/gles2/gpu_state.cc

Issue 1920163005: Split //ui/gl into //ui/gl + //ui/gi/init. (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 | « components/mus/gles2/command_buffer_driver.cc ('k') | content/common/sandbox_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/gpu_state.cc
diff --git a/components/mus/gles2/gpu_state.cc b/components/mus/gles2/gpu_state.cc
index 3733ff8fe2d5a05b3df7daa344ab715dd383a049..1ff542d1d5cee1dd52addc9218df9220cb526eb6 100644
--- a/components/mus/gles2/gpu_state.cc
+++ b/components/mus/gles2/gpu_state.cc
@@ -10,7 +10,7 @@
#include "base/threading/thread_restrictions.h"
#include "gpu/config/gpu_info_collector.h"
#include "ui/gl/gl_implementation.h"
-#include "ui/gl/gl_surface.h"
+#include "ui/gl/init/gl_factory.h"
#if defined(USE_OZONE)
#include "ui/ozone/public/ozone_platform.h"
@@ -48,7 +48,7 @@ void GpuState::InitializeOnGpuThread(base::WaitableEvent* event) {
#if defined(USE_OZONE)
ui::OzonePlatform::InitializeForGPU();
#endif
- hardware_rendering_available_ = gfx::GLSurface::InitializeOneOff();
+ hardware_rendering_available_ = gl::init::InitializeGLOneOff();
command_buffer_task_runner_ = new CommandBufferTaskRunner;
driver_manager_.reset(new CommandBufferDriverManager);
sync_point_manager_.reset(new gpu::SyncPointManager(true));
« no previous file with comments | « components/mus/gles2/command_buffer_driver.cc ('k') | content/common/sandbox_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698