android-test icon indicating copy to clipboard operation
android-test copied to clipboard

[RNG] Use HardwareRendering native w/ shadows in Compose ViewCapture screenshots.

Open copybara-service[bot] opened this issue 2 years ago • 2 comments

[RNG] Use HardwareRendering native w/ shadows in Compose ViewCapture screenshots.

New HardwareRendering currently requires 32+ (S+). This is enabled using a system property:

jvm_flags = ["-Drobolectric.screenshot.hwrdr.native=true"]

copybara-service[bot] avatar Oct 27 '23 01:10 copybara-service[bot]

Whoops, apologies, accidentally closed this, meant to close a different PR.

hoisie avatar Oct 27 '23 02:10 hoisie

@hoisie Does shadows work in RNG with SDK32+ now?

utzcoz avatar Oct 27 '23 02:10 utzcoz