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

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

Issue 525022: Revert 35509 - linux: implement gpu plugin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 11 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 | 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 // This file contains the GLES2Decoder class. 5 // This file contains the GLES2Decoder class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_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_WIN) 11 #if defined(OS_LINUX)
12 #include "gpu/command_buffer/service/x_utils.h"
13 #elif defined(OS_WIN)
12 #include <windows.h> 14 #include <windows.h>
13 #endif 15 #endif
14 #include "gpu/command_buffer/service/common_decoder.h" 16 #include "gpu/command_buffer/service/common_decoder.h"
15 17
16 namespace gpu { 18 namespace gpu {
17 // Forward-declared instead of including x_utils.h, because including glx.h
18 // causes havok.
19 class XWindowWrapper;
20
21 namespace gles2 { 19 namespace gles2 {
22 20
23 // This class implements the AsyncAPIInterface interface, decoding GLES2 21 // This class implements the AsyncAPIInterface interface, decoding GLES2
24 // commands and calling GL. 22 // commands and calling GL.
25 class GLES2Decoder : public CommonDecoder { 23 class GLES2Decoder : public CommonDecoder {
26 public: 24 public:
27 typedef parse_error::ParseError ParseError; 25 typedef parse_error::ParseError ParseError;
28 26
29 // Creates a decoder. 27 // Creates a decoder.
30 static GLES2Decoder* Create(); 28 static GLES2Decoder* Create();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 HWND hwnd_; 79 HWND hwnd_;
82 #endif 80 #endif
83 81
84 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 82 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
85 }; 83 };
86 84
87 } // namespace gles2 85 } // namespace gles2
88 } // namespace gpu 86 } // namespace gpu
89 87
90 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 88 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/command_buffer_proxy.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