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

Side by Side Diff: components/mus/gles2/command_buffer_driver.h

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_H_ 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_H_
6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_H_ 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 10 matching lines...) Expand all
21 namespace gles2 { 21 namespace gles2 {
22 class GLES2Decoder; 22 class GLES2Decoder;
23 } 23 }
24 } 24 }
25 25
26 namespace gfx { 26 namespace gfx {
27 class GLContext; 27 class GLContext;
28 class GLSurface; 28 class GLSurface;
29 } 29 }
30 30
31 namespace gles2 { 31 namespace mus {
32 32
33 class GpuState; 33 class GpuState;
34 34
35 // This class receives CommandBuffer messages on the same thread as the native 35 // This class receives CommandBuffer messages on the same thread as the native
36 // viewport. 36 // viewport.
37 class CommandBufferDriver { 37 class CommandBufferDriver {
38 public: 38 public:
39 class Client { 39 class Client {
40 public: 40 public:
41 virtual ~Client(); 41 virtual ~Client();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 scoped_refptr<GpuState> gpu_state_; 87 scoped_refptr<GpuState> gpu_state_;
88 88
89 scoped_refptr<base::SingleThreadTaskRunner> context_lost_task_runner_; 89 scoped_refptr<base::SingleThreadTaskRunner> context_lost_task_runner_;
90 base::Callback<void(int32_t)> context_lost_callback_; 90 base::Callback<void(int32_t)> context_lost_callback_;
91 91
92 base::WeakPtrFactory<CommandBufferDriver> weak_factory_; 92 base::WeakPtrFactory<CommandBufferDriver> weak_factory_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(CommandBufferDriver); 94 DISALLOW_COPY_AND_ASSIGN(CommandBufferDriver);
95 }; 95 };
96 96
97 } // namespace gles2 97 } // namespace mus
98 98
99 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_DRIVER_H_ 99 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_DRIVER_H_
OLDNEW
« no previous file with comments | « components/mus/gesture_manager_unittest.cc ('k') | components/mus/gles2/command_buffer_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698