Blender Git Commit Log

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

3 Modified Paths:

/source/blender/gpu/GPU_extensions.h (+3, -1) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+44, -23) (Diff)
/source/blender/gpu/intern/gpu_material.c (+1, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021