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

Unified Diff: gpu/command_buffer/tests/gl_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 | « gpu/command_buffer/tests/gl_dynamic_config_unittest.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_manager.h
diff --git a/gpu/command_buffer/tests/gl_manager.h b/gpu/command_buffer/tests/gl_manager.h
index c24c6881f1e096fab04c5bc46308804b1dd287f2..eb61cc73b7c7bb6e2f71dc3e5c512e403fd4f0da 100644
--- a/gpu/command_buffer/tests/gl_manager.h
+++ b/gpu/command_buffer/tests/gl_manager.h
@@ -23,7 +23,7 @@ namespace base {
class CommandLine;
}
-namespace gfx {
+namespace gl {
class GLContext;
class GLShareGroup;
@@ -94,7 +94,7 @@ class GLManager : private GpuControl {
void MakeCurrent();
- void SetSurface(gfx::GLSurface* surface);
+ void SetSurface(gl::GLSurface* surface);
void set_use_iosurface_memory_buffers(bool use_iosurface_memory_buffers) {
use_iosurface_memory_buffers_ = use_iosurface_memory_buffers;
@@ -110,17 +110,13 @@ class GLManager : private GpuControl {
return mailbox_manager_.get();
}
- gfx::GLShareGroup* share_group() const {
- return share_group_.get();
- }
+ gl::GLShareGroup* share_group() const { return share_group_.get(); }
gles2::GLES2Implementation* gles2_implementation() const {
return gles2_implementation_.get();
}
- gfx::GLContext* context() {
- return context_.get();
- }
+ gl::GLContext* context() { return context_.get(); }
const GpuDriverBugWorkarounds& workarounds() const;
@@ -166,12 +162,12 @@ class GLManager : private GpuControl {
scoped_refptr<SyncPointOrderData> sync_point_order_data_;
std::unique_ptr<SyncPointClient> sync_point_client_;
scoped_refptr<gles2::MailboxManager> mailbox_manager_;
- scoped_refptr<gfx::GLShareGroup> share_group_;
+ scoped_refptr<gl::GLShareGroup> share_group_;
std::unique_ptr<CommandBufferService> command_buffer_;
std::unique_ptr<gles2::GLES2Decoder> decoder_;
std::unique_ptr<CommandExecutor> executor_;
- scoped_refptr<gfx::GLSurface> surface_;
- scoped_refptr<gfx::GLContext> context_;
+ scoped_refptr<gl::GLSurface> surface_;
+ scoped_refptr<gl::GLContext> context_;
std::unique_ptr<gles2::GLES2CmdHelper> gles2_helper_;
std::unique_ptr<TransferBuffer> transfer_buffer_;
std::unique_ptr<gles2::GLES2Implementation> gles2_implementation_;
@@ -186,9 +182,9 @@ class GLManager : private GpuControl {
// Used on Android to virtualize GL for all contexts.
static int use_count_;
- static scoped_refptr<gfx::GLShareGroup>* base_share_group_;
- static scoped_refptr<gfx::GLSurface>* base_surface_;
- static scoped_refptr<gfx::GLContext>* base_context_;
+ static scoped_refptr<gl::GLShareGroup>* base_share_group_;
+ static scoped_refptr<gl::GLSurface>* base_surface_;
+ static scoped_refptr<gl::GLContext>* base_context_;
};
} // namespace gpu
« no previous file with comments | « gpu/command_buffer/tests/gl_dynamic_config_unittest.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698