summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/collision_box_program.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Account for overscaling in debug collision circles.Chris Loer2018-02-061-0/+1
| | | | | Fixes issue #11116. Port of GL JS issue $6041.
* [core] Cleanup in response to review comments.Chris Loer2017-11-171-85/+83
|
* [core] Update shaders/tests from GL JS.Chris Loer2017-11-171-20/+138
|
* [core] Use fade texture in collision debug boxes so that they agree more ↵Chris Loer2017-07-111-1/+2
| | | | closely with symbol shaders.
* [core] Pass pitch-scaling vertex attributes and uniforms to shaders.Chris Loer2017-07-111-2/+10
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-151-1/+2
|
* [core] Add DDS support for {text,icon}-size (#8593)Anand Thakker2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Update gl-js and generate style code * Factor out packUint8Pair() helper function * Draft implementation of DDS for {text,icon}-size Ports https://github.com/mapbox/mapbox-gl-js/pull/4455 * Fix text-size/composite-function-line-placement test * Refactor to PaintPropertyBinders-like strategy * Dedupe gl::Program construction * Use exponential function base for interpolation * Dedupe coveringZoomStops method * Fixup tests * Fix CI errors (hidden within #if block)
* [core] Check in generated shader codeJohn Firebaugh2017-02-071-1/+1
| | | | One step toward eliminating the node/npm dependency for platforms other than node.
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-10/+11
|
* [core] Introduce SegmentVectorJohn Firebaugh2016-11-151-4/+6
|
* [core] Use gl::Program to resolve some rough edges in the GL binding typesJohn Firebaugh2016-11-081-0/+1
| | | | | | | | | * Extract `ignore` util to separate header. * `Segment` now tracks offset and length of indices, rather than primitives. This is more natural. * Introduce `VertexVector` and `IndexVector` types. These types carry information about the intended draw mode (`Triangles`, `LineStrip`, etc.), and ensure that elements are always appended in a group size appropriate for that draw mode, for both indexed and unindexed rendering. * `Program`, rather than `Drawable`, is now the unifying object for draw calls. `Program` is the best place to type check the draw call, because it is typed to carry information about the intended primitive, vertex type, attributes, and uniforms. * Use the debug shaders for debug tile rendering, like gl-js. * Fix the draw mode for background. It was drawing triangle strips with a triangles array. Surprised this didn’t cause issues. Now it’s type checked.
* [core] Introduce gl::Program templateJohn Firebaugh2016-11-081-0/+53