Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Move shader and uniform to gl directory | John Firebaugh | 2016-10-05 | 1 | -114/+0 |
| | |||||
* | [core] remove dependence on gl.h types | Konstantin Käfer | 2016-09-29 | 1 | -0/+4 |
| | |||||
* | [core] introduces types for GL objects | Konstantin Käfer | 2016-09-29 | 1 | -2/+2 |
| | |||||
* | [core] merge gl::ObjectStore into gl::Context | Konstantin Käfer | 2016-09-27 | 1 | -6/+10 |
| | |||||
* | CJK overflow - update to match gl-shader (#5908) | Amy Lee Walton | 2016-08-11 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | [core] move shaders to anon struct and alias them | Konstantin Käfer | 2016-07-07 | 1 | -2/+2 |
| | |||||
* | [core] Update RasterShader | Bruno de Oliveira Abinader | 2016-07-02 | 1 | -0/+1 |
| | | | | Ref: https://github.com/mapbox/mapbox-gl-shaders/issues/1 | ||||
* | [core] Fix overdraw mode on Linux | Bruno de Oliveira Abinader | 2016-07-01 | 1 | -31/+20 |
| | | | | | | | | | | - 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] Refactor wireframe to match JS overdraw mode | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -19/+42 |
| | |||||
* | [core] Autogenerate Shader name | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -5/+5 |
| | |||||
* | [core] Use unique_resource for GL objects | Bruno de Oliveira Abinader | 2016-06-01 | 1 | -20/+20 |
| | | | | | | | | | 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. | ||||
* | [core] s/GLObjectStore/ObjectStore/ | Bruno de Oliveira Abinader | 2016-06-01 | 1 | -4/+4 |
| | |||||
* | [core] s/operator bool/created()/ in {GL,TexturePool}Holder | Bruno de Oliveira Abinader | 2016-05-26 | 1 | -1/+1 |
| | | | | Prevents confusing usage of GL holder objects. | ||||
* | [core] Thread GLObjectStore through to Holder objects | John Firebaugh | 2016-02-18 | 1 | -4/+4 |
| | | | | | | This eliminates the reliance on ThreadContext to provide GLObjectStore, and statically enforces that GL cleanup functions happen only when GLObjectStore::performCleanup is called. With the elimination of the Map thread, this becomes important because there may be multiple GLObjectStore's per-thread, and Map will need to ensure that the correct context is active when calling GLObjectStore::performCleanup. | ||||
* | [gl] Added mbgl::gl::ShaderHolder | Bruno de Oliveira Abinader | 2016-02-18 | 1 | -38/+20 |
| | |||||
* | [gl] Added mbgl::gl::ProgramHolder | Bruno de Oliveira Abinader | 2016-02-18 | 1 | -20/+14 |
| | |||||
* | [core] move platform/gl.hpp to gl/gl.hpp | Konstantin Käfer | 2016-02-08 | 1 | -1/+1 |
| | |||||
* | [shader] Shaders vertex and fragments are now GLchar* | Bruno de Oliveira Abinader | 2015-09-15 | 1 | -8/+8 |
| | |||||
* | don't delete the shaders before the program | Konstantin Käfer | 2015-09-14 | 1 | -8/+6 |
| | | | | some GPU drivers have issues with deleting shader objects that are attached to programs. while this is allowed by the spec, it seems that some drivers are crashing nonetheless. | ||||
* | don't validate the program | Konstantin Käfer | 2015-09-14 | 1 | -25/+0 |
| | | | | it's not in a state where validation always succeeds with all drivers, e.g. because textures might not be attached yet | ||||
* | [shader] Moved 'a_pos' GL attribute to Shader | Bruno de Oliveira Abinader | 2015-09-14 | 1 | -0/+2 |
| | | | | Avoids duplicated code in all derived classes. | ||||
* | Replace mbgl::util::make_unique<> with std::make_unique<> | Konstantin Käfer | 2015-05-26 | 1 | -3/+3 |
| | |||||
* | use a reinterpret_cast to return the correct type | Konstantin Käfer | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | throw exception when shader compilation fails | Konstantin Käfer | 2015-03-06 | 1 | -9/+7 |
| | |||||
* | Remove program binary caching | Leith Bade | 2015-01-27 | 1 | -129/+37 |
| | |||||
* | Update to Android NDK r10d in new AMI | Leith Bade | 2015-01-15 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason | Leith Bade | 2015-01-15 | 1 | -32/+39 |
|\ | | | | | | | | | Conflicts: src/mbgl/shader/shader.cpp | ||||
| * | Check for IO errors when loading binary shader. Fixes #740 | Leith Bade | 2015-01-14 | 1 | -21/+57 |
| | | |||||
* | | remove extra line | Leith Bade | 2015-01-13 | 1 | -1/+0 |
| | | |||||
* | | Add failsafe to program binary loading | Leith Bade | 2015-01-05 | 1 | -10/+43 |
| | | |||||
* | | Tidy up a few missed things in shader.cpp | Leith Bade | 2014-12-24 | 1 | -3/+2 |
|/ | |||||
* | Use iostream for saving GL program binary. Also check for ↵ | Leith Bade | 2014-12-20 | 1 | -42/+29 |
| | | | | GL_NUM_PROGRAM_BINARY_FORMATS > 0. | ||||
* | update error reporting function | Konstantin Käfer | 2014-12-10 | 1 | -39/+39 |
| | |||||
* | Use CHECK_ERROR on every GL call | Leith Bade | 2014-12-10 | 1 | -39/+39 |
| | |||||
* | Load program binary extension on Linux | Leith Bade | 2014-12-06 | 1 | -46/+126 |
| | |||||
* | make most headers private | Konstantin Käfer | 2014-12-04 | 1 | -0/+133 |