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

Unified Diff: gpu/command_buffer/common/image_buffer_manager.h

Issue 14456004: GPU client side changes for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Implement DeleteImageBuffersHelper and remove unused GetNativeBufferForGpuMemoryBuffer Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698