HomePhabricator
Diffusion Anari 08ff791afcf4

Color Class
Concern Raised08ff791afcf4

Description

Color Class

Summary: A class that represents colors in Anari and converts them in different formats

Test Plan: run color test suite (tbd)

Reviewers: jcmcdonald, gacmix, imirzali

Reviewed By: jcmcdonald, gacmix, imirzali

Subscribers: imirzali, mahussain, mduminer

Tags: Anari [Project], IMF [Team], Programming [Dept]

Maniphest Tasks: T1247

Differential Revision: https://phabricator.mousepawmedia.net/D248

Details

Auditors
imirzali
Provenance
mahussainAuthored on Apr 11 2020, 1:29 AM
mahussainPushed on Apr 11 2020, 7:19 AM
Reviewer
jcmcdonald
Differential Revision
D248: Color Class
Parents
rA604890d7d0de: Fix build system - T1303
Branches
Unknown
Tags
Unknown
Tasks
T1247: ARGB Colors

Event Timeline

Restricted Application completed building Restricted Buildable.Apr 11 2020, 7:20 AM

The register_test seem to be wrong, I'm not sure if this would cause a leak or some other weird behavior.

/anari-source/src/colors_test.cpp
5–17

Shouldn't the calls have () like calling a function? For example, it should be: register_test("A-tB0209", new Test_CMYKConstructor());

This commit now has outstanding concerns.May 24 2020, 1:23 PM
jcmcdonald added inline comments.
/anari-source/src/colors_test.cpp
5–17

Actually, no. As long as you're using the default constructor (no arguments), it won't matter either way AFAIR.