Skip to content

Conversation

copybara-service[bot]
Copy link

Reuse HardwareRenderer objects when taking HW screenshots

Previously, new HardwareRenderer objects were created each time a HW screenshot
was captured. The problem was that if they were GC'd,
HardwareRenderer.nDeleteProxy was called, which also freed a lot of
associated native objects. This caused problems if the same Views were HW
rendered again, as the native objects were corrupted.

@copybara-service copybara-service bot closed this May 7, 2024
@copybara-service copybara-service bot merged commit ccf8c6f into google May 7, 2024
@copybara-service copybara-service bot deleted the piper_631289685 branch May 7, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants