Skip to content

Conversation

copybara-service[bot]
Copy link

Add ShadowTextureView to noOp drawing with it.

TextureView uses OpenGL to do it's drawing, so even the native
code will return 0 when trying to use nCreateTextureLayer. This
causes a crash because the hardwareRenderer/deferredRenderer is
0 so the initialization crashes.

This change makes the getTextureLayer function of TextureView do nothing so
it will at least continue the test and draw everything else even
if this isn't able to.

TextureView uses OpenGL to do it's drawing, so even the native
code will return 0 when trying to use nCreateTextureLayer. This
causes a crash because the hardwareRenderer/deferredRenderer is
0 so the initialization crashes.

This change makes the getTextureLayer function of TextureView do nothing so
it will at least continue the test and draw everything else even
if this isn't able to.

PiperOrigin-RevId: 776611916
@copybara-service copybara-service bot merged commit d5f1755 into google Jun 27, 2025
@copybara-service copybara-service bot deleted the piper_775320302 branch June 27, 2025 16:24
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.

1 participant