[core] Rewrite image handling
* Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
||||
std::unique_ptr<mbgl::Map> map;
|
||||
|
||||
std::exception_ptr error;
|
||||
std::unique_ptr<const mbgl::StillImage> image;
|
||||
mbgl::UnassociatedImage image;
|
||||
std::unique_ptr<Nan::Callback> callback;
|
||||
|
||||
// Async for delivering the notifications of render completion.
|
||||
|
||||
Reference in New Issue
Block a user