rude
31c9995082
Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int.
2011-01-09 16:28:30 +01:00
vrld
9dad948263
Add framebuffer filter modes (issue #112 )
2011-01-01 19:42:59 +01:00
Bart van Strien
54cfb3738f
Applied itsnotabigtruck's fbo patch (issue #133 )
2010-12-27 14:38:33 +01:00
Bill Meltsner
fade6f0cbc
Fixed Framebuffers scaling their contents when not sized identically to the main window
2010-11-18 02:40:07 -05:00
Bill Meltsner
6bfb05359b
Framebuffer needs cstring ( fixes #108 )
2010-11-12 08:38:41 -05:00
Bill Meltsner
77e5b7f880
moved the FramebufferStrategy structs back to Framebuffer.cpp
2010-11-11 13:17:41 -05:00
Bill Meltsner
ba44886cf4
Cleaned up love.graphics.Framebuffer code, using GLee to check for support instead
2010-11-10 16:57:41 -05:00
Bill Meltsner
769842ce6e
made Framebuffer Volatile and fixed a few bugs
2010-08-28 13:02:28 -05:00
vrld
9dd4be5e31
Issue #4 : Now really clearing with 0 alpha
2010-08-27 14:38:36 +02:00
vrld
ce6ca185f1
Issue #5 : Add Framebuffer:getImageData()
2010-08-27 14:14:22 +02:00
vrld
f9f7e83f0e
Issue #7 : Use GL_EXT_framebuffer_object when OpenGL version < 3.0
...
Add runtime check of OpenGL version and extensions.
If OpenGL version >= 3.0, use core functions.
Else check for framebuffer object extension and use EXT functions.
If none of the above, do nothing but return GL_FRAMEBUFFER_COMPLETE.
2010-08-27 13:51:11 +02:00
vrld
320ac05fd1
Fix of http://bitbucket.org/bartbes/love-fbo/issue/7
...
Move fbo:grab() to love.graphics.setRenderTarget( fbo )
Move fbo:stop() to love.graphics.setRenderTarget( nil )
Rename fbo:render( func ) to fbo:renderTo( func )
2010-08-26 20:44:30 +02:00
vrld
f97d087158
Framebuffer status handling
...
Remove Framebuffer::statusCode() and Framebuffer::statusMessage().
Introduce Framebuffer:getStatus() returning the value of
glCheckFramebufferStatus().
Test if creation was successful in w_newFramebuffer(L), on failure throw
useful error message.
2010-08-25 17:28:51 +02:00
vrld
ce0006d04c
Add guards to prevent fbo nesting
2010-08-13 21:04:32 +02:00
vrld
35093a5c45
Change bind/unbind to grab/stop
2010-08-13 18:50:00 +02:00
Bart van Strien
6400273a73
File moves
2010-08-13 13:35:42 +02:00