Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Use indexed rendering everywhere | John Firebaugh | 2016-12-01 | 1 | -25/+31 |
| | |||||
* | [build] move logging to util | Konstantin Käfer | 2016-11-22 | 1 | -1/+1 |
| | |||||
* | [core] Sort symbol render tiles prior to rendering | Bruno de Oliveira Abinader | 2016-11-18 | 1 | -1/+1 |
| | |||||
* | [core] update native for line property function shaders changes (#6658) | Molly Lloyd | 2016-11-16 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] update shaders for line property functions update deps, define device pixel ratio for all shaders [core] create ShaderParameter struct to store pixel ratio and overdraw param repair rebase errs update shaders to include pixel ratio make sure collision_box never overdraws update test suite, move shaders to Painter::render so the correct pixel ratio is applied move shader compiling back to the Painter constructor rebase from shader --> program refactor re-factor parameters for collisionBox and debug programs remove unused vars from line-program, move blur math to shader update core files remove unecessary files update shaders PR, remove comments bump test suite sha fix formatting, incorporate feedback refactor program.hpp * [core] remove line transformations that were moved to the shaders, bump shader sha * [core] shorten ProgramParameter instantiation * [core] bump shader+test suite shas | ||||
* | [core] Introduce SegmentVector | John Firebaugh | 2016-11-15 | 1 | -2/+5 |
| | |||||
* | [core] Use gl::Program to resolve some rough edges in the GL binding types | John Firebaugh | 2016-11-08 | 1 | -20/+34 |
| | | | | | | | | | * 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 | 1 | -9/+9 |
| | |||||
* | [core] Make attribute binding more similar to uniform binding | John Firebaugh | 2016-11-08 | 1 | -15/+15 |
| | |||||
* | [core] remove gl.hpp from all headers that don't need it | Konstantin Käfer | 2016-11-04 | 1 | -2/+1 |
| | |||||
* | [core] Modern C++ bindings for OpenGL | John Firebaugh | 2016-10-28 | 1 | -51/+52 |
| | |||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 1 | -1/+1 |
| | |||||
* | [core] move gl::Context to Backend and refactor View | Konstantin Käfer | 2016-10-25 | 1 | -17/+18 |
| | |||||
* | [core] separate Backend from View for headless rendering | Konstantin Käfer | 2016-10-25 | 1 | -11/+14 |
| | |||||
* | [core] Rationalize shader names | John Firebaugh | 2016-10-06 | 1 | -2/+2 |
| | | | | {layer type}{subtype}Shader | ||||
* | [core] Adhere to vertices/vertexBuffer naming convention | John Firebaugh | 2016-10-05 | 1 | -3/+3 |
| | |||||
* | [core] Move shader and uniform to gl directory | John Firebaugh | 2016-10-05 | 1 | -1/+1 |
| | |||||
* | [core] Refactor Buffer | John Firebaugh | 2016-10-05 | 1 | -4/+22 |
| | |||||
* | [core] only load debug extensions in debug mode | Konstantin Käfer | 2016-09-29 | 1 | -0/+2 |
| | |||||
* | [core] remove dependence on gl.h types | Konstantin Käfer | 2016-09-29 | 1 | -20/+23 |
| | |||||
* | [core] merge gl::ObjectStore into gl::Context | Konstantin Käfer | 2016-09-27 | 1 | -15/+17 |
| | |||||
* | [core] rename gl::Config to gl::Context | Konstantin Käfer | 2016-09-27 | 1 | -49/+49 |
| | |||||
* | [core] move GL value accessors to gl::value namespace | Konstantin Käfer | 2016-09-27 | 1 | -4/+4 |
| | |||||
* | [core] store viewport and FBO binding | Konstantin Käfer | 2016-09-27 | 1 | -0/+8 |
| | |||||
* | [core] track VAOs and Buffers | Konstantin Käfer | 2016-09-26 | 1 | -5/+5 |
| | |||||
* | [core] Convert uses of std::set to std::unordered_set (#6325) | Lucas Wojciechowski | 2016-09-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/mbgl/annotation/annotation_manager.hpp * src/mbgl/algorithm/update_renderables.hpp * src/mbgl/geometry/glyph_atlas.hpp * src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp * src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp * src/mbgl/sprite/sprite_atlas.hpp * include/mbgl/storage/network_status.hpp * src/mbgl/text/collision_tile.cpp * src/mbgl/style/update_batch.hpp * platform/default/mbgl/storage/offline_download.hpp * Add GlyphRangeSet typedef * Fix whitespace & unused imports | ||||
* | [core] Merge GlyphStore and GlyphAtlas | John Firebaugh | 2016-09-19 | 1 | -1/+1 |
| | |||||
* | [core] change bool overdraw to PaintMode::Overdraw | Konstantin Käfer | 2016-09-07 | 1 | -3/+3 |
| | |||||
* | [core] set correct depth values for CustomLayer so compositing works | Konstantin Käfer | 2016-08-22 | 1 | -0/+5 |
| | |||||
* | [core] add ability show visualize the depth buffer to the GLFW and macOS app | Konstantin Käfer | 2016-08-19 | 1 | -0/+6 |
| | |||||
* | [core] Use NDEBUG instead of DEBUG | Bruno de Oliveira Abinader | 2016-08-05 | 1 | -7/+3 |
| | | | | | CMake defines 'NDEBUG' by default for release build, so we can check if that's not defined instead of using 'DEBUG' for debug build. | ||||
* | [core] Make MapDebugOptions::StencilClip a no-op in Release mode | Bruno de Oliveira Abinader | 2016-07-20 | 1 | -0/+2 |
| | |||||
* | [core] Make MapDebugOptions::Overdraw a no-op in Release mode | Bruno de Oliveira Abinader | 2016-07-20 | 1 | -0/+6 |
| | |||||
* | [core] Remove unused | John Firebaugh | 2016-07-11 | 1 | -5/+0 |
| | |||||
* | [core] Move translatedMatrix to RenderTile | John Firebaugh | 2016-07-11 | 1 | -26/+0 |
| | |||||
* | [core] Pass RenderTile rather than individual parameters | John Firebaugh | 2016-07-11 | 1 | -1/+1 |
| | |||||
* | [core] Introduce PaintParameters | John Firebaugh | 2016-07-11 | 1 | -6/+14 |
| | | | | Use it to DRY selection of regular vs. overdraw shaders and VAOs. | ||||
* | [core] Introduce non-anonymous Shaders class | John Firebaugh | 2016-07-11 | 1 | -38/+3 |
| | |||||
* | [core] track texture state to avoid redundand binds | Konstantin Käfer | 2016-07-08 | 1 | -7/+11 |
| | |||||
* | [core] Make extrudeScale calculations more similar to JS | John Firebaugh | 2016-07-07 | 1 | -4/+4 |
| | |||||
* | [core] don't force GL state to be set when calling .reset() | Konstantin Käfer | 2016-07-07 | 1 | -0/+1 |
| | | | | We are using Value::reset() to change a piece of GL state to its default value. However, the current implementation always executes the GL call, even if our state tracking system knows that it's already at that value. The new implementation of Value::reset() now respects that, resulting in a lot fewer GL calls. | ||||
* | [core] move shaders to anon struct and alias them | Konstantin Käfer | 2016-07-07 | 1 | -27/+26 |
| | |||||
* | [core] Added StaticRasterVertexBuffer | Bruno de Oliveira Abinader | 2016-07-02 | 1 | -0/+1 |
| | |||||
* | [core] Fix overdraw mode on Linux | Bruno de Oliveira Abinader | 2016-07-01 | 1 | -2/+16 |
| | | | | | | | | | | - Use glBindAttribLocation for GLSL attributes. - Create a separate shader for each shader that supports overdraw. Needed because each uniform location must be known for every program. - Create a separate VAO for each shader inside buckets. Needed because we can only bind a VAO to a specific shader. Fixes #5435. | ||||
* | [core] Merge TexturePool into ObjectStore; pool all textures (#5477) | John Firebaugh | 2016-06-27 | 1 | -3/+2 |
| | |||||
* | [core] remove TexturePool dependency from Raster constructor | Konstantin Käfer | 2016-06-22 | 1 | -4/+5 |
| | |||||
* | [core] s/Wireframe/Overdraw/g | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -2/+2 |
| | |||||
* | [core] Refactor wireframe to match JS overdraw mode | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -3/+10 |
| | |||||
* | [core] Runtime source API: private impls | John Firebaugh | 2016-06-16 | 1 | -2/+3 |
| | |||||
* | [core] Add a few conveniences to Color | John Firebaugh | 2016-06-15 | 1 | -2/+2 |
| | |||||
* | Color class (#5361) | Young Hahn | 2016-06-15 | 1 | -1/+1 |
| | | | | | | * Color class * Switch to list initialization |