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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 542083002: content: Move all GpuMemoryBuffer allocation to IO thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review feedback Created 6 years, 3 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/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 3f0098e68de4e35528d5149fe550a185eab3e08e..5649af8ab76381d21f6cada95d19d3ea8d79ffa9 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -25,11 +25,6 @@
#include "mojo/public/cpp/bindings/interface_ptr.h"
#include "ui/gfx/gpu_memory_buffer.h"
-#if defined(OS_MACOSX)
-#include <IOSurface/IOSurfaceAPI.h>
-#include "base/mac/scoped_cftyperef.h"
-#endif
-
namespace base {
class CommandLine;
class MessageLoop;
@@ -37,7 +32,6 @@ class MessageLoop;
namespace gfx {
class Size;
-struct GpuMemoryBufferHandle;
}
namespace content {
@@ -325,17 +319,6 @@ class CONTENT_EXPORT RenderProcessHostImpl
void SendDisableAecDumpToRenderer();
#endif
- // GpuMemoryBuffer allocation handler.
- void OnAllocateGpuMemoryBuffer(uint32 width,
- uint32 height,
- uint32 internalformat,
- uint32 usage,
- IPC::Message* reply);
- void GpuMemoryBufferAllocated(IPC::Message* reply,
- const gfx::GpuMemoryBufferHandle& handle);
- void OnDeletedGpuMemoryBuffer(gfx::GpuMemoryBufferType type,
- const gfx::GpuMemoryBufferId& id);
-
scoped_ptr<MojoApplicationHost> mojo_application_host_;
bool mojo_activation_required_;
@@ -455,10 +438,6 @@ class CONTENT_EXPORT RenderProcessHostImpl
base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
-#if defined(OS_MACOSX)
- base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_;
-#endif
-
DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
};
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698