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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.h

Issue 465040: Added CommandBufferClient, CommandBufferStub and some IPC messages.... (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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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 // This file contains the GLES2Decoder class. 5 // This file contains the GLES2Decoder class.
6 6
7 #ifndef O3D_COMMAND_BUFFER_SERVICE_CROSS_GLES2_CMD_DECODER_H 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
8 #define O3D_COMMAND_BUFFER_SERVICE_CROSS_GLES2_CMD_DECODER_H 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
9 9
10 #include <build/build_config.h> 10 #include <build/build_config.h>
11 #if defined(OS_LINUX) 11 #if defined(OS_LINUX)
12 #include "gpu/command_buffer/service/x_utils.h" 12 #include "gpu/command_buffer/service/x_utils.h"
13 #elif defined(OS_WIN) 13 #elif defined(OS_WIN)
14 #include <windows.h> 14 #include <windows.h>
15 #endif 15 #endif
16 #include "gpu/command_buffer/service/common_decoder.h" 16 #include "gpu/command_buffer/service/common_decoder.h"
17 17
18 namespace command_buffer { 18 namespace gpu {
19 namespace gles2 { 19 namespace gles2 {
20 20
21 // This class implements the AsyncAPIInterface interface, decoding GLES2 21 // This class implements the AsyncAPIInterface interface, decoding GLES2
22 // commands and calling GL. 22 // commands and calling GL.
23 class GLES2Decoder : public CommonDecoder { 23 class GLES2Decoder : public CommonDecoder {
24 public: 24 public:
25 typedef parse_error::ParseError ParseError; 25 typedef parse_error::ParseError ParseError;
26 26
27 // Creates a decoder. 27 // Creates a decoder.
28 static GLES2Decoder* Create(); 28 static GLES2Decoder* Create();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 XWindowWrapper *window_; 73 XWindowWrapper *window_;
74 #elif defined(OS_WIN) 74 #elif defined(OS_WIN)
75 // Handle to the GL device. 75 // Handle to the GL device.
76 HWND hwnd_; 76 HWND hwnd_;
77 #endif 77 #endif
78 78
79 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 79 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
80 }; 80 };
81 81
82 } // namespace gles2 82 } // namespace gles2
83 } // namespace command_buffer 83 } // namespace gpu
84 84
85 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_GLES2_CMD_DECODER_H 85 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/common_decoder_unittest.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698