Commit Graph

2 Commits

Author SHA1 Message Date
LuK1337
b4eec28a20
sweet: Redo libsdmcore shim
Instead of injecting custom dependency into libsdmcore.so, provide a
custom hwcomposer implementation that overrides the *unwanted* symbol
before loading the vendor implementation.

Change-Id: Icc6551f9260a0eb8a7f7a616588c65472a9366e9
2024-02-13 13:51:34 -05:00
daniml3
d934151ef3 sweet: override the SetRefreshRate HWC builtin display function
* This function causes the refresh rate to change randomly, and
  produces flickering on the display

* Override the original function by renaming the symbol so linker
  uses the symbol from the shim instead of the original library's
  symbol

Signed-off-by: daniml3 <daniel@danielml.dev>
Change-Id: I2fa6b3f834df79c32d22f5a057da2108cc9cacab
2022-04-13 11:38:43 -04:00