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

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

Issue 9699125: Chromium implementation of discardBackbuffer WebGraphicsContext3D extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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/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 a22f6bb6851cc2f17af9f6f4d7229ad9060e7ccf..d7ddd481c5d8d4d88502912eb4dc9a384476e0bd 100644
--- a/content/common/gpu/texture_image_transport_surface.cc
+++ b/content/common/gpu/texture_image_transport_surface.cc
@@ -157,9 +157,7 @@ void TextureImageTransportSurface::SetBufferAllocation(
break;
case BUFFER_ALLOCATION_FRONT_ONLY:
case BUFFER_ALLOCATION_NONE:
- // TODO(piman): Re-enable this (or something else) when we fix the
- // renderer so it doesn't try to draw/swap on deleted back buffers.
- // ReleaseBackTexture();
+ ReleaseBackTexture();
break;
};
}

Powered by Google App Engine
This is Rietveld 408576698