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

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

Issue 10663003: Merge the IPCs used for GPU process synchronization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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/texture_image_transport_surface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/texture_image_transport_surface.cc
diff --git a/content/common/gpu/texture_image_transport_surface.cc b/content/common/gpu/texture_image_transport_surface.cc
index 2cb230153cc612ee8703c8f1e5506a38d2c88e75..c4930f944baf04681d418ff0f73559b1f4ea2d58 100644
--- a/content/common/gpu/texture_image_transport_surface.cc
+++ b/content/common/gpu/texture_image_transport_surface.cc
@@ -349,7 +349,7 @@ void TextureImageTransportSurface::OnNewSurfaceACK(
uint64 surface_handle, TransportDIB::Handle /*shm_handle*/) {
}
-void TextureImageTransportSurface::OnBuffersSwappedACK() {
+void TextureImageTransportSurface::OnBufferPresented() {
if (helper_->MakeCurrent()) {
if (textures_[front_].size != textures_[back()].size) {
CreateBackTexture(textures_[front_].size);
@@ -363,10 +363,6 @@ void TextureImageTransportSurface::OnBuffersSwappedACK() {
helper_->SetScheduled(true);
}
-void TextureImageTransportSurface::OnPostSubBufferACK() {
- OnBuffersSwappedACK();
-}
-
void TextureImageTransportSurface::OnResizeViewACK() {
NOTREACHED();
}
« no previous file with comments | « content/common/gpu/texture_image_transport_surface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698