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

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: wip 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..049cf3595eb3c367d7c71f4a9f5e122b3ab7e54b 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -33,9 +33,6 @@ class WaitableEvent;
namespace gpu {
class PreemptionFlag;
-namespace gles2 {
-class ImageManager;
-}
}
namespace IPC {
@@ -113,12 +110,6 @@ 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);
- void DeleteImage(int32 image_id);
-
gfx::GLShareGroup* share_group() const { return share_group_.get(); }
GpuCommandBufferStub* LookupCommandBuffer(int32 route_id);
@@ -205,7 +196,6 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
scoped_refptr<gfx::GLShareGroup> share_group_;
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
- scoped_refptr<gpu::gles2::ImageManager> image_manager_;
typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap;
StubMap stubs_;

Powered by Google App Engine
This is Rietveld 408576698