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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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: content/common/gpu/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index 4f5b74f010d3ad22d4ee963a1751d5cf4ace05b1..c2f7cdc0c5dcb34bda5226eb4c9b3f42a5a93a09 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -60,7 +60,7 @@ struct GpuListenerInfo {
class CONTENT_EXPORT GpuChannelHostFactory {
public:
- typedef base::Callback<void(const gfx::Size)> CreateImageCallback;
+ typedef base::Callback<void(bool)> CreateImageCallback;
virtual ~GpuChannelHostFactory() {}
@@ -73,7 +73,9 @@ class CONTENT_EXPORT GpuChannelHostFactory {
const GPUCreateCommandBufferConfig& init_params,
int32 route_id) = 0;
virtual void CreateImage(
- gfx::PluginWindowHandle window,
+ const gfx::GpuMemoryBufferHandle& handle,
+ const gfx::Size& size,
+ unsigned internalformat,
int32 image_id,
const CreateImageCallback& callback) = 0;
virtual void DeleteImage(int32 image_id, int32 sync_point) = 0;

Powered by Google App Engine
This is Rietveld 408576698