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

Side by Side Diff: gpu/ipc/gl_in_process_context.h

Issue 2493913002: Mus: Move InProcessCommandBuffer and GLInProcessContext to gpu/ipc (Closed)
Patch Set: Fixed casts on windows Created 4 years, 1 month 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
« no previous file with comments | « gpu/ipc/client/gpu_in_process_context_tests.cc ('k') | gpu/ipc/gl_in_process_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 GPU_COMMAND_BUFFER_CLIENT_GL_IN_PROCESS_CONTEXT_H_ 5 #ifndef GPU_IPC_GL_IN_PROCESS_CONTEXT_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GL_IN_PROCESS_CONTEXT_H_ 6 #define GPU_IPC_GL_IN_PROCESS_CONTEXT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "gl_in_process_context_export.h" 13 #include "gl_in_process_context_export.h"
14 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 14 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
15 #include "gpu/command_buffer/service/in_process_command_buffer.h" 15 #include "gpu/ipc/in_process_command_buffer.h"
16 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
17 #include "ui/gl/gl_surface.h" 17 #include "ui/gl/gl_surface.h"
18 #include "ui/gl/gpu_preference.h" 18 #include "ui/gl/gpu_preference.h"
19 19
20 namespace gfx { 20 namespace gfx {
21 class Size; 21 class Size;
22 } 22 }
23 23
24 #if defined(OS_ANDROID) 24 #if defined(OS_ANDROID)
25 namespace gl { 25 namespace gl {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 // Allows direct access to the GLES2 implementation so a GLInProcessContext 61 // Allows direct access to the GLES2 implementation so a GLInProcessContext
62 // can be used without making it current. 62 // can be used without making it current.
63 virtual gles2::GLES2Implementation* GetImplementation() = 0; 63 virtual gles2::GLES2Implementation* GetImplementation() = 0;
64 64
65 virtual void SetLock(base::Lock* lock) = 0; 65 virtual void SetLock(base::Lock* lock) = 0;
66 }; 66 };
67 67
68 } // namespace gpu 68 } // namespace gpu
69 69
70 #endif // GPU_COMMAND_BUFFER_CLIENT_GL_IN_PROCESS_CONTEXT_H_ 70 #endif // GPU_IPC_GL_IN_PROCESS_CONTEXT_H_
OLDNEW
« no previous file with comments | « gpu/ipc/client/gpu_in_process_context_tests.cc ('k') | gpu/ipc/gl_in_process_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698