[core] Layer manager is responsible for buckets and layouts creation

This is a step to stop using of render layers in tile worker thread.
This commit is contained in:
Mikhail Pozdnyakov
2019-01-25 23:57:47 +02:00
parent fee22273be
commit e800f37547
41 changed files with 131 additions and 145 deletions

View File

@@ -46,11 +46,6 @@ void RenderCustomLayer::markContextDestroyed() {
contextDestroyed = true;
}
std::unique_ptr<Bucket> RenderCustomLayer::createBucket(const BucketParameters&, const std::vector<const RenderLayer*>&) const {
assert(false);
return nullptr;
}
void RenderCustomLayer::render(PaintParameters& paintParameters, RenderSource*) {
if (host != impl().host) {
//If the context changed, deinitialize the previous one before initializing the new one.