summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2020-05-11 16:28:39 -0400
committerLeon Scroggins III <scroggo@google.com>2020-06-05 16:11:45 -0400
commit53b03c0f44b95f49a08358ec60c79d4ee73b840f (patch)
tree196d6c48744cd0b992f599054a7ac0dcfec9299e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4b91335d50736b41d40ce5ef2473ea1862fafb86 (diff)
Clean up ColorSpace.java
Bug: 156282935 Test: I3ce1bbd4285443a4e481a0a1e9267feafbe49d44 Test: DisplayWhiteBalanceTintControllerTest Remove cctToIlluminantdXyz, which was @hide, but unused. Make the @hide constructor package-protected so it can be called by ParcelableColorSpace, but not from outside the package. Make cctToXyz and chromaticAdaptation public. These are used by other parts of the system and may be useful to other clients. Make the public version of chromaticAdaptation throw IllegalArgumentExceptions for passing arrays with the wrong number of arguments. Make mul3x3(float[], float[]) private and copy it over to DisplayWhiteBalanceTintController. There is nothing ColorSpace-specific about this code. Remove Renderer and related. They were originally used to generate the documentation pages, but they are no longer needed. Remove ColorSpaceRenderTest, which tested it. Change-Id: I9094046c8e5e72be0ac208d4d242e6f0b274f386
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions