summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/plain_shader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Rationalize shader namesJohn Firebaugh2016-10-061-15/+0
| | | | {layer type}{subtype}Shader
* [core] Improve attribute binding APIJohn Firebaugh2016-10-051-5/+0
|
* [core] Refactor BufferJohn Firebaugh2016-10-051-4/+4
|
* [core] remove dependence on gl.h typesKonstantin Käfer2016-09-291-1/+1
|
* [core] merge gl::ObjectStore into gl::ContextKonstantin Käfer2016-09-271-2/+2
|
* [core] move shaders to anon struct and alias themKonstantin Käfer2016-07-071-2/+2
|
* [core] Fix overdraw mode on LinuxBruno de Oliveira Abinader2016-07-011-2/+5
| | | | | | | | | | - 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] code style cleanupsKonstantin Käfer2016-07-011-3/+4
| | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format
* [core] Autogenerate Shader nameBruno de Oliveira Abinader2016-06-201-3/+2
|
* [core] s/GLObjectStore/ObjectStore/Bruno de Oliveira Abinader2016-06-011-2/+2
|
* [core] Share shaders with gl-jsJohn Firebaugh2016-05-251-3/+3
|
* [core] Thread GLObjectStore through to Holder objectsJohn Firebaugh2016-02-181-1/+2
| | | | | | 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.
* [core] move platform/gl.hpp to gl/gl.hppKonstantin Käfer2016-02-081-1/+1
|
* [core] don't rebuild shaders unless they changeKonstantin Käfer2015-12-101-8/+4
|
* [shader] bind() is now a pure virtualBruno de Oliveira Abinader2015-09-141-1/+1
| | | | | - Shader::bind() now receives a GLbyte* - BUFFER_OFFSET now uses GLbyte
* [shader] Moved 'a_pos' GL attribute to ShaderBruno de Oliveira Abinader2015-09-141-1/+0
| | | | Avoids duplicated code in all derived classes.
* throw exception when shader compilation failsKonstantin Käfer2015-03-061-5/+0
|
* update error reporting functionKonstantin Käfer2014-12-101-3/+3
|
* Use CHECK_ERROR on every GL callLeith Bade2014-12-101-3/+3
|
* make most headers privateKonstantin Käfer2014-12-041-0/+26