OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef GPU_COMMAND_BUFFER_COMMON_IMAGE_BUFFER_MANAGER_H_ | |
6 #define GPU_COMMAND_BUFFER_COMMON_IMAGE_BUFFER_MANAGER_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 | |
10 namespace gpu { | |
11 namespace gles2 { | |
12 | |
13 // TODO(kaanb): Is GLES2_IMPL_EXPORT the right macro to use? | |
14 class ImageManagerProxy { | |
joth
2013/05/03 00:49:37
can we simplify this?
- remove this interface
- no
| |
15 public: | |
16 virtual ~ImageManagerProxy() {} | |
17 virtual void AddImageBuffer(void* buffer, int width, int height, | |
18 int image_id) = 0; | |
19 }; | |
20 | |
21 } // namespace gles2 | |
22 } // namespace gpu | |
23 | |
24 #endif // GPU_COMMAND_BUFFER_COMMON_IMAGE_BUFFER_MANAGER_H_ | |
OLD | NEW |