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

Unified Diff: content/renderer/gpu/delegated_compositor_output_surface.cc

Issue 19331002: Associate an id with the output surface to handle lost contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, tests Created 7 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
Index: content/renderer/gpu/delegated_compositor_output_surface.cc
diff --git a/content/renderer/gpu/delegated_compositor_output_surface.cc b/content/renderer/gpu/delegated_compositor_output_surface.cc
index f6949ebc465f0c48fb845f194d795c6f7bb90f24..2e53923de14820b7527617260789f72daa20feae 100644
--- a/content/renderer/gpu/delegated_compositor_output_surface.cc
+++ b/content/renderer/gpu/delegated_compositor_output_surface.cc
@@ -8,9 +8,14 @@ namespace content {
DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface(
int32 routing_id,
+ uint32 output_surface_id,
WebGraphicsContext3DCommandBufferImpl* context3d,
cc::SoftwareOutputDevice* software)
- : CompositorOutputSurface(routing_id, context3d, software, true) {
+ : CompositorOutputSurface(routing_id,
+ output_surface_id,
+ context3d,
+ software,
+ true) {
capabilities_.delegated_rendering = true;
capabilities_.max_frames_pending = 1;
}
« no previous file with comments | « content/renderer/gpu/delegated_compositor_output_surface.h ('k') | content/renderer/gpu/mailbox_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698