Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix assert on gfx resource cleanup | Mikko Pulkki | 2020-03-31 | 1 | -1/+1 |
| | |||||
* | [core] Move generic setProperty() parts to the base Layer class | Mikhail Pozdnyakov | 2020-03-24 | 1 | -1/+1 |
| | |||||
* | [build] Adding a build flag to build without GL if needed (#16120) | Thomas Moenicke | 2020-02-03 | 6 | -0/+266 |
| | | | | | | * [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl | ||||
* | [core] Blacklist VAO extension for Adreno (TM) 4xx GPUs | Alexander Shalamov | 2019-12-02 | 1 | -8/+8 |
| | | | | Blacklist in order to avoid crashes in a driver. | ||||
* | [render-test] Add resource usage tracking to gfx context | Mikko Pulkki | 2019-10-30 | 10 | -12/+126 |
| | |||||
* | [render-test] Implement fps benchmarking tests (#15803) | Mikko Pulkki | 2019-10-22 | 2 | -0/+6 |
| | |||||
* | [core] Fix performance-move-const-arg | Thiago Marcos P. Santos | 2019-09-25 | 3 | -3/+8 |
| | |||||
* | [core] don't call glFlush on every frame | Konstantin Käfer | 2019-06-12 | 2 | -0/+8 |
| | |||||
* | [core] Remove unused OffscreenTexture variant with depth render target | Aleksandar Stojiljkovic | 2019-06-11 | 4 | -39/+2 |
| | |||||
* | [core] refactor program object creation | Konstantin Käfer | 2019-05-28 | 2 | -19/+15 |
| | |||||
* | [core] Remove binary shader support | Thiago Marcos P. Santos | 2019-05-21 | 11 | -412/+0 |
| | | | | | | | | | | | | | | | | | | | | | | The implementation is buggy and not worth maintaining anymore because performance benefits are not substantial or sometimes worse. Also, removing it saves about 150 ~ 180 KB in binary size. Below timings are averages of minimum 5 runs. ``` Device Init launch Average relaunch s10 1129.8 ms 700 ms s10 - binary 1346.75 ms 694 ms Pixel 1692 ms 723 ms Pixel - binary 1883 ms 1039 ms Kazam 17948 ms 1339 ms Kazam - binary 19157 ms 1564 ms Wiko 2060 ms 1278 ms Wiko - binary 3876 ms 1136 ms ``` Fixes #14294 | ||||
* | [core] Remove re-linking programs approach (#14482) | Aleksandar Stojiljkovic | 2019-05-20 | 5 | -71/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | Remove re-linking programs as redundant. It costs (cheaper to link once than twice) and (subjective) is not that common GL API usage pattern, although perfectly legal and permitted. Initial idea, behind the removed code, was to enable work on optimization that would reduce number of attrib setup calls in case when VAO is not available (as described in #9433). As such optimization is not implemented, and it is arguable if it makes sense to do it now, we can remove re-linking. Related to closed PRs #9433 and PR #11583. I have [measured the time spent just on relinking](https://gist.github.com/astojilj/29bd5a5c5dc0b2d9f29ecb660da07fbf) using release build on iPhone SE (A9, same as iPhone 6S): - 1st run after reboot or installation Total 37.14ms, average per program:1.86ms - reopening Total: 2.47ms, average per program: 0.12ms This time we save using the patch here. | ||||
* | [core] add gfx::UploadPass, split startRender into prepare and upload | Konstantin Käfer | 2019-05-15 | 9 | -101/+202 |
| | |||||
* | [core] add gfx::CommandEncoder::present() | Konstantin Käfer | 2019-05-15 | 2 | -0/+6 |
| | |||||
* | [core] change approach to stencil clipping to (almost) match JS | Konstantin Käfer | 2019-04-29 | 2 | -0/+7 |
| | |||||
* | [ios] run glFlush when reducing memory and don't reduce memory while in ↵ | Konstantin Käfer | 2019-04-11 | 1 | -0/+2 |
| | | | | background (#14383) | ||||
* | [core] introduce gfx::RenderPass | Konstantin Käfer | 2019-04-05 | 5 | -0/+71 |
| | |||||
* | [core] test OffscreenTexture renderability before using them | Konstantin Käfer | 2019-04-05 | 2 | -0/+11 |
| | |||||
* | [core] move depth/stencil buffer debug viz to gfx::Context | Konstantin Käfer | 2019-04-05 | 2 | -0/+63 |
| | |||||
* | [core] remove Renderer::flush | Konstantin Käfer | 2019-04-05 | 2 | -9/+0 |
| | |||||
* | [core] move GLContextMode to RendererBackend | Konstantin Käfer | 2019-04-05 | 1 | -1/+3 |
| | |||||
* | [core] refactor RendererBackend | Konstantin Käfer | 2019-04-05 | 3 | -3/+78 |
| | |||||
* | [core] add gfx::Renderable and gfx::OffscreenTexture | Konstantin Käfer | 2019-04-05 | 4 | -0/+132 |
| | |||||
* | [core] add getResource template to gfx::*Resource classes | Konstantin Käfer | 2019-04-05 | 4 | -32/+29 |
| | |||||
* | [core] move debug groups to gfx::CommandEncoder | Konstantin Käfer | 2019-04-05 | 5 | -76/+36 |
| | |||||
* | [core] introduce CommandEncoder object | Konstantin Käfer | 2019-04-05 | 4 | -0/+41 |
| | |||||
* | [core] move supportsHalfFloatTextures to gfx::Context | Konstantin Käfer | 2019-04-05 | 1 | -2/+0 |
| | |||||
* | [core] prefer static_cast for casts to derived classes | Konstantin Käfer | 2019-04-05 | 2 | -3/+3 |
| | |||||
* | [core] add generic base class for renderbuffers | Konstantin Käfer | 2019-04-05 | 4 | -69/+55 |
| | |||||
* | [core] gl::RenderbufferType -> gfx::RenderbufferPixelType | Konstantin Käfer | 2019-04-05 | 5 | -46/+53 |
| | |||||
* | add onStyleImageMissing to allow dynamically loaded or generated images (#14253) | Ansis Brammanis | 2019-04-02 | 2 | -0/+19 |
| | | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images. | ||||
* | [core] Disable binary programs until we fix #14294 | Thiago Marcos P. Santos | 2019-04-02 | 2 | -2/+3 |
| | |||||
* | [core] Expose a way of flushing the graphics pipeline | Thiago Marcos P. Santos | 2019-03-20 | 2 | -0/+9 |
| | | | | | Useful for apps before going to background that are restricted by the OS of performing any operation. | ||||
* | [core] move cleanup to gfx::Context | Konstantin Käfer | 2019-03-20 | 2 | -1/+15 |
| | |||||
* | [core] move ProgramMap to within the gl::Program object | Konstantin Käfer | 2019-03-20 | 4 | -84/+158 |
| | |||||
* | [core] use constexpr string concatenation for uniform/attribute names | Konstantin Käfer | 2019-03-20 | 3 | -11/+21 |
| | |||||
* | [core] remove a_/u_ prefix from attribute/uniform types | Konstantin Käfer | 2019-03-20 | 3 | -11/+11 |
| | |||||
* | [core] expose vertex binding count in gfx::Context | Konstantin Käfer | 2019-03-20 | 2 | -4/+2 |
| | |||||
* | [core] remove gl/context.hpp from more files, cast where necessary | Konstantin Käfer | 2019-03-20 | 2 | -6/+9 |
| | |||||
* | Merge pull request #14126 from mapbox/gfx-refactor-4 | Konstantin Käfer | 2019-03-15 | 13 | -220/+369 |
| | | | Graphics refactor #4 | ||||
* | [core] add texture bindings to draw call instead of Context member fn | Konstantin Käfer | 2019-03-12 | 8 | -67/+137 |
| | |||||
* | [core] add texture bindings to draw call invocations | Konstantin Käfer | 2019-03-12 | 1 | -1/+5 |
| | |||||
* | [core] move Texture to the gfx namespace | Konstantin Käfer | 2019-03-12 | 6 | -107/+72 |
| | |||||
* | [core] move Texture related enums to gfx namespace | Konstantin Käfer | 2019-03-12 | 6 | -89/+111 |
| | |||||
* | [core] introduce gfx::Context and move Buffer creation/update methods to it | Konstantin Käfer | 2019-03-06 | 2 | -42/+12 |
| | |||||
* | [core] move BufferUsage enum to gfx namespace | Konstantin Käfer | 2019-03-06 | 4 | -18/+28 |
| | |||||
* | [core] rename gl/*_buffer.hpp to gl/*_buffer_resource.hpp | Konstantin Käfer | 2019-03-06 | 5 | -4/+4 |
| | |||||
* | [core] move VertexBuffer<> to gfx namespace | Konstantin Käfer | 2019-03-06 | 6 | -25/+31 |
| | |||||
* | [core] move IndexBuffer to gfx namespace | Konstantin Käfer | 2019-03-06 | 6 | -20/+33 |
| | |||||
* | [core] unify *Buffer/Vector naming | Konstantin Käfer | 2019-03-06 | 3 | -10/+10 |
| |