| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
StubFileSource gets an optional Response return type. Returning null means "cancelled; don't call the callback".
Fixes #3784
|
|
|
|
|
|
| |
Now it works more like StubStyleObserver: you can assign std::functions to specific slots based on resource type.
Rewrite resource loading tests in that style, making them less like integration tests of Style and more like unit tests of Source, GlyphStore, and SpriteStore.
|
|
|
|
|
|
|
|
|
|
|
|
| |
the SpriteImage constructor signature changes from
SpriteImage(
uint16_t width, uint16_t height, float pixelRatio,
std::string&& data, bool sdf = false);
to
SpriteImage(PremultipliedImage&&, float pixelRatio, bool sdf = false)
|
|
|
|
|
|
|
|
|
|
|
| |
ref #3031
ref #2198
For example, an icon that has:
- a pixel width of 10
- a pixel ratio of 3
- a scaled with of 3.333
is now supported.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Standardize on std::exception_ptr as the error representation
(fixes #2854).
* Don't format textual strings at the error source; pass on the
constituent data via observer method parameters instead.
* Use the null object pattern to simplify observer notification code.
* Further refactoring for ResourceLoading tests.
|
| |
|
|
|
|
| |
Fixes #3162
|
|
|
|
| |
Fixes #1488
|
| |
|
|
|
|
|
|
| |
* Consolidate Image and StillImage
* Typecheck unassociated vs premultiplied images
* Rewrite default platform image decoding implementation
|
|
|
|
| |
Previous test was invalid; Map::setSprite is only for annotations.
|
| |
|
|
|