Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump Mapbox GL Native | Thiago Marcos P. Santos | 2017-11-02 | 2 | -11/+5 |
| | | | | mapbox-gl-native @ 13ec2cc562ce98a089b47dee2987b5e58a0384e2 | ||||
* | Bump Mapbox GL Native | Thiago Marcos P. Santos | 2017-11-01 | 3 | -32/+19 |
| | | | | mapbox-gl-native @ 0ef7b7154f6d4498077a83db5c486c61bc34938c | ||||
* | Bump Mapbox GL Native | Thiago Marcos P. Santos | 2017-10-18 | 5 | -13/+40 |
| | | | | mapbox-gl-native @ 10f7af19ce1ec61f37459f9cd75e2a0c89a0c790 | ||||
* | Bump Mapbox GL Nativeqt-v1.1.0 | Thiago Marcos P. Santos | 2017-08-09 | 29 | -620/+1421 |
| | | | | mapbox-gl-native @ edd7948893fcd40a24d96b790e21d3dd028cecbe | ||||
* | [gcc4.9] Only do bracket initialization where GCC4.9 can handle it | Thiago Marcos P. Santos | 2017-01-24 | 3 | -3/+9 |
| | | | | | GCC 4.9 cannot do bracket initialization when one of the attributes already has a default value. | ||||
* | [gcc4.9] Make constexpr usage compatible with GCC 4.9 | Thiago Marcos P. Santos | 2017-01-24 | 2 | -6/+4 |
| | |||||
* | [core] Disable debug groups in release builds | John Firebaugh | 2017-01-17 | 2 | -36/+38 |
| | |||||
* | [core] Restore GL_KHR_debug messages in release builds | John Firebaugh | 2017-01-17 | 2 | -15/+8 |
| | | | | This reverts commit 8c4da72d09e585bd10d030129c99e1e609a2d2f9. | ||||
* | [core] Remove constexpr from Color | John Firebaugh | 2017-01-04 | 2 | -4/+4 |
| | | | | GCC can't cope with it. | ||||
* | [core] Fix debug rendering | John Firebaugh | 2016-12-13 | 1 | -0/+1 |
| | | | | | * Off-by-one in DebugBucket indexing * Must unbind VAO before binding index buffer in Context::createIndexBuffer | ||||
* | [core] Use indexed rendering everywhere | John Firebaugh | 2016-12-01 | 3 | -45/+5 |
| | |||||
* | [build] move logging to util | Konstantin Käfer | 2016-11-22 | 2 | -3/+3 |
| | |||||
* | [core] Return to static, per-segment approach to VAOs | John Firebaugh | 2016-11-15 | 3 | -42/+10 |
| | | | | This is safer now -- it can be an implementation detail of Segment/Context. And the typing of SegmentVector now ensures that the attributes and program match. | ||||
* | [core] Introduce SegmentVector | John Firebaugh | 2016-11-15 | 2 | -3/+17 |
| | |||||
* | [core] Assign attribute locations sequentially | John Firebaugh | 2016-11-15 | 5 | -11/+21 |
| | | | | | | | Two reasons to prefer explicit sequential location assignment, rather than relying on the GLSL linker to assign locations: * For data-driven properties, we want to have the option to use glDisableVertexAttribArray plus glVertexAttrib*. In order to use glDisableVertexAttribArray, we must avoid using attribute location 0, which cannot be disabled. * We want to use the same VAO in cases where, say, a fill layer might be rendered with FillProgram at first, and then FillPatternProgram later. VAOs do not store the program binding, only the attribute bindings, so as long as the two programs have the same attributes and attribute locations, only a single VAO (per segment) is needed. | ||||
* | [core] don't show OpenGL debug information on startup | Konstantin Käfer | 2016-11-14 | 1 | -24/+2 |
| | |||||
* | [core] Require point size / line width for DrawMode constructors | John Firebaugh | 2016-11-08 | 1 | -0/+12 |
| | |||||
* | [core] Put ignore in util namespace | John Firebaugh | 2016-11-08 | 4 | -9/+9 |
| | |||||
* | [core] Introduce and use IndexedTuple | John Firebaugh | 2016-11-08 | 2 | -19/+15 |
| | |||||
* | [core] Use gl::Program to resolve some rough edges in the GL binding types | John Firebaugh | 2016-11-08 | 11 | -182/+210 |
| | | | | | | | | | * 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 template | John Firebaugh | 2016-11-08 | 11 | -190/+119 |
| | |||||
* | [core] Make attribute binding more similar to uniform binding | John Firebaugh | 2016-11-08 | 4 | -37/+181 |
| | |||||
* | [core] move Value class outside of Uniform to enforce explicit construction | Konstantin Käfer | 2016-11-07 | 1 | -4/+8 |
| | |||||
* | [core] force explicit initialization of uniform values | Konstantin Käfer | 2016-11-07 | 1 | -1/+0 |
| | | | | force users to use the actual names to avoid implicit conversion accidentally targeting the wrong shader | ||||
* | [core] remove Uniforms::value in favor of direct construction | Konstantin Käfer | 2016-11-07 | 1 | -5/+0 |
| | |||||
* | [core] move pixel blitting to gl::Context | Konstantin Käfer | 2016-11-04 | 2 | -0/+22 |
| | |||||
* | [core] move OpenGL debug information printing to core | Konstantin Käfer | 2016-11-04 | 1 | -12/+31 |
| | |||||
* | [core] move framebuffer reading to gl::Context | Konstantin Käfer | 2016-11-04 | 3 | -0/+40 |
| | |||||
* | [core] add state tracking to pixel transfer | Konstantin Käfer | 2016-11-04 | 4 | -0/+60 |
| | |||||
* | [core] add state tracking to pixel store packing alignment | Konstantin Käfer | 2016-11-04 | 5 | -2/+59 |
| | |||||
* | [core] convert LineAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 4 | -12/+36 |
| | |||||
* | [core] add ability to upload alpha-only textures + images | Konstantin Käfer | 2016-11-01 | 3 | -11/+25 |
| | |||||
* | [core] convert SpriteAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 2 | -3/+16 |
| | |||||
* | [core] correctly set the framebuffer size on retina screens | Konstantin Käfer | 2016-11-01 | 1 | -0/+4 |
| | | | | Also asserts in Debug mode that the internal state and the OpenGL state are identical | ||||
* | [core] Use VAOs internally | John Firebaugh | 2016-10-28 | 2 | -19/+79 |
| | |||||
* | [core] Modern C++ bindings for OpenGL | John Firebaugh | 2016-10-28 | 20 | -397/+827 |
| | |||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 7 | -30/+24 |
| | |||||
* | [core] move gl::Context to Backend and refactor View | Konstantin Käfer | 2016-10-25 | 11 | -74/+250 |
| | |||||
* | [core] Make ElementGroup safer | John Firebaugh | 2016-10-05 | 3 | -35/+1 |
| | | | | | | Template on shader types, rather than count. This allows the compiler to enforce using the correct VAO for the shader and PaintMode. This fixes OverdrawMode with circle layers. While here, avoid using unique_ptrs for groups. Instead, ensure ElementGroup is movable. | ||||
* | [core] Improve attribute binding API | John Firebaugh | 2016-10-05 | 7 | -16/+98 |
| | |||||
* | [core] Put VertexArrayObject in gl namespace | John Firebaugh | 2016-10-05 | 2 | -25/+29 |
| | |||||
* | [core] Move shader and uniform to gl directory | John Firebaugh | 2016-10-05 | 6 | -5/+290 |
| | |||||
* | [core] Refactor Buffer | John Firebaugh | 2016-10-05 | 7 | -9/+256 |
| | |||||
* | [core] remove Raster object in favor of a more low-level Texture object | Konstantin Käfer | 2016-10-04 | 4 | -0/+81 |
| | |||||
* | [core] only load debug extensions in debug mode | Konstantin Käfer | 2016-09-29 | 2 | -8/+15 |
| | |||||
* | [core] move OpenGL extension loading to their own headers | Konstantin Käfer | 2016-09-29 | 8 | -54/+128 |
| | |||||
* | [core] remove dependence on gl.h types | Konstantin Käfer | 2016-09-29 | 5 | -313/+672 |
| | |||||
* | [core] introduces types for GL objects | Konstantin Käfer | 2016-09-29 | 6 | -40/+70 |
| | |||||
* | [core] rename VAO => VertexArray, FBO => Framebuffer | Konstantin Käfer | 2016-09-29 | 6 | -32/+34 |
| | |||||
* | [core] don't iterate over references to uint32_t | Konstantin Käfer | 2016-09-28 | 1 | -9/+9 |
| |