diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-11-13 13:58:58 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-11-27 09:55:16 +0100 |
commit | acd64ae866bdf6d8171c4508a5a42b4c20d4bf3d (patch) | |
tree | 4acc6fdd20b0e232130ff3a6a5d7827bdeec7812 /vcl | |
parent | 241730a71bcde0aca285c9e28d3811693e259dce (diff) |
remove no-longer-needed Skia workaround for GPU offscreen drawing
Change-Id: I044a9a31af71c4c624f08a0813bc59472f4c728a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/skia/gdiimpl.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx index cb2beb2667a0..caed9fb33431 100644 --- a/vcl/skia/gdiimpl.cxx +++ b/vcl/skia/gdiimpl.cxx @@ -739,11 +739,6 @@ void SkiaSalGraphicsImpl::copyBits(const SalTwoRect& rPosAry, SalGraphics* pSrcG assert(dynamic_cast<SkiaSalGraphicsImpl*>(pSrcGraphics->GetImpl())); src = static_cast<SkiaSalGraphicsImpl*>(pSrcGraphics->GetImpl()); src->checkSurface(); - // TODO Without this flush() Skia asserts if both src and destination are - // GPU-backed SkSurface that come from different GrContext (e.g. when - // src comes from SkiaVulkanGrContext and target is a window). I don't - // know if it's a Skia bug or our GrContext usage is incorrect. - src->mSurface->flush(); } else src = this; |