Konstantin Käfer
e76de05402
[build] move logging to util
2016-11-22 20:58:51 +01:00
Konstantin Käfer
afd43eea3a
[core] remove gl.hpp from all headers that don't need it
2016-11-04 21:24:05 +01:00
Konstantin Käfer
ed155460d3
[core] convert LineAtlas to use managed texture handling
2016-11-01 18:41:52 +01:00
John Firebaugh
0e57d10d77
[core] Modern C++ bindings for OpenGL
2016-10-28 17:14:01 -07:00
Bruno de Oliveira Abinader
623a124e01
[core] Use query geometry from FeatureIndex into CollisionTile::queryRenderedSymbols
2016-10-11 12:10:32 +03:00
John Firebaugh
38e78e25df
[core] No need for feature querying to support multipolygons
2016-10-11 10:54:58 +03:00
John Firebaugh
7a3bef091e
[core] Refactor Buffer
2016-10-05 10:52:19 -07:00
Konstantin Käfer
b470a65582
[build] add back -Werror
2016-09-30 17:01:05 +02:00
Konstantin Käfer
2ec2860ce5
[core] move OpenGL extension loading to their own headers
2016-09-29 13:19:27 -07:00
Konstantin Käfer
cc78b74098
[core] remove dependence on gl.h types
2016-09-29 10:17:47 -07:00
Konstantin Käfer
15aece8a30
[core] introduces types for GL objects
2016-09-29 10:17:47 -07:00
Konstantin Käfer
d1a84d9b51
[core] rename VAO => VertexArray, FBO => Framebuffer
2016-09-29 10:17:47 -07:00
Konstantin Käfer
44c7e9d05e
[core] merge gl::ObjectStore into gl::Context
2016-09-27 11:03:29 -07:00
Konstantin Käfer
ce42d22984
[core] rename gl::Config to gl::Context
2016-09-27 11:03:29 -07:00
Konstantin Käfer
afb93d4d3a
[core] track VAOs and Buffers
2016-09-26 11:14:40 +02:00
John Firebaugh
c3a583cdd5
[core] Allow queryRenderedFeatures prior to symbol placement ( #6376 )
2016-09-20 07:47:42 -07:00
John Firebaugh
dc1861f6d5
[core] Merge GlyphStore and GlyphAtlas
2016-09-19 09:40:43 -07:00
Brad Leege
d0f9ba4998
[core] #3980 - Switching Core GL instances of map to unordered_map
2016-09-14 16:40:20 -07:00
Konstantin Käfer
3d960c8136
[core] change bool round to LinePatternCap
2016-09-07 17:56:38 +02:00
Amy Lee Walton
b0cb8715ed
CJK overflow - update to match gl-shader ( #5908 )
...
* update vertex array ushorts
* update atlas size
* testing latest cjk test-suite branch
* update shader ref
* update shaders
* update icon buffer
* shaders
* updated tests
* buffer fix
* updated make tests
* annotation expected updates
* final push
* final fonts
* a_data1 removal
* remove cjk-mixed test
* hiring threshold for cjk-chinese
* update to new test suite
* Rename a_data2 to a_data in sdf and icon shaders
* update test-suite sha
2016-08-11 09:49:36 -07:00
Bruno de Oliveira Abinader
3ae506ee13
[core] Use NDEBUG instead of DEBUG
...
CMake defines 'NDEBUG' by default for release build, so we can check if
that's not defined instead of using 'DEBUG' for debug build.
2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
389c7615eb
[core] Revert workaround for std::atomic on ARMv5
...
Got fix on r12.
https://github.com/android-ndk/ndk/issues/31
2016-07-13 17:56:51 +03:00
Konstantin Käfer
4f26c8122a
[core] track texture state to avoid redundand binds
2016-07-08 13:11:25 +02:00
Bruno de Oliveira Abinader
3bf85cc55d
[core] Added StaticRasterVertexBuffer
2016-07-02 17:21:59 +03:00
Konstantin Käfer
77e7846756
[core] code style cleanups
...
- puts function definitions in a namespace ... {} rather than using namespace ...;
- remove trailing whitespace
- add trailing newline
- protect SQL statements from being formatted by clang-format
2016-07-01 12:38:33 +02:00
Bruno de Oliveira Abinader
76fc07c606
[core] Autogenerate Shader name
2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
c20c1d6a6b
[core] Avoid redundant 'inline' usage
2016-06-18 23:46:50 +03:00
Bruno de Oliveira Abinader
6e22de8cce
[tidy] Check modernize-use-auto
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
7ac7ac13f5
[tidy] Check modernize-use-default
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-default.html
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
4161d197fd
[tidy] Check modernize-pass-by-value
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
2016-06-13 23:32:05 +03:00
Bruno de Oliveira Abinader
92f605df32
[tidy] Check modernize-use-nullptr
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2016-06-13 23:32:05 +03:00
Bruno de Oliveira Abinader
9142c447e8
[tidy] Check llvm-namespace-comment
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
2016-06-13 23:32:05 +03:00
John Firebaugh
5c7dfd948f
[core] *Tile ↔ *TileData
...
Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
2016-06-13 10:59:33 -07:00
Konstantin Käfer
2bdecdf9f9
[core] fix pedantic warning messages
2016-06-13 11:16:19 +02:00
Young Hahn
ecd4aa1439
text-pitch-alignment ( #5288 )
...
* First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668
* RotationAlignmentType => AlignmentType
* Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment
* Update dependencies
* Move handling fo undefined default value out of camelize functions
2016-06-10 23:05:15 -04:00
Konstantin Käfer
aa88ca4757
[core] remove unused code
2016-06-07 13:55:35 +02:00
Thiago Marcos P. Santos
7b8698b47a
[core] Naive atomic type for ARMv5
...
std::atomic<bool> is implemented lock free which doesn't work
on ARMv5 and seems like the compiler is generating bogus code.
This workaround is a naive implementation using regular mutexes.
2016-06-06 22:19:25 +03:00
John Firebaugh
c902f9098b
[core] Rationalize naming for style-related code
2016-06-02 14:51:39 -07:00
John Firebaugh
a43940afb2
[core] Runtime style layer API
2016-06-02 14:51:39 -07:00
Bruno de Oliveira Abinader
1b0683b94c
[core] Use unique_resource for GL objects
...
Source: https://github.com/okdshin/unique_resource
These replace the complexity of manually handling moveable-RAII objects
with a type specific for that purpose.
As suggested in https://github.com/mapbox/mapbox-gl-native/pull/5141#issuecomment-221719872 .
2016-06-01 13:53:39 +03:00
Bruno de Oliveira Abinader
2038a21cb5
[core] s/GLObjectStore/ObjectStore/
2016-06-01 13:53:39 +03:00
Bruno de Oliveira Abinader
c111250fcc
[core] s/operator bool/created()/ in {GL,TexturePool}Holder
...
Prevents confusing usage of GL holder objects.
2016-05-26 19:36:52 +03:00
Konstantin Käfer
e2bcea90fc
[core] use #pragma once instead of ifdef include guards
2016-05-25 21:35:37 +02:00
John Firebaugh
5864c8fc4c
[core] Include geometry in queryRenderedFeatures results
2016-05-18 17:29:16 -07:00
John Firebaugh
3c49fdc99d
[core] Feature IDs are always integers
2016-05-17 13:20:25 -07:00
John Firebaugh
57fcfabd77
[core] Make mapbox::geometry::envelope usable without explicit template arguments
2016-05-13 09:01:32 -07:00
John Firebaugh
39da776bd7
[core] Use mapbox::geometry::{box,envelope}
2016-05-13 09:01:32 -07:00
John Firebaugh
0e7f3ada64
[core] Fix code style issues
2016-05-12 08:43:08 -07:00
John Firebaugh
b87fe16169
[core] CollisionBox::indexedFeature to CollisionFeature::indexedFeature
...
This eliminates the CollisionBox constructor that instantiates an "empty" IndexedSubfeature.
2016-05-12 08:36:30 -07:00
John Firebaugh
1a030e7c33
[core] Normalize tile coordinates in VectorTile ( #4966 )
...
Previously, vector tile coordinates were being normalized to util::EXTENT in each place they were used, and for annotation and GeoJSON sources that don't require normalization.
2016-05-11 13:54:05 -07:00