rude
de8b4d91a5
Use GLint when getting GL_GENERATE_MIPMAP.
...
Using GLboolean caused a stack corruption according to VS2012.
2013-01-12 12:53:07 +01:00
Bart van Strien
b97765b169
Check for OpenGL 2.0 in NPOT check (issue #538 )
2013-01-18 00:29:01 +01:00
Alexander Szpakowski
eb98e8cc48
Removed unnecessary tabs in empty lines, fixed texture filtering when the minification and mipmap filter are the same
2013-01-07 06:56:59 -04:00
Alexander Szpakowski
8b3fb1d71c
Code cleanup
2013-01-02 17:19:41 -04:00
Alexander Szpakowski
2d077758d1
Fixed mipmap generation for pre-FBO systems, fixed NPOT check if mipmap filtering is enabled on an image before the texture is created
2013-01-02 05:29:17 -04:00
Alexander Szpakowski
f067e228b4
Fixed mipmap sharpness setting not being correctly reapplied on resolution change
2013-01-02 04:44:24 -04:00
Alexander Szpakowski
fda16e27cd
Changed image mipmap api: Image:setFilter now takes an optional third argument (mipmap filter mode), Image:get/setMipmapFilter is removed.
2013-01-02 04:21:22 -04:00
Alexander Szpakowski
2739ea561a
Initial image mipmapping implementation. Includes Image:set/getMipmapFilter and Image:set/getMipmapSharpness. setMipMapFilter requires a filter mode, or nil to disable mipmapping.
...
Enabling mipmapping on an image that does not have power-of-two dimensions will raise an error, due to inconsistent support in older graphics chipsets
2013-01-02 02:50:13 -04:00
Alexander Szpakowski
1678252b7a
Applied patch from issue #542 (texture filtering inconsistencies) in main LÖVE repository
2013-01-01 21:29:38 -04:00
Bart van Strien
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +02:00
rude
81c38e22d0
Applied the new style guidelines.
...
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bart van Strien
1e00f0f981
Move the default image filter to the Image class, instead of Graphics applying it on newImage
2012-05-18 17:35:51 +02:00
Bart van Strien
2ac4a9e6d0
Manually keep track of bound textures, so we don't have to poll each frame
...
Patch submitted by slime73.
2012-01-10 15:36:18 +01:00
Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
Bart van Strien
870973197c
Only bind images when they weren't (issue #353 )
2012-01-07 11:37:50 +01:00
Bart van Strien
864c800e10
Fix some warnings
2011-12-27 21:25:06 +01:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01:00
Bart van Strien
d8b1d67a34
Centralize NPOT support check for image, export it to isSupported
2011-10-24 17:43:56 +02:00
vrld
ce9e694acc
Make setDefaultImageFilter() not break image:setFilter() (thanks adrix89!)
2011-10-10 12:16:28 +02:00
vrld
48137cd2e1
Fix Issue #278 : Set default filter mode for new images.
...
Add the somewhat lengthy named love.graphics.getDefaultImageFilter() and
love.graphics.getDefaultImageFilter(). The verbose name should point to the
fact that changing the default filter midway through the game will not affect
the images already loaded using love.graphics.newImage().
2011-10-07 14:44:17 +02:00
Bill Meltsner
14348f6146
Create DrawQable class, make Image and Canvas DrawQable, and make love.graphics.drawq take a DrawQable as its first argument
2011-10-04 12:33:34 -04:00
vrld
d420d68048
Add shear transformation and transform object (issue #152 ).
...
Add origin parameters to love.graphics.print.
New shear parameters kx,ky for:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print,
- SpriteBatch:add,
- SpriteBatch:addq.
Transform objects apply to:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print.
2011-07-05 14:33:34 +02:00
Bart van Strien
d613505a77
Only pad when needed
2011-06-10 15:03:27 +02:00
Bart van Strien
87fd3362e2
Mixed up s and t, po2ify should work correctly now, quads still broken
2011-05-16 17:02:43 +02:00
Bart van Strien
360c190ef7
Move po2ifying to Image, Quads broken at the moment
2011-05-15 23:31:12 +02:00
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -06:00
rude
1eca14ed9e
Fixed artifacts exposed (not really caused) by a0d18b527fb1. GL_CLAMP is deprecated in OpenGL ES. Image::Filter and Image::Wrap did not have reasonable default.
2010-09-14 20:41:14 +02:00
Bart van Strien
29c68d06f1
Image settings now survive setMode, fixes bug #10
2010-08-04 13:38:22 +02:00
Bill Meltsner
e661459103
Switched Image filter modes to use the new string constant system
2010-02-09 14:30:41 -05:00
Bill Meltsner
3ed9823152
fixed a bug in Image::setFilter where it switched the min/mag parameters
2010-02-09 12:37:55 -05:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
rude
c52c218ba1
Renamed Frame to Quad; added drawq/addq; fixed some bugs.
2009-08-17 23:35:04 +02:00
rude
57aea1cd51
Added love.graphics.drawf.
2009-07-26 23:30:46 +02:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00