簡體   English   中英

glReadPixels 在 iOS 上崩潰

[英]glReadPixels crash on iOS

當在線用戶剛剛打開應用程序時,即使現在它也會崩潰,我們無法復制自己。 崩潰信息:

libsystem_platform.dylib          0x183223b40 _sigtramp + 36 (sigtramp.c:109)
AGXMetalA10                       0x1a2ce15d8 
AGX::Texture<(AGXTextureMemoryLayout)1, AGX::G9::Encoders, 
AGX::G9::Classes>::readRegion(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, void*, unsigned long, unsigned long) + 904 (agxa_texture_template.hpp:1038)
AGXMetalA10                       0x1a2ce15d8 
AGX::Texture<(AGXTextureMemoryLayout)1, AGX::G9::Encoders, 
AGX::G9::Classes>::readRegion(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, void*, unsigned long, unsigned long) + 904    (agxa_texture_template.hpp:1038)
AGXMetalA10                       0x1a2ccaa7c    -[AGXA10FamilyTexture getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice:] + 84 (agxa_texture_objc.mm:355)
AppleMetalGLRenderer              0x1a2d3e8a0    gldReadFramebufferData + 1260 (glr_framebuffer.mm:549)
GLEngine                          0x1a3a98074    glReadPixels_Exec + 1124 (gl_read_pixels.c:329)

看起來您的 glReadPixel() 調用的維度很重要。 就我而言,似乎如果我采用小於 32 的整數作為高度參數,就會發生這種崩潰。 你可以試一試。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM