implement aligned memory to speed up video frame encoding

This commit is contained in:
2019-11-13 23:27:32 +01:00
parent b719e4c7fc
commit 56fc581b04
8 changed files with 108 additions and 5 deletions

View File

@@ -110,7 +110,7 @@ PBO Layer::gen_equirect_pbo(glm::ivec2 size /*= { 0, 0 }*/)
TextureCube cube = gen_cube();
std::this_thread::yield();
RTT latlong;
latlong.create(size.x * 4, size.y * 2);
latlong.create(size.x, size.y);
std::this_thread::yield();
App::I->render_task([&]