mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Roll Skia to 7b971f0152299ae9a924252a9bfd220318497bdd
R=chinmaygarde@google.com Review URL: https://codereview.chromium.org/1236953002 .
This commit is contained in:
parent
4d05e3034a
commit
41c0803d32
@ -20,7 +20,8 @@ GaneshSurface::GaneshSurface(intptr_t window_fbo,
|
||||
desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
|
||||
desc.fRenderTargetHandle = window_fbo;
|
||||
|
||||
auto target = skia::AdoptRef(context->gr()->wrapBackendRenderTarget(desc));
|
||||
auto target = skia::AdoptRef(
|
||||
context->gr()->textureProvider()->wrapBackendRenderTarget(desc));
|
||||
DCHECK(target);
|
||||
surface_ = skia::AdoptRef(SkSurface::NewRenderTargetDirect(target.get()));
|
||||
DCHECK(surface_);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user