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

Unified Diff: content/common/gpu/gpu_channel.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/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index e181a3e1a8be055f977fe1f64d7392031bf10a5d..c9c4d2c854c2a20dc2b0a633ba44d7ee9f761982 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -113,10 +113,11 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
const GPUCreateCommandBufferConfig& init_params,
int32 route_id);
- void CreateImage(
- gfx::PluginWindowHandle window,
- int32 image_id,
- gfx::Size* size);
+ bool CreateImage(
+ const gfx::GpuMemoryBufferHandle& handle,
+ const gfx::Size& size,
+ unsigned internalformat,
+ int32 image_id);
void DeleteImage(int32 image_id);
gfx::GLShareGroup* share_group() const { return share_group_.get(); }

Powered by Google App Engine
This is Rietveld 408576698