Chromium Code Reviews| Index: gpu/command_buffer/common/image_buffer_manager.h |
| diff --git a/gpu/command_buffer/common/image_buffer_manager.h b/gpu/command_buffer/common/image_buffer_manager.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3238f192c57ef944991b40bc89843065280eadec |
| --- /dev/null |
| +++ b/gpu/command_buffer/common/image_buffer_manager.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef GPU_COMMAND_BUFFER_COMMON_IMAGE_BUFFER_MANAGER_H_ |
| +#define GPU_COMMAND_BUFFER_COMMON_IMAGE_BUFFER_MANAGER_H_ |
| + |
| +#include "base/basictypes.h" |
| + |
| +namespace gpu { |
| +namespace gles2 { |
| + |
| +// TODO(kaanb): Is GLES2_IMPL_EXPORT the right macro to use? |
| +class ImageManagerProxy { |
|
joth
2013/05/03 00:49:37
can we simplify this?
- remove this interface
- no
|
| + public: |
| + virtual ~ImageManagerProxy() {} |
| + virtual void AddImageBuffer(void* buffer, int width, int height, |
| + int image_id) = 0; |
| +}; |
| + |
| +} // namespace gles2 |
| +} // namespace gpu |
| + |
| +#endif // GPU_COMMAND_BUFFER_COMMON_IMAGE_BUFFER_MANAGER_H_ |