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

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

Issue 2514923002: content: Use mus client-lib's gpu-service from renderers. (Closed)
Patch Set: . Created 4 years 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
« no previous file with comments | « content/browser/gpu/gpu_client.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index cad9f3fb39539bfbd9af8afc249f607e3ebbb1af..908e3fff88901cee23f5553561e7b56775bd33fa 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -48,14 +48,6 @@
class GURL;
struct FontDescriptor;
-namespace gfx {
-struct GpuMemoryBufferHandle;
-}
-
-namespace gpu {
-struct SyncToken;
-}
-
namespace media {
struct MediaLogEvent;
}
@@ -134,12 +126,8 @@ class CONTENT_EXPORT RenderMessageFilter
void DeletedSharedBitmap(const cc::SharedBitmapId& id) override;
// Message handlers called on the browser IO thread:
- void OnEstablishGpuChannel(IPC::Message* reply);
void OnHasGpuProcess(IPC::Message* reply);
// Helper callbacks for the message handlers.
- void EstablishChannelCallback(std::unique_ptr<IPC::Message> reply,
- const IPC::ChannelHandle& channel,
- const gpu::GPUInfo& gpu_info);
void GetGpuProcessHandlesCallback(
std::unique_ptr<IPC::Message> reply,
const std::list<base::ProcessHandle>& handles);
@@ -184,17 +172,6 @@ class CONTENT_EXPORT RenderMessageFilter
bool CheckBenchmarkingEnabled() const;
bool CheckPreparsedJsCachingEnabled() const;
- void OnAllocateGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
- uint32_t width,
- uint32_t height,
- gfx::BufferFormat format,
- gfx::BufferUsage usage,
- IPC::Message* reply);
- void GpuMemoryBufferAllocated(IPC::Message* reply,
- const gfx::GpuMemoryBufferHandle& handle);
- void OnDeletedGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
- const gpu::SyncToken& sync_token);
-
// Cached resource request dispatcher host, guaranteed to be non-null. We do
// not own it; it is managed by the BrowserProcess, which has a wider scope
// than we do.
« no previous file with comments | « content/browser/gpu/gpu_client.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698