Commit Graph

3334 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
cd8eb13ba2 [core] Ensure image dependencies in GeometryTileWorker::onImagesAvailable 2017-08-14 18:23:03 +03:00
Bruno de Oliveira Abinader
6179e0f9c0 [core] Added Style::getDefaultCamera() 2017-08-11 22:04:52 +03:00
Ivo van Dongen
551f8baf5a [core] remove dependencies on RunLoop 2017-08-09 12:08:21 +03:00
Ivo van Dongen
edaa002c3c [core] current scheduler
- Adds a way to set the current scheduler on the thread to be used whenever a mailbox is created that needs to reply on this thread
2017-08-09 12:08:21 +03:00
John Firebaugh
822df3dd51 [core] Use separate attribute component for line normals
Broadcom GPUs don't cope well with using the least significant bit for this.
2017-08-08 18:06:44 -07:00
Konstantin Käfer
f0a7c45064 [core] finish must-revalidate support 2017-08-08 12:40:38 +02:00
Thiago Marcos P. Santos
761f506578 [core] Do not use polymorphic lambda
Crashes with GCC 5.2.0 needed by Qt Automotive.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68278
2017-08-07 17:20:33 +03:00
Thiago Marcos P. Santos
897824273f [core] Include what you use
Fix linking error on MacOS with older clang versions.
2017-08-07 17:20:33 +03:00
Thiago Marcos P. Santos
2108763010 [core] Remove std:: namespace for some functions
They are not available on Android + GCC (needed by Qt)
2017-08-07 17:20:33 +03:00
Konstantin Käfer
e8bfcd0474 [core] fix rendering of fill outlines that have a different color than the fill itself 2017-08-07 10:41:06 +02:00
John Firebaugh
466728b441 [core] Simplify generate-shaders.js
We moved the #pragma ⇢ #ifndef logic into gl-js.
2017-08-02 09:59:50 -07:00
Molly Lloyd
ba7574ec51 [core] modify texture coordinate scaling (#9153)
ignore unsupported dds property tests

fix tests

remove unneeded texture extent variable

bump gl-js to master
2017-07-27 14:54:03 -07:00
Lauren Budorick
a8ef2af353 [core][android][macos][ios] Implement property functions for line-join, text-justify, text-anchor (#9583) 2017-07-26 13:18:47 -07:00
John Firebaugh
d4cb498d7a [all] Merge View into RendererBackend 2017-07-26 09:50:38 -07:00
Thiago Marcos P. Santos
acd95c325a [core] Fix issues with the std:: namespace and old compilers
Specifically when building Android with GCC 4.9 (which Qt still does :-/)
2017-07-26 18:51:11 +03:00
Ivo van Dongen
27343c6a75 [core] fix backend scope handling on render, cleanup and lowmemory
- Make renderer frontend responsible for creating a BackendScope on render
- encapsulate backend scope handling on cleanup and low memory in renderer impl
2017-07-25 17:44:28 +03:00
John Firebaugh
a178248139 [node] Reset Style::Impl::lastError when loading a new style 2017-07-24 15:19:15 -07:00
Konstantin Käfer
c0efad5de2 [core] generate masks for raster tiles to avoid painting over children 2017-07-24 12:10:45 +02:00
Konstantin Käfer
4dff51719b [core] add algorithm for computing masks for raster tiles 2017-07-24 12:10:45 +02:00
John Firebaugh
cebc3c8d4b [android] Disable program caching on Adreno 3xx, 4xx, and 5xx GPUs due to known bugs 2017-07-21 09:31:16 -07:00
John Firebaugh
fb8d40ae67 [core] Work around Adreno 2xx GPU bugs (#9573) 2017-07-21 10:17:50 +02:00
John Firebaugh
b43e1ae123 [core] Correctly track sprite loaded state through smart setStyle 2017-07-20 08:58:50 -07:00
John Firebaugh
2cdbb49a0c [core] Fix build; struct ⇢ class 2017-07-19 13:31:59 -07:00
John Firebaugh
64203ba53f [core] Refactor Painter away 2017-07-19 09:31:07 -07:00
John Firebaugh
72b7e39074 [core] Inline Painter::renderPass 2017-07-19 09:31:07 -07:00
John Firebaugh
8c908b33d7 [core] Move extrusion rendering to RenderFillExtrusionLayer 2017-07-19 09:31:07 -07:00
John Firebaugh
ac58130d36 [core] Extract renderTileDebug; inline renderClippingMask 2017-07-19 09:31:07 -07:00
John Firebaugh
2c0fe49650 [core] Inline Painter::renderSymbol 2017-07-19 09:31:07 -07:00
John Firebaugh
3787d3a048 [core] Inline Painter::renderLine and RenderImageSource::render 2017-07-19 09:31:07 -07:00
John Firebaugh
0d951f39b6 [core] Inline Painter::renderLine 2017-07-19 09:31:07 -07:00
John Firebaugh
5d997ae08e [core] Inline Painter::renderFillExtrusion 2017-07-19 09:31:07 -07:00
John Firebaugh
356bba9e3b [core] Inline Painter::renderFill 2017-07-19 09:31:07 -07:00
John Firebaugh
23198d7935 [core] Inline Painter::renderCircle 2017-07-19 09:31:07 -07:00
John Firebaugh
c5ec9cafa7 [core] Inline Painter::renderBackground 2017-07-19 09:31:07 -07:00
John Firebaugh
5c24636c26 [core] Eliminate Bucket::render 2017-07-19 09:31:07 -07:00
Bruno de Oliveira Abinader
4954da23e7 [core] No need for default ctor in {Update,Tile}Parameters 2017-07-19 19:24:30 +03:00
Bruno de Oliveira Abinader
6c12de8d12 [core] std::vector can be bracket-initialized 2017-07-19 19:24:30 +03:00
Thiago Marcos P. Santos
a3244421a5 [Qt] Rename files with same name
QMake is having some issues with files with same names when
building the Qt Location plugin.
2017-07-19 14:39:39 +03:00
Ivo van Dongen
9ebf727f56 [core] BackendScope prevent double (de-)activation
- Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones
- Makes sure that only the most outer backend scope deactivates by tracking activation state
2017-07-18 10:45:12 +02:00
Ivo van Dongen
46c43510d7 [core] rename backend to renderer backend 2017-07-18 10:45:12 +02:00
Ivo van Dongen
3832f8d0d8 [core] renderer interface 2017-07-18 10:45:12 +02:00
Ivo van Dongen
57351c068b [core] split backend from mapobserver 2017-07-18 10:45:12 +02:00
Ivo van Dongen
e35cbbae55 [core] mutate style on annotation mutations immediately 2017-07-18 10:45:12 +02:00
Asheem Mamoowala
8ae7010546 [core][ios][android][macos] Use premultiplied image directly for RasterTile and ImageSource, un-premultiply in the shader for blending 2017-07-17 12:20:03 -07:00
Asheem Mamoowala
1d15ed64dc [core] Use shared pointer to manage Image source raster data and speed up change detection 2017-07-17 12:20:03 -07:00
Konstantin Käfer
fdfd5f91f5 [core] abort early when the dimension is 0 2017-07-17 15:02:47 +02:00
Konstantin Käfer
6b954677c0 [core] fix undefined behavior for division through 0 2017-07-17 15:02:47 +02:00
Konstantin Käfer
13d6920661 [core] fix division by zero when defaultFadeDuration is 0 2017-07-13 17:57:36 +02:00
John Firebaugh
1176eade34 [android] Force previously cached program binaries to be regenerated 2017-07-12 14:55:02 -07:00
John Firebaugh
c0d6a07a8e [core] Pass correct sources to programIdentifier 2017-07-12 14:55:02 -07:00