2 Commits
Author SHA1 Message Date
Serdar Kocdemir 0a0ba2b54b Add new render control functions for display color transform
New rc functions will be used from the host compositor to set a display
color transform matrix is given. This feature is used when the matrix is
set explicitly on surface flinger, or when using accessibility color
features, such as color blind modes. New functionality is added into
generate-apigen-sources code generator code to handle matrix data type.

New functions
* rcGetDisplayColorTransform: Get the matrix for the display
* rcSetDisplayColorTransform: Set the matrix for the display

Bug: 420586022
Test: Set color accessibility options in emulator
Test: ./scripts/generate-apigen-sources.sh
Change-Id: I21fa4bb4b5bbc6038f464f68c4c63eb50e46411c
2025-07-25 22:20:02 +00:00
Jason Macnak 00ba9db671 Move protocols to codegen and erun apigen codegen
... to ensure new paths work.

Bug: b/271464937
Test: mkdir build
      cd build
      cmake . ../
      make gfxstream-generic-apigen
      cd ..
      ./scripts/generate-apigen-sources.sh
Change-Id: If316939d8c767dde0cc6f5e222bc7e97a8c543f8
2023-05-30 10:40:00 -07:00