Home
last modified time | relevance | path

Searched refs:binaryProgram (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/gl/
H A Dprogram.hpp49 Program(Context& context, const BinaryProgram& binaryProgram) in Program() argument
50 : program(context.createProgram(binaryProgram.format(), binaryProgram.code())), in Program()
51 uniformsState(Uniforms::loadNamedLocations(binaryProgram)), in Program()
52 attributeLocations(Attributes::loadNamedLocations(binaryProgram)) { in Program()
70 const BinaryProgram binaryProgram(std::move(*cachedBinaryProgram)); in createProgram() local
71 if (binaryProgram.identifier() == identifier) { in createProgram()
72 return Program { context, binaryProgram }; in createProgram()
88 if (const auto binaryProgram = in createProgram() local
90 util::write_file(*cachePath, binaryProgram->serialize()); in createProgram()
107 if (auto binaryProgram = context.getBinaryProgram(program)) { in get() local
[all …]
H A Dcontext.cpp206 const std::string& binaryProgram) { in createProgram() argument
210 binaryProgram.data(), in createProgram()
211 static_cast<GLint>(binaryProgram.size()))); in createProgram()
H A Dcontext.hpp52 UniqueProgram createProgram(BinaryProgramFormat binaryFormat, const std::string& binaryProgram);