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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h

Issue 2627793003: Make OffscreenCanvas Webgl Context work with preserveDrawingBuffer flag (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
index 8227e12e4839a0b9a4091b46e75ea425d96f16ee..869e6e221d29ce3423265a9d160f8d78329fdf3b 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -1655,6 +1655,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
const IntRect& sourceSubRectangle);
void texImageBitmapByGPU(ImageBitmap*, GLuint, GLenum, GLenum, GLint, bool);
+ sk_sp<SkImage> makeImageSnapshotCopy(SkImageInfo&);
Justin Novosad 2017/01/11 21:40:04 I think the "Copy" part of the name is not necessa
xlai (Olivia) 2017/01/12 20:04:47 Done.
const unsigned m_version;
bool isPaintable() const final { return drawingBuffer(); }

Powered by Google App Engine
This is Rietveld 408576698