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

Side by Side Diff: gpu/command_buffer/client/gles2_cmd_helper.h

Issue 367002: Added Pepper 3D render context that instantiates the GPU plugin.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_GLES2_CMD_HELPER_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_H_
7 7
8 #include "gpu/command_buffer/client/cmd_buffer_helper.h" 8 #include "gpu/command_buffer/client/cmd_buffer_helper.h"
9 #include "gpu/command_buffer/common/gles2_cmd_format.h" 9 #include "gpu/command_buffer/common/gles2_cmd_format.h"
10 10
11 namespace gpu { 11 namespace gpu {
12 namespace gles2 { 12 namespace gles2 {
13 13
14 // A class that helps write GL command buffers. 14 // A class that helps write GL command buffers.
15 class GLES2CmdHelper : public CommandBufferHelper { 15 class GLES2CmdHelper : public CommandBufferHelper {
16 public: 16 public:
17 explicit GLES2CmdHelper(gpu::CommandBuffer* command_buffer) 17 explicit GLES2CmdHelper(CommandBuffer* command_buffer)
18 : CommandBufferHelper(command_buffer) { 18 : CommandBufferHelper(command_buffer) {
19 } 19 }
20 virtual ~GLES2CmdHelper() { 20 virtual ~GLES2CmdHelper() {
21 } 21 }
22 22
23 // Include the auto-generated part of this class. We split this because it 23 // Include the auto-generated part of this class. We split this because it
24 // means we can easily edit the non-auto generated parts right here in this 24 // means we can easily edit the non-auto generated parts right here in this
25 // file instead of having to edit some template or the code generator. 25 // file instead of having to edit some template or the code generator.
26 #include "gpu/command_buffer/client/gles2_cmd_helper_autogen.h" 26 #include "gpu/command_buffer/client/gles2_cmd_helper_autogen.h"
27 27
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 private: 68 private:
69 DISALLOW_COPY_AND_ASSIGN(GLES2CmdHelper); 69 DISALLOW_COPY_AND_ASSIGN(GLES2CmdHelper);
70 }; 70 };
71 71
72 } // namespace gles2 72 } // namespace gles2
73 } // namespace gpu 73 } // namespace gpu
74 74
75 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_H_ 75 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_H_
76 76
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/fenced_allocator_test.cc ('k') | gpu/command_buffer/client/gles2_demo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698