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: gpu/command_buffer/client/gl_in_process_context.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 | « gpu/command_buffer/client/gl_in_process_context.h ('k') | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gl_in_process_context.cc
diff --git a/gpu/command_buffer/client/gl_in_process_context.cc b/gpu/command_buffer/client/gl_in_process_context.cc
index cf9faab689693eabd5ff32679d0c3760dac3e1a7..72e1eaf715a568042a037dcb2d62d632784656a7 100644
--- a/gpu/command_buffer/client/gl_in_process_context.cc
+++ b/gpu/command_buffer/client/gl_in_process_context.cc
@@ -50,13 +50,13 @@ class GLInProcessContextImpl
GLInProcessContextImpl();
~GLInProcessContextImpl() override;
- bool Initialize(scoped_refptr<gfx::GLSurface> surface,
+ bool Initialize(scoped_refptr<gl::GLSurface> surface,
bool is_offscreen,
GLInProcessContext* share_context,
gfx::AcceleratedWidget window,
const gfx::Size& size,
const gpu::gles2::ContextCreationAttribHelper& attribs,
- gfx::GpuPreference gpu_preference,
+ gl::GpuPreference gpu_preference,
const scoped_refptr<InProcessCommandBuffer::Service>& service,
const SharedMemoryLimits& mem_limits,
GpuMemoryBufferManager* gpu_memory_buffer_manager,
@@ -93,13 +93,13 @@ void GLInProcessContextImpl::SetLock(base::Lock* lock) {
}
bool GLInProcessContextImpl::Initialize(
- scoped_refptr<gfx::GLSurface> surface,
+ scoped_refptr<gl::GLSurface> surface,
bool is_offscreen,
GLInProcessContext* share_context,
gfx::AcceleratedWidget window,
const gfx::Size& size,
const gles2::ContextCreationAttribHelper& attribs,
- gfx::GpuPreference gpu_preference,
+ gl::GpuPreference gpu_preference,
const scoped_refptr<InProcessCommandBuffer::Service>& service,
const SharedMemoryLimits& mem_limits,
GpuMemoryBufferManager* gpu_memory_buffer_manager,
@@ -191,13 +191,13 @@ void GLInProcessContextImpl::Destroy() {
// static
GLInProcessContext* GLInProcessContext::Create(
scoped_refptr<gpu::InProcessCommandBuffer::Service> service,
- scoped_refptr<gfx::GLSurface> surface,
+ scoped_refptr<gl::GLSurface> surface,
bool is_offscreen,
gfx::AcceleratedWidget window,
const gfx::Size& size,
GLInProcessContext* share_context,
const ::gpu::gles2::ContextCreationAttribHelper& attribs,
- gfx::GpuPreference gpu_preference,
+ gl::GpuPreference gpu_preference,
const SharedMemoryLimits& memory_limits,
GpuMemoryBufferManager* gpu_memory_buffer_manager,
ImageFactory* image_factory) {
« no previous file with comments | « gpu/command_buffer/client/gl_in_process_context.h ('k') | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698