icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -260,6 +260,14 @@ static sk_sp<SkImage> GetSkImageForSurface(SourceSurface* aSurface,
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
// Wrapper surfaces (e.g. SourceSurfaceOffset) can hand back the inner
|
||||
// SourceSurfaceSkia here; route it through GetImage so copy-on-write
|
||||
// snapshots are detached/locked rather than borrowing a raw pixel pointer
|
||||
// that can outlive the originating SkSurface.
|
||||
if (dataSurface->GetType() == SurfaceType::SKIA) {
|
||||
return static_cast<SourceSurfaceSkia*>(dataSurface.get())->GetImage(aLock);
|
||||
}
|
||||
|
||||
DataSourceSurface::MappedSurface map;
|
||||
void (*releaseProc)(const void*, void*);
|
||||
if (dataSurface->GetType() == SurfaceType::DATA_SHARED_WRAPPER) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue