summaryrefslogtreecommitdiff
path: root/include/mbgl/gl
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use NDEBUG instead of DEBUGBruno de Oliveira Abinader2016-08-051-1/+1
| | | | | 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] track texture state to avoid redundand bindsKonstantin Käfer2016-07-081-4/+18
|
* [core] don't force GL state to be set when calling .reset()Konstantin Käfer2016-07-071-0/+4
| | | | 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] code style cleanupsKonstantin Käfer2016-07-011-3/+3
| | | | | | | - 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] Added BlendColor GL config valueBruno de Oliveira Abinader2016-06-201-0/+13
|
* [core] Added missing BlendFunc operatorBruno de Oliveira Abinader2016-06-201-0/+4
|
* [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-183-46/+46
|
* [core] Add a few conveniences to ColorJohn Firebaugh2016-06-151-5/+2
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-253-13/+4
|
* [core] Added PixelZoom, RasterPos to GL configBruno de Oliveira Abinader2016-05-241-0/+4
|
* [core] always set activeTexture before binding a textureAnsis Brammanis2016-04-141-0/+13
|
* [core] Don't put static objects in a header file (#4707)John Firebaugh2016-04-141-25/+8
| | | This causes duplicate objects -- one for every file that includes that header.
* [gl] Moved VAO helpers to common headerBruno de Oliveira Abinader2016-02-181-0/+26
|
* [core] move GL value objects from gl_config.hpp to gl_values.hppKonstantin Käfer2016-02-082-76/+286
| | | | Also removes duplicate code from gl_helper.hpp by reusing the GL values that we already have anyway.
* [core] move util/gl_helper.hpp to gl/gl_helper.hppKonstantin Käfer2016-02-081-0/+90
|
* [core] move platform/gl.hpp to gl/gl.hppKonstantin Käfer2016-02-081-0/+159