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

Unified Diff: Source/platform/graphics/gpu/DrawingBuffer.h

Issue 369043003: Let canvas decide how to handle the case of resource lost reported by client: 2D part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: not use lostResource flag Created 6 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
Index: Source/platform/graphics/gpu/DrawingBuffer.h
diff --git a/Source/platform/graphics/gpu/DrawingBuffer.h b/Source/platform/graphics/gpu/DrawingBuffer.h
index 4c457b7c7b747dc97b8763a629758a6bbe6de54f..b45d9d5b7d71e61fc6b63b3ca6e15cc7163418ef 100644
--- a/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -154,7 +154,7 @@ public:
// WebExternalTextureLayerClient implementation.
virtual bool prepareMailbox(blink::WebExternalTextureMailbox*, blink::WebExternalBitmap*) OVERRIDE;
- virtual void mailboxReleased(const blink::WebExternalTextureMailbox&) OVERRIDE;
+ virtual void mailboxReleased(const blink::WebExternalTextureMailbox&, bool) OVERRIDE;
danakj 2014/07/03 15:09:02 var name
Hongbo Min 2014/07/07 04:30:28 Done.
// Destroys the TEXTURE_2D binding for the owned context
bool copyToPlatformTexture(blink::WebGraphicsContext3D*, Platform3DObject texture, GLenum internalFormat,

Powered by Google App Engine
This is Rietveld 408576698