Alexander Szpakowski
|
b6088115c9
Changed some variable names to be more descriptive
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
609ef2c4e4
Format luaL_error strings properly in ShaderEffect lua wrapper code
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
88af7239c3
Removed unnecessary tabs from empty lines
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
0968fa6f11
More cleanup and some overdone comments
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
37191a5953
Minor cleanup
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
dcf9825226
Uniform value defines now exist in both the vertex and fragment shaders
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
c13b1fb03b
Changed vertex shader callback function name from 'transform' to 'position', added more vertex shader defines (some to make it easier to eventually have a GLES2 backend), hopefully updated Visual Studio project with changed filenames
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
6560019829
opengl graphics module files now always include OpenGL.h rather than GLee.h
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
9143442448
Add internal support for tesselation control and evaluation shaders (not that they'll ever be used), now that GLee has definitions for them
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
a18b353e62
Update GLee to latest available version (supports extensions and versions up to when OpenGL 4.2 was released, old GLee only had GL3.0 support)
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
da661e8e2f
Bind texture id 0 (no texture) instead of disabling/re-enabling texturing entirely, when drawing graphics primitives. This both allows shaders to potentially use their own textures when drawing textureless primitives, and reduces overhead caused by constant GL state changes when drawing many graphics primitives.
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
8bae828924
Don't override texture binding check when calling bindTexture with a texture id of 0
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
15a1fd3552
Re-added "pixeleffect" graphics isSupported string for compatibility
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
d62878fbb8
Use GLSL #line preprocessor directive instead of manually trying to convert error message lines; flag shader objects for lazy-deletion after linking with program object instead of detaching them immediately (debuggers can now view source code of shader programs)
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
f54c270042
minor cleanup and fixes
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
3047321e71
Use initializer list copy constructor instead of per-element copying for shader source list in ShaderEffect constructor
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
83204c5dc5
ShaderEffects now take a dynamically sized list of source codes instead of one vertex and one fragment shader string
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
b55de47fb9
misc cleanup
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
0c525ebb92
shaders now use a static vector of counters for each texture unit to help keep track of completely free texture units
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
79fa42d207
made ShaderEffects individully handle texture units for sent images/canvases, added GL helper function for quickly binding a texture to a specific texture unit, hopefully made ShaderEffects load and unload volatile better
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
16f925affa
improved GL texture binding api to take texture units into consideration
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
5626b74b79
reduced unnecessary usage of glUseProgram, shadereffect is now properly detached in unloadVolatile and reattached if necessary in loadVolatile, made current and max texture units static to prevent different shaders from overwriting the value of different texture units
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
5252ed28cd
changed shadereffect texture image unit counter and map to be non-static, get max texture units from max combined TIUs instead of max fragment shader TIUs, added the current MVP matrix as an argument to the vertex shader transform function, reduced code duplication in ShaderEffect::sendImage and sendCanvas
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
0611234067
changed PixelEffect name to ShaderEffect, added lua-side support for vert/frag shader combinations with love.graphics.newShaderEffect, added tentative support for single-file vertex+fragment shaders
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
28e3b105e9
added C++side support for combinations of vertex and fragment shaders in pixeleffects
|
%!s(int64=12) %!d(string=hai) anos |
Alexander Szpakowski
|
a8dc813258
Text drawing performance improvements (issue #532)
|
%!s(int64=12) %!d(string=hai) anos |
Bart van Strien
|
68a895e7c6
Catch errors in love.font.newRasterizer, add luax_pconvobj which pcalls, allowing love.graphics.newFont to clean up before re-erroring
|
%!s(int64=12) %!d(string=hai) anos |
Bart van Strien
|
82ea98aa65
Disable Data:getPointer (issue #520)
|
%!s(int64=12) %!d(string=hai) anos |
Bart van Strien
|
b10ff8da42
Apply patch that fixes File:read from reading too much (on EOF) (bug #530)
|
%!s(int64=12) %!d(string=hai) anos |
vrld
|
62e2c752e5
More verbose VertexIndex::getType() (using numeric_limits)
|
%!s(int64=12) %!d(string=hai) anos |