Searched refs:binaryProgram (Results 1 – 3 of 3) sorted by relevance
49 Program(Context& context, const BinaryProgram& binaryProgram) in Program() argument50 : 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() local71 if (binaryProgram.identifier() == identifier) { in createProgram()72 return Program { context, binaryProgram }; in createProgram()88 if (const auto binaryProgram = in createProgram() local90 util::write_file(*cachePath, binaryProgram->serialize()); in createProgram()107 if (auto binaryProgram = context.getBinaryProgram(program)) { in get() local[all …]
206 const std::string& binaryProgram) { in createProgram() argument210 binaryProgram.data(), in createProgram()211 static_cast<GLint>(binaryProgram.size()))); in createProgram()
52 UniqueProgram createProgram(BinaryProgramFormat binaryFormat, const std::string& binaryProgram);