1

我已经创建了 TextureView 的子类,一切正常,但总是在暂停/恢复活动后我收到这样的消息

05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 在槽 0 中遇到 NULL 缓冲区,寻找缓冲区 0xba3458 05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 00: NULL 05 -29 13:02:33.865: 调试/SurfaceTextureClient(8745): getSlotFromBufferLocked: 01: 0xcecb08 05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 02: 0xba3458 05-29 13:02:33。 DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 03: NULL 05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 04: NULL 05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked : 05: NULL 05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 06: NULL 05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745):getSlotFromBufferLocked: 07: NULL 05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 08: NULL 05-29 13:02:33.865: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 09: NULL 05-29 13:02:33.865:调试/SurfaceTextureClient(8745):getSlotFromBufferLocked:10:NULL 05-29 13:02:33.873:调试/SurfaceTextureClient(8745):getSlotFromBufferLocked:11:NULL 05-29 13:02:33.873:调试/ SurfaceTextureClient(8745):getSlotFromBufferLocked:12:NULL 05-29 13:02:33.873:DEBUG/SurfaceTextureClient(8745):getSlotFromBufferLocked:13:NULL 05-29 13:02:33.873:DEBUG/SurfaceTextureClient(8745):getSlotFromBufferLocked:14 : NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 15: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745):getSlotFromBufferLocked: 16: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 17: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 18: NULL 05-29 13:02:33.873:调试/SurfaceTextureClient(8745):getSlotFromBufferLocked:19:NULL 05-29 13:02:33.873:调试/SurfaceTextureClient(8745):getSlotFromBufferLocked:20:NULL 05-29 13:02:33.873:调试/ SurfaceTextureClient(8745):getSlotFromBufferLocked:21:NULL 05-29 13:02:33.873:DEBUG/SurfaceTextureClient(8745):getSlotFromBufferLocked:22:NULL 05-29 13:02:33.873:DEBUG/SurfaceTextureClient(8745):getSlotFromBufferLocked:23 : NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 24: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745):getSlotFromBufferLocked: 25: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 26: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 27: NULL 05-29 13:02:33.873:调试/SurfaceTextureClient(8745):getSlotFromBufferLocked:28:NULL 05-29 13:02:33.873:调试/SurfaceTextureClient(8745):getSlotFromBufferLocked:29:NULL 05-29 13:02:33.873:调试/ SurfaceTextureClient(8745):getSlotFromBufferLocked:30:NULL 05-29 13:02:33.873:DEBUG/SurfaceTextureClient(8745):getSlotFromBufferLocked:31:NULLgetSlotFromBufferLocked: 28: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 29: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 30: NULL 05-29 13:02:33.873:调试/SurfaceTextureClient(8745):getSlotFromBufferLocked:31:NULLgetSlotFromBufferLocked: 28: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 29: NULL 05-29 13:02:33.873: DEBUG/SurfaceTextureClient(8745): getSlotFromBufferLocked: 30: NULL 05-29 13:02:33.873:调试/SurfaceTextureClient(8745):getSlotFromBufferLocked:31:NULL

暂停时我会破坏我的 gl 表面和 gl 上下文并终止显示,在恢复时创建新的表面和上下文并获得显示。一切正常,但我认为设备日志中不应该出现这样的消息。

有谁知道这是什么意思,为什么会发生。谢谢你。

4

0 回答 0