Lines Matching refs:binaryLength
346 GLint binaryLength;
353 glGetProgramiv(newProgram, GL_PROGRAM_BINARY_LENGTH_OES, &binaryLength);
354 binary = (void*)malloc(binaryLength);
355 glGetProgramBinaryOES(newProgram, binaryLength, NULL, binaryFormat, binary);
361 fwrite(binary, binaryLength, 1, outfile);
383 GLint binaryLength;
393 binaryLength = (GLint)ftell(infile);
394 binary = (void*)malloc(binaryLength);
396 fread(binary, binaryLength, 1, infile);
402 glProgramBinaryOES(progObj, binaryFormat, binary, binaryLength);
419 #16 24/06/2020 Arthur Tombs Fix typo: pass binaryLength by value