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

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

Issue 9150022: Revert r118525 / Re-land r118240 - the build failure was a flake. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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) 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 // These functions emluate GLES2 over command buffers. 5 // These functions emulate GLES2 over command buffers.
6 6
7 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_LIB_H_ 7 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_LIB_H_
8 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_LIB_H_ 8 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_LIB_H_
9 9
10 #include "gpu/command_buffer/client/gles2_c_lib_export.h"
11
10 #include "../client/gles2_implementation.h" 12 #include "../client/gles2_implementation.h"
11 13
12 namespace gles2 { 14 namespace gles2 {
13 15
14 // Initialize the GLES2 library. 16 // Initialize the GLES2 library.
15 void Initialize(); 17 GLES2_C_LIB_EXPORT void Initialize();
16 18
17 // Terminate the GLES2 library. 19 // Terminate the GLES2 library.
18 void Terminate(); 20 GLES2_C_LIB_EXPORT void Terminate();
19 21
20 // Get the current GL context. 22 // Get the current GL context.
21 gpu::gles2::GLES2Implementation* GetGLContext(); 23 GLES2_C_LIB_EXPORT gpu::gles2::GLES2Implementation* GetGLContext();
22 24
23 // Set the current GL context. 25 // Set the current GL context.
24 void SetGLContext(gpu::gles2::GLES2Implementation* impl); 26 GLES2_C_LIB_EXPORT void SetGLContext(gpu::gles2::GLES2Implementation* impl);
25 27
26 } // namespace gles2 28 } // namespace gles2
27 29
28 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_LIB_H_ 30 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_LIB_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_autogen.h ('k') | gpu/command_buffer/common/gles2_cmd_format_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698