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

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: crown of aragorn Created 6 years, 5 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..e5ab2fbbf6ee67b3621f80284d2c97b7d2d1e7c2 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -60,8 +60,6 @@ struct GpuListenerInfo {
class CONTENT_EXPORT GpuChannelHostFactory {
public:
- typedef base::Callback<void(const gfx::Size)> CreateImageCallback;
-
virtual ~GpuChannelHostFactory() {}
virtual bool IsMainThread() = 0;
@@ -72,11 +70,6 @@ class CONTENT_EXPORT GpuChannelHostFactory {
int32 surface_id,
const GPUCreateCommandBufferConfig& init_params,
int32 route_id) = 0;
- virtual void CreateImage(
- gfx::PluginWindowHandle window,
- int32 image_id,
- const CreateImageCallback& callback) = 0;
- virtual void DeleteImage(int32 image_id, int32 sync_point) = 0;
virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
size_t width,
size_t height,

Powered by Google App Engine
This is Rietveld 408576698