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

Unified Diff: content/common/gpu/gpu_channel.h

Issue 1124423008: MJPEG acceleration for video capture using VAAPI, the GPU and IPC part (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mjpeg-1-media
Patch Set: add back jpeg_decode_accelerator.cc Created 5 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
« no previous file with comments | « content/common/gpu/DEPS ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index 710b31ab285b3dd01235faefacaab6c8f3561572..65f9f1ca732685b1beae976e847a7ae2a15170a4 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -48,6 +48,7 @@ class MessageFilter;
namespace content {
class GpuChannelManager;
class GpuChannelMessageFilter;
+class GpuJpegDecodeAccelerator;
class GpuWatchdog;
// Encapsulates an IPC channel between the GPU process and one renderer
@@ -184,6 +185,7 @@ class GpuChannel : public IPC::Listener, public IPC::Sender,
int32 route_id,
bool* succeeded);
void OnDestroyCommandBuffer(int32 route_id);
+ void OnCreateJpegDecoder(int32 route_id, IPC::Message* reply_msg);
// Decrement the count of unhandled IPC messages and defer preemption.
void MessageProcessed();
@@ -229,6 +231,8 @@ class GpuChannel : public IPC::Listener, public IPC::Sender,
typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap;
StubMap stubs_;
+ scoped_ptr<GpuJpegDecodeAccelerator> jpeg_decoder_;
+
bool log_messages_; // True if we should log sent and received messages.
gpu::gles2::DisallowedFeatures disallowed_features_;
GpuWatchdog* watchdog_;
« no previous file with comments | « content/common/gpu/DEPS ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698