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

Unified Diff: services/gles2/gpu_impl.h

Issue 772523004: Move code in //services/gles2 into namespace gles2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « services/gles2/command_buffer_type_conversions.cc ('k') | services/gles2/gpu_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gles2/gpu_impl.h
diff --git a/services/gles2/gpu_impl.h b/services/gles2/gpu_impl.h
index 905c1083f10cb82a8edf2f9b2048a8bd07240763..cf31a5243b479f617f30b44ed409b81dc092efd8 100644
--- a/services/gles2/gpu_impl.h
+++ b/services/gles2/gpu_impl.h
@@ -25,9 +25,9 @@ class MailboxManager;
}
}
-namespace mojo {
+namespace gles2 {
-class GpuImpl : public Gpu {
+class GpuImpl : public mojo::Gpu {
public:
// We need to share these across all CommandBuffer instances so that contexts
// they create can share resources with each other via mailboxes.
@@ -62,25 +62,26 @@ class GpuImpl : public Gpu {
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
};
- GpuImpl(InterfaceRequest<Gpu> request, const scoped_refptr<State>& state);
+ GpuImpl(mojo::InterfaceRequest<mojo::Gpu> request,
+ const scoped_refptr<State>& state);
~GpuImpl() override;
void CreateOnscreenGLES2Context(
uint64_t native_viewport_id,
- SizePtr size,
- InterfaceRequest<CommandBuffer> command_buffer_request,
- ViewportParameterListenerPtr listener) override;
+ mojo::SizePtr size,
+ mojo::InterfaceRequest<mojo::CommandBuffer> command_buffer_request,
+ mojo::ViewportParameterListenerPtr listener) override;
- void CreateOffscreenGLES2Context(
- InterfaceRequest<CommandBuffer> command_buffer_request) override;
+ void CreateOffscreenGLES2Context(mojo::InterfaceRequest<mojo::CommandBuffer>
+ command_buffer_request) override;
private:
- StrongBinding<Gpu> binding_;
+ mojo::StrongBinding<Gpu> binding_;
scoped_refptr<State> state_;
DISALLOW_COPY_AND_ASSIGN(GpuImpl);
};
-} // namespace mojo
+} // namespace gles2
#endif // SERVICES_GLES2_GPU_IMPL_H_
« no previous file with comments | « services/gles2/command_buffer_type_conversions.cc ('k') | services/gles2/gpu_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698