Blender Git Loki

Git Commits -> Revision 120fe74

Revision 120fe74 by Brecht Van Lommel (master)
April 11, 2013, 15:15 (GMT)
Fix #34817: improve OpenGL preview render speed, it got quite a bit slower since 2.60.

Doing linearization with GLSL was already faster, but even faster is to just read the
bytes instead of floats and convert those to linear, since byte => float is just a quick
256 entry table lookup. Also made it assign the bytes directly to the image buffer so
they do not need to be converted back from float to byte for file saving, and made sky
render write the background color with OpenGL instead of doing it on the CPU.

Commit Details:

Full Hash: 120fe74ffeded5c5b8858cb8ffed15530aed86cb
SVN Revision: 55970
Parent Commit: 7164596
Lines Changed: +60, -52

3 Modified Paths:

/source/blender/editors/include/ED_view3d.h (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+44, -31) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+15, -20) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021