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

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

Issue 634083002: gpu: Compositor management of GpuMemoryBuffer instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-pre-chromium-image-refactor
Patch Set: mac build fix Created 6 years, 2 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
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 #include <GLES2/gl2extchromium.h>
9 10
10 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
11 12
12 namespace gpu { 13 namespace gpu {
13 namespace gles2 { 14 namespace gles2 {
14 15
15 // This class is the interface for all client side GL functions. 16 // This class is the interface for all client side GL functions.
16 class GLES2Interface { 17 class GLES2Interface {
17 public: 18 public:
18 GLES2Interface() {} 19 GLES2Interface() {}
19 virtual ~GLES2Interface() {} 20 virtual ~GLES2Interface() {}
20 21
21 // Include the auto-generated part of this class. We split this because 22 // Include the auto-generated part of this class. We split this because
22 // it means we can easily edit the non-auto generated parts right here in 23 // it means we can easily edit the non-auto generated parts right here in
23 // this file instead of having to edit some template or the code generator. 24 // this file instead of having to edit some template or the code generator.
24 #include "gpu/command_buffer/client/gles2_interface_autogen.h" 25 #include "gpu/command_buffer/client/gles2_interface_autogen.h"
25 }; 26 };
26 27
27 } // namespace gles2 28 } // namespace gles2
28 } // namespace gpu 29 } // namespace gpu
29 30
30 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_ 31 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698