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

Unified Diff: content/common/gpu/image_transport_surface.cc

Issue 10696221: Aura: Less image transport IPCs and less code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 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
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | content/common/gpu/image_transport_surface_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface.cc
diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc
index 8ac506dbe2cd053ac30ca0232c3a04f29b61cf76..13920643eb4334485651a501513978fb6db782a9 100644
--- a/content/common/gpu/image_transport_surface.cc
+++ b/content/common/gpu/image_transport_surface.cc
@@ -93,8 +93,6 @@ bool ImageTransportHelper::OnMessageReceived(const IPC::Message& message) {
IPC_BEGIN_MESSAGE_MAP(ImageTransportHelper, message)
IPC_MESSAGE_HANDLER(AcceleratedSurfaceMsg_BufferPresented,
OnBufferPresented)
- IPC_MESSAGE_HANDLER(AcceleratedSurfaceMsg_NewACK,
- OnNewSurfaceACK)
IPC_MESSAGE_HANDLER(AcceleratedSurfaceMsg_ResizeViewACK, OnResizeViewACK);
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -198,12 +196,6 @@ gpu::gles2::GLES2Decoder* ImageTransportHelper::Decoder() {
return stub_->decoder();
}
-void ImageTransportHelper::OnNewSurfaceACK(
- uint64 surface_handle,
- TransportDIB::Handle shm_handle) {
- surface_->OnNewSurfaceACK(surface_handle, shm_handle);
-}
-
void ImageTransportHelper::OnBufferPresented(uint32 sync_point) {
surface_->OnBufferPresented(sync_point);
}
@@ -303,11 +295,6 @@ bool PassThroughImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) {
return true;
}
-void PassThroughImageTransportSurface::OnNewSurfaceACK(
- uint64 surface_handle,
- TransportDIB::Handle shm_handle) {
-}
-
void PassThroughImageTransportSurface::OnBufferPresented(uint32 sync_point) {
DCHECK(transport_);
helper_->SetScheduled(true);
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | content/common/gpu/image_transport_surface_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698