HTML Video capture: prefer using SkSurface::MakeRaster |
||
Issue description...in HTMLVideoElementCapturerSource::StartCapture() [1] |sk_sp<SkCanvas> canvas_| is initialized as canvas_ = sk_sp<SkCanvas>(skia::CreatePlatformCanvas(resolution.width,... and instead we should prefer [2] SkSurface::MakeRaster(...).getCanvas(); [1] https://code.google.com/p/chromium/codesearch#chromium/src/content/renderer/media/html_video_element_capturer_source.cc&sq=package:chromium&type=cs&l=94 [2] https://code.google.com/p/chromium/codesearch#chromium/src/third_party/skia/src/image/SkSurface_Raster.cpp&q=SkSurface::MakeRaster&sq=package:chromium&type=cs&l=193
,
May 31 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 31 2016