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

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

Issue 869433003: (not for commit) Simplified multi-threaded Ganesh with lock on Flush only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 10 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
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.cc ('k') | no next file » | 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_GLES2_INTERFACE_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 11
12 extern "C" typedef struct _ClientBuffer* ClientBuffer; 12 extern "C" typedef struct _ClientBuffer* ClientBuffer;
13 13
14 namespace gpu { 14 namespace gpu {
15 namespace gles2 { 15 namespace gles2 {
16 16
17 // This class is the interface for all client side GL functions. 17 // This class is the interface for all client side GL functions.
18 class GLES2Interface { 18 class GLES2Interface {
19 public: 19 public:
20 GLES2Interface() {} 20 GLES2Interface() {}
21 virtual ~GLES2Interface() {} 21 virtual ~GLES2Interface() {}
22 22
23 // Include the auto-generated part of this class. We split this because 23 // Include the auto-generated part of this class. We split this because
24 // it means we can easily edit the non-auto generated parts right here in 24 // it means we can easily edit the non-auto generated parts right here in
25 // this file instead of having to edit some template or the code generator. 25 // this file instead of having to edit some template or the code generator.
26 #include "gpu/command_buffer/client/gles2_interface_autogen.h" 26 #include "gpu/command_buffer/client/gles2_interface_autogen.h"
27
28 virtual void SetSafeFlushPoint(){};
29 virtual void SafeFlush(){};
27 }; 30 };
28 31
29 } // namespace gles2 32 } // namespace gles2
30 } // namespace gpu 33 } // namespace gpu
31 34
32 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_ 35 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698