summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglshaderprogram.h
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Remove QGLShader from its QGLShaderProgram when it is destroyedRhys Weatherley2009-08-311-0/+3
| | | | Reviewed-by: Samuel
* Remove extraneous semi-colonsRhys Weatherley2009-08-271-2/+2
| | | | Reviewed-by: trustme
* Make QGLShader::ShaderType slightly more future proof byGunnar Sletta2009-08-271-5/+12
| | | | | | making it into a bitmask. I'll add GeometryShader in the future Reviewed-by: Rhys Weatherley
* API improvements for creating shaders from filesRhys Weatherley2009-08-271-2/+1
| | | | | | | | | | | It used to be possible to derive the shader type from the file extension, but this isn't very extensible and doesn't capture the usual extensions. Change it so that the shader type must be supplied explicitly. Also add the addShaderFromFile() function to QGLShaderProgram to provide a convenient short-cut for file-based shader creation. Reviewed-by: Sarah Smith
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* All of Qt's own code compiles with -pedantic now (but pcre and webkit don't ↵David Faure2009-06-041-2/+2
| | | | | | | seem fixable easily) Merge-request: 594 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Improvements to shader API in response to API reviewRhys Weatherley2009-06-041-10/+6
| | | | | Task-number: QT-80 Reviewed-by: Ian Walters
* Disable shaders on OpenGL/ES 1.1Rhys Weatherley2009-05-011-1/+1
| | | | Reviewed-by: trustme
* Samplers should be set via the GLuint override, not the GLint override.Rhys Weatherley2009-05-011-0/+2
| | | | Reviewed-by: trustme
* Make QGLShaderProgram::disable() static.Rhys Weatherley2009-05-011-1/+1
| | | | Reviewed-by: trustme
* Rename QGLShader(Program)::errors() to log()Rhys Weatherley2009-05-011-2/+2
| | | | | | | The shader compilers also report warnings, so it is more appropriate to call the string a log. Reviewed-by: trustme
* Add uniform setters for Qt data types to QGLShaderProgramTom Cooksey2009-05-011-0/+10
| | | | Reviewed-by: Rhys Weatherley
* Import shader implementation from before the history cut.Rhys Weatherley2009-03-231-0/+285