MCPcopy Create free account
hub / github.com/Tencent/libpag / ToBackendTexture

Function ToBackendTexture

test/src/utils/TestUtils.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40BackendTexture ToBackendTexture(const tgfx::GLTextureInfo& texture, int width, int height) {
41 GLTextureInfo glInfo = {};
42 glInfo.id = texture.id;
43 glInfo.target = texture.target;
44 glInfo.format = texture.format;
45 return {glInfo, width, height};
46}
47
48std::vector<std::string> GetAllPAGFiles(const std::string& path) {
49 return Directory::FindFiles(ProjectPath::Absolute(path), ".pag");

Callers 3

GetBottomLeftImageFunction · 0.85
PAG_TESTFunction · 0.85
PAG_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected