Lines Matching full:binary
64 program binary can be reloaded into the GL via ProgramBinaryOES. This is a
89 is already part of the core spec and permits loading binary shader pairs?
97 the program binary is pre-linked and ready to run.
107 binary retrieved with GetProgramBinaryOES can be expected to work regardless
126 The program binary retrieved by GetProgramBinaryOES is the one installed
143 5. Where are the binary formats defined and described?
147 to define one or more binary formats, thereby populating the list of
149 GetProgramBinaryOES is always one of the binary formats in this list. If
155 needs to retrieve a program binary with an anonymous <binaryFormat> and
156 resupply that same <binaryFormat> when loading the program binary.
160 RESOLVED: Even if a program binary is successfully retrieved with
161 GetProgramBinaryOES and then in a future run the program binary is
163 the program binary load may still fail.
167 PROGRAM_BINARY_FORMATS_OES list may no longer contain the binary format
168 associated with the cached program binary, and INVALID_ENUM will be thrown
169 if the cached program binary format is passed into ProgramBinaryOES anyway.
171 Even if the cached program binary format is still valid, ProgramBinaryOES
172 may still fail to load the cached binary. This is the driver's way of
178 attribute location used by the program binary?
182 and replaces any program binary loaded prior to LinkProgram. So there is no
183 mechanism to remap an attribute location after loading a program binary.
186 retrieving the program binary. By calling BindAttribLocation followed by
188 followed by a call to GetProgramBinaryOES, the retrieved program binary will
194 enum *binaryFormat, void *binary);
197 const void *binary, int length);
224 enum *binaryFormat, void *binary);
227 program binary. The maximum number of bytes that may be written into
228 <binary> is specified by <bufSize>. If <bufSize> is less than the number of
229 bytes in the program binary, then 0 is returned in <length>, and an
231 written into <binary> is returned in <length> and its format is returned in
234 The number of bytes in the program binary can be queried by calling
236 object's LINK_STATUS is FALSE, its program binary length is zero, and a call
242 const void *binary, int length);
244 loads a program object with a program binary previously returned from
247 shaders as a portable initial format. <binaryFormat> and <binary> must be
249 be the length of the program binary as returned by GetProgramBinaryOES or
250 GetProgramiv with <pname> PROGRAM_BINARY_LENGTH_OES. The program binary
253 An implementation may reject a program binary if it determines the program
254 binary was produced by an incompatible or outdated version of the compiler.
257 program binary for future use.
259 A program object's program binary is replaced by calls to LinkProgram or
273 return the number of program binary formats and the list of program binary
284 the program object, <program>, does not contain a valid program binary as
286 contain the entire program binary; or if the value of
295 PROGRAM_BINARY_LENGTH_OES Z+ GetProgramiv 0 Length of program binary 2.15.4
301 …PROGRAM_BINARY_FORMATS_OES 0+*Z GetIntegerv N/A Enumerated program binary format…
302 …NUM_PROGRAM_BINARY_FORMATS_OES Z GetIntegerv 0 Number of program binary formats…
308 Binary format Z1 GetProgramBinaryOES N/A Binary format returned 2.15.2
347 void* binary;
351 // Retrieve the binary from the program object
354 binary = (void*)malloc(binaryLength);
355 glGetProgramBinaryOES(newProgram, binaryLength, NULL, binaryFormat, binary);
358 // Cache the program binary for future runs
361 fwrite(binary, binaryLength, 1, outfile);
363 free(binary);
384 void* binary;
389 // Read the program binary
394 binary = (void*)malloc(binaryLength);
396 fread(binary, binaryLength, 1, infile);
400 // Load the binary into the program object -- no need to link!
402 glProgramBinaryOES(progObj, binaryFormat, binary, binaryLength);
403 free(binary);
422 are no binary formats (Bug 16155).
437 binary rejection. Rename to OES and
442 clarify that the returned binary pair