GLReadPixelsWithPBO:GLReadPixels,带有iOS的PBO演示

时间:2021-04-06 10:38:37
【文件属性】:
文件名称:GLReadPixelsWithPBO:GLReadPixels,带有iOS的PBO演示
文件大小:20KB
文件格式:ZIP
更新时间:2021-04-06 10:38:37
C++ GLReadPixelsWithPBO GLReadPixels,带有iOS的PBO演示 问题: 使用pbo读回纹理比不使用pbo慢,这与常识不符。 复制: 在GLHelper.hpp中打开USE_PBO宏 使用时间剖析器进行剖析。 关闭USE_PBO宏。 使用时间剖析器进行剖析。 比较两条迹线,您会发现glReadPixels在使用pbo时花费更多的时间。
【文件预览】:
GLReadPixelsWithPBO-main
----GLReadPixelsWithPBO.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(15KB)
--------xcuserdata()
----GLReadPixelsWithPBO()
--------main.m(449B)
--------ViewController.m(461B)
--------AppDelegate.h(185B)
--------GLHelper.cpp(5KB)
--------Info.plist(2KB)
--------AppDelegate.m(1KB)
--------GLHelper.hpp(1KB)
--------SceneDelegate.m(2KB)
--------GLTriangleView.h(67B)
--------ViewController.h(172B)
--------Base.lproj()
--------SceneDelegate.h(238B)
--------GLTriangleView.mm(4KB)
--------Assets.xcassets()
----README.md(639B)

网友评论