summaryrefslogtreecommitdiff
path: root/src/mbgl/gl
Commit message (Collapse)AuthorAgeFilesLines
* Fix assert on gfx resource cleanupMikko Pulkki2020-03-311-1/+1
|
* [core] Move generic setProperty() parts to the base Layer classMikhail Pozdnyakov2020-03-241-1/+1
|
* [build] Adding a build flag to build without GL if needed (#16120)Thomas Moenicke2020-02-036-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 GPUsAlexander Shalamov2019-12-021-8/+8
| | | | Blacklist in order to avoid crashes in a driver.
* [render-test] Add resource usage tracking to gfx contextMikko Pulkki2019-10-3010-12/+126
|
* [render-test] Implement fps benchmarking tests (#15803)Mikko Pulkki2019-10-222-0/+6
|
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-253-3/+8
|
* [core] don't call glFlush on every frameKonstantin Käfer2019-06-122-0/+8
|
* [core] Remove unused OffscreenTexture variant with depth render targetAleksandar Stojiljkovic2019-06-114-39/+2
|
* [core] refactor program object creationKonstantin Käfer2019-05-282-19/+15
|
* [core] Remove binary shader supportThiago Marcos P. Santos2019-05-2111-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 Stojiljkovic2019-05-205-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 uploadKonstantin Käfer2019-05-159-101/+202
|
* [core] add gfx::CommandEncoder::present()Konstantin Käfer2019-05-152-0/+6
|
* [core] change approach to stencil clipping to (almost) match JSKonstantin Käfer2019-04-292-0/+7
|
* [ios] run glFlush when reducing memory and don't reduce memory while in ↵Konstantin Käfer2019-04-111-0/+2
| | | | background (#14383)
* [core] introduce gfx::RenderPassKonstantin Käfer2019-04-055-0/+71
|
* [core] test OffscreenTexture renderability before using themKonstantin Käfer2019-04-052-0/+11
|
* [core] move depth/stencil buffer debug viz to gfx::ContextKonstantin Käfer2019-04-052-0/+63
|
* [core] remove Renderer::flushKonstantin Käfer2019-04-052-9/+0
|
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-051-1/+3
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-053-3/+78
|
* [core] add gfx::Renderable and gfx::OffscreenTextureKonstantin Käfer2019-04-054-0/+132
|
* [core] add getResource template to gfx::*Resource classesKonstantin Käfer2019-04-054-32/+29
|
* [core] move debug groups to gfx::CommandEncoderKonstantin Käfer2019-04-055-76/+36
|
* [core] introduce CommandEncoder objectKonstantin Käfer2019-04-054-0/+41
|
* [core] move supportsHalfFloatTextures to gfx::ContextKonstantin Käfer2019-04-051-2/+0
|
* [core] prefer static_cast for casts to derived classesKonstantin Käfer2019-04-052-3/+3
|
* [core] add generic base class for renderbuffersKonstantin Käfer2019-04-054-69/+55
|
* [core] gl::RenderbufferType -> gfx::RenderbufferPixelTypeKonstantin Käfer2019-04-055-46/+53
|
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-022-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 #14294Thiago Marcos P. Santos2019-04-022-2/+3
|
* [core] Expose a way of flushing the graphics pipelineThiago Marcos P. Santos2019-03-202-0/+9
| | | | | Useful for apps before going to background that are restricted by the OS of performing any operation.
* [core] move cleanup to gfx::ContextKonstantin Käfer2019-03-202-1/+15
|
* [core] move ProgramMap to within the gl::Program objectKonstantin Käfer2019-03-204-84/+158
|
* [core] use constexpr string concatenation for uniform/attribute namesKonstantin Käfer2019-03-203-11/+21
|
* [core] remove a_/u_ prefix from attribute/uniform typesKonstantin Käfer2019-03-203-11/+11
|
* [core] expose vertex binding count in gfx::ContextKonstantin Käfer2019-03-202-4/+2
|
* [core] remove gl/context.hpp from more files, cast where necessaryKonstantin Käfer2019-03-202-6/+9
|
* Merge pull request #14126 from mapbox/gfx-refactor-4Konstantin Käfer2019-03-1513-220/+369
| | | Graphics refactor #4
* [core] add texture bindings to draw call instead of Context member fnKonstantin Käfer2019-03-128-67/+137
|
* [core] add texture bindings to draw call invocationsKonstantin Käfer2019-03-121-1/+5
|
* [core] move Texture to the gfx namespaceKonstantin Käfer2019-03-126-107/+72
|
* [core] move Texture related enums to gfx namespaceKonstantin Käfer2019-03-126-89/+111
|
* [core] introduce gfx::Context and move Buffer creation/update methods to itKonstantin Käfer2019-03-062-42/+12
|
* [core] move BufferUsage enum to gfx namespaceKonstantin Käfer2019-03-064-18/+28
|
* [core] rename gl/*_buffer.hpp to gl/*_buffer_resource.hppKonstantin Käfer2019-03-065-4/+4
|
* [core] move VertexBuffer<> to gfx namespaceKonstantin Käfer2019-03-066-25/+31
|
* [core] move IndexBuffer to gfx namespaceKonstantin Käfer2019-03-066-20/+33
|
* [core] unify *Buffer/Vector namingKonstantin Käfer2019-03-063-10/+10
|