Blender Git Loki
Git Commits -> Revision 3ae0126
Revision 3ae0126 by Antonis Ryakiotakis (master) November 18, 2014, 11:37 (GMT) |
GPUFramebuffer API cleanup: * read buffers are set at texture binding time * change naming when setting a texture as framebuffer * add function to set slot of framebuffer as current target instead of texture. * Binding a buffer reuses the dimensions of the texture at bind time (can use viewport to set to arbitrary range later) * Removed offscreen buffer width/height, use the generated texture dimensions instead. Those were supposed to be checked to see if generated texture had the requested size but were never actually changed to the texture dimensions (and it's redundant to store twice). |
Commit Details:
Full Hash: 3ae0126f86a01803ba5955e5ec6f3ca6d614349a
Parent Commit: 0f947f2
Lines Changed: +48, -26