| 203 | } |
| 204 | |
| 205 | void SetTestValue(float * image, float val, unsigned numComponents) |
| 206 | { |
| 207 | for (unsigned component = 0; component < numComponents; ++component) |
| 208 | { |
| 209 | for (unsigned idx = 0; idx < numComponents; ++idx) |
| 210 | { |
| 211 | const float valSet = (idx == component) ? val : 0.0f; |
| 212 | image[idx+component*numComponents] = valSet; |
| 213 | } |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | void UpdateImageTexture(OCIO::OglAppRcPtr & app, OCIOGPUTestRcPtr & test) |
| 218 | { |
no outgoing calls
no test coverage detected