Lines Matching refs:binary
378 * @return true if the extension is supported and, also, at least one binary format.
395 /** Create program from provided binary
397 * @param binary Buffer with binary form of program
398 * @param binary_format Format of <binary> data
400 void Utils::program::createFromBinary(const std::vector<GLubyte>& binary, GLenum binary_format)
409 gl.programBinary(m_program_object_id, binary_format, &binary[0], (GLsizei)binary.size());
413 /** Get binary form of program
415 * @param binary Buffer for binary data
416 * @param binary_format Format of binary data
418 void Utils::program::getBinary(std::vector<GLubyte>& binary, GLenum& binary_format) const
423 /* Get binary size */
429 binary.resize(length);
431 /* Get binary */
432 gl.getProgramBinary(m_program_object_id, (GLsizei)binary.size(), &length, &binary_format, &binary[0]);
7630 /* Delete program and recreate it from binary */
7669 /* Test program binary */