可見,在選擇ColorMode時,獲取ColorMode,DataSpace,和RenderIntent。for (const auto& layer : display->getVisibleLayersSortedByZ()) { switch (layer->getDataSpace()) { case Dataspace::V0_SCRGB: case Dataspace::V0_SCRGB_LINEAR: case Dataspace::BT2020: case Dataspace::BT2020_ITU: case Dataspace::BT2020_LINEAR: case Dataspace::DISPLAY_BT2020: bestDataSpace = Dataspace::DISPLAY_BT2020;
1 添加文件。sudo vim /etc/modprobe.d/blacklist-nouveau.conf2 添加如下內容。blacklist nouveaublacklist lbm-nouveauoptions nouveau modeset=0alias nouveau offalias lbm-nouveau off3 禁用 Nouveau.sudo echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf4 更新配置。sudo update-initramfs -u.
Android Developers Blog: Wide Color Photos Are Coming to Android: Things You Need to Know to be Prep
http://www.hbhlny.cn/content/19/1022/14/10366845_868372447.shtml
2019/10/22 14:28:57
A wide color gamut ready application implies the application manages color proactively.This means when given images, the application always checks the color space and does conversion based on its capability of showing wide color gamut, and thus even if the application can''''''''t handle wide color gamut it can still show the sRGB color gamut of the image correctly without color distortion.
The Ability to Display Color Correctly Is Vital: Understanding the Color Gamut of an LCD Monitor | E
http://www.hbhlny.cn/content/19/1022/14/10366845_868371677.shtml
2019/10/22 14:25:46
The sRGB color gamut covers about 72% of the NTSC gamut.Such functions control the LCD monitor''''''''s color gamut based on the target color gamut, such as Adobe RGB or sRGB. For example, by selecting sRGB mode from a menu option, we can adjust even an LCD monitor with a wide color gamut and high Adobe RGB coverage so that the colors displayed on screen fall within the sRGB color gamut.
Understanding premultiplied alpha.As I dig deeper, I found out that premultiplied alpha is mainly for “hardcode” alpha computation in advance, actually premultiply the alpha to not multiply at runtime on every frame. Without further expaination, you can follow the process below.