Alex Szpakowski
|
68f1ab5f47
Check a couple more vendor strings to determine if an AMD driver is being used.
|
8 years ago |
Alex Szpakowski
|
30a63b6642
Fix crashes on OpenGL ES (thanks xenthral!)
|
8 years ago |
Alex Szpakowski
|
7694edfd52
Auto-batched draws (except for love.graphics.print, for now) are affected by 3D transforms.
|
8 years ago |
Alex Szpakowski
|
b019a4a64c
Cleaned up texture VRAM usage tracking.
|
8 years ago |
Alex Szpakowski
|
7161d600b7
Add mipmapping support to Canvases.
|
8 years ago |
Alex Szpakowski
|
a0ef2ac28b
Add Depth compare / shadow sampler support. Officially this is only supported in glsl3 shaders.
|
8 years ago |
Alex Szpakowski
|
43172bd3f6
Add optional ‘readable’ boolean field to the table passed into love.graphics.newCanvas. Added new variant of love.graphics.getCanvasFormats which takes a ‘readable’ boolean.
|
8 years ago |
Alex Szpakowski
|
c36a53fdcb
Add new non-readable Canvas formats: depth16, depth24, depth32f, depth24stencil8, and depth32fstencil8.
|
8 years ago |
Alex Szpakowski
|
018a3831cb
Add a new “stencil8” pixel format for Canvases (resolves issue #1003).
|
8 years ago |
Alex Szpakowski
|
1a9262dda9
Fix compilation on iOS. Fix shader compilation on OpenGL ES. Fix (harmless) GL errors on OpenGL ES 2. Resolves issue #1266.
|
8 years ago |
Alex Szpakowski
|
66b299822a
Array textures can be easily drawn without a shader (resolves issue #1111).
|
8 years ago |
Alex Szpakowski
|
ff8358a979
Removed void effects(…) pixel shader prototype. Added void effect(). Allows calling love.graphics.draw with textures of different types with a custom shader without having an extra sampler2D.
|
8 years ago |
Alex Szpakowski
|
f3f6b10ac8
Clean up glVertexAttribPointer calls a bit.
|
8 years ago |
Alex Szpakowski
|
73fd45558b
Implement Array, Cubemap, and Volume texture types (issue #1111).
|
8 years ago |
Alex Szpakowski
|
97789b18c0
Only use opengl debug groups if the LOVE_GRAPHICS_DEBUG environment variable is set to 1.
|
8 years ago |
Alex Szpakowski
|
98493d9844
Fix rendering to only use glDrawElementsInstanced when necessary
|
8 years ago |
Alex Szpakowski
|
c764f9f206
Support instancing on more systems. Note that GLSL 3 may not be supported everywhere that instancing is, and love_InstanceID requires GLSL 3 (but instanced vertex attributes do not).
|
8 years ago |
Alex Szpakowski
|
bea7cfdaab
Add low-level hardware instancing support to Meshes.
|
8 years ago |
Alex Szpakowski
|
44dc4bb2a2
Fix font textures in OpenGL ES 3.
|
8 years ago |
Alex Szpakowski
|
734be1afad
Add a variant of Mesh:setVertexMap which takes a Data object, an index data type (“uint16” or “uint32”), and an optional index count. Thanks Shell32!
|
8 years ago |
Alex Szpakowski
|
22c4d1ae79
Font texture atlases can be created in Core Profile GL3.
|
8 years ago |
Alex Szpakowski
|
8c204efafb
Minor pre-emptive fixes for GL3.
|
8 years ago |
Alex Szpakowski
|
551dc423a2
Improved performance slightly when love.graphics.setColor is used heavily with automatic batching.
|
8 years ago |
Alex Szpakowski
|
8899c03651
Add C++ side support for unsigned int shader uniforms. Note that the shader languages love currently supports (glsl 1.20, glsl es 1.00) don’t support uints at the moment.
|
8 years ago |
Alex Szpakowski
|
abb72cb813
Happy new year! 🥂
|
8 years ago |
Alex Szpakowski
|
548293e100
Don’t call unnecessary OpenGL APIs in love.graphics.setColor
|
8 years ago |
Alex Szpakowski
|
66749e874f
love.graphics Video code is upwards-compatible with GL3.
|
8 years ago |
Alex Szpakowski
|
f12596dd19
More code restructuring.
|
8 years ago |
Alex Szpakowski
|
d26002f5cc
Revamped and streamlined retina / high-DPI support (resolves issue #1122).
|
8 years ago |
Alex Szpakowski
|
8aa6725039
Cleaned up some duplicated pixel format-related code in Font files.
|
8 years ago |