Re: Documentation issues


Paul Miller <pa...@...>
 

On 6/11/2012 11:36 AM, Jeremy Selan wrote:
Hello!

Sorry you're having trouble with the documentation. Which specific
file or url are you at? I'd like to update it to make sure it's
current.

I'd recommend looking into src/apps/ociodisplay/main.cpp

Even though that's a GPU example, 95% of the code would be unchanged
even if we were to use the CPU pathway. (Actually, maybe I should
have ifdef's for CPU vs GPU? It's a nice example.
If you can, make it switchable between the two during run-time, or as a command-line switch. #ifdefs make the code harder to read.

Join ocio-dev@lists.aswf.io to automatically receive all group messages.