Blender Git Loki

Git Commits -> Revision 36d8a70

Revision 36d8a70 by Thomas Dinges (master)
May 6, 2016, 11:20 (GMT)
Code refactor: Change Cycles ImageManager arrays.

This commit simplifies the code for the image arrays. Instead of having 2 arrays for float and byte textures,
we now use an array here. This simplifies the code (avoids code duplication), and makes it possible to easily extend it
with float1 and half-float types in the future.

Only tested with CPU yet, plus some cleanup / code de-duplication is still possible here.

Reviewers: #cycles, sergey

Reviewed By: #cycles, sergey

Subscribers: jesterking, sergey

Differential Revision: https://developer.blender.org/D1969

Commit Details:

Full Hash: 36d8a70b00c2c0a1bc28ffad4cc2e283a77d7bab
Parent Commit: 8aa3bac
Lines Changed: +198, -281

2 Modified Paths:

/intern/cycles/render/image.cpp (+185, -277) (Diff)
/intern/cycles/render/image.h (+13, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021