Home
last modified time | relevance | path

Searched refs:binaryLength (Results 1 – 13 of 13) sorted by relevance

/third_party/openGLES/extensions/AMD/
DAMD_program_binary_Z400.txt96 GLint binaryLength;
106 binaryLength = (GLint)ftell(infile);
107 binary = (GLvoid*)malloc(binaryLength);
109 fread(binary, binaryLength, 1, infile);
115 glProgramBinaryOES(progObj, GL_Z400_BINARY_AMD, binary, binaryLength);
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_program_binary_Z400.txt96 GLint binaryLength;
106 binaryLength = (GLint)ftell(infile);
107 binary = (GLvoid*)malloc(binaryLength);
109 fread(binary, binaryLength, 1, infile);
115 glProgramBinaryOES(progObj, GL_Z400_BINARY_AMD, binary, binaryLength);
/third_party/openGLES/extensions/OES/
DOES_get_program_binary.txt346 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);
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_get_program_binary.txt335 GLint binaryLength;
342 glGetProgramiv(newProgram, GL_PROGRAM_BINARY_LENGTH_OES, &binaryLength);
343 binary = (void*)malloc(binaryLength);
344 glGetProgramBinaryOES(newProgram, &binaryLength, NULL, binaryFormat, binary);
350 fwrite(binary, binaryLength, 1, outfile);
372 GLint binaryLength;
382 binaryLength = (GLint)ftell(infile);
383 binary = (void*)malloc(binaryLength);
385 fread(binary, binaryLength, 1, infile);
391 glProgramBinaryOES(progObj, binaryFormat, binary, binaryLength);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp68 GLint binaryLength = stream->readInt<GLint>(); in load() local
70 stream->skip(binaryLength); in load()
73 mFunctions->programBinary(mProgramID, binaryFormat, binary, binaryLength); in load()
89 GLint binaryLength = 0; in save() local
90 mFunctions->getProgramiv(mProgramID, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in save()
92 std::vector<uint8_t> binary(std::max(binaryLength, 1)); in save()
94 mFunctions->getProgramBinary(mProgramID, binaryLength, &binaryLength, &binaryFormat, in save()
98 stream->writeInt(binaryLength); in save()
99 stream->writeBytes(binary.data(), binaryLength); in save()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp68 GLint binaryLength = stream->readInt<GLint>(); in load() local
70 stream->skip(binaryLength); in load()
73 mFunctions->programBinary(mProgramID, binaryFormat, binary, binaryLength); in load()
89 GLint binaryLength = 0; in save() local
90 mFunctions->getProgramiv(mProgramID, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in save()
92 std::vector<uint8_t> binary(std::max(binaryLength, 1)); in save()
94 mFunctions->getProgramBinary(mProgramID, binaryLength, &binaryLength, &binaryFormat, in save()
98 stream->writeInt(binaryLength); in save()
99 stream->writeBytes(binary.data(), binaryLength); in save()
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_get_program_binary.txt298 GLint binaryLength;
343 glGetProgramiv(newProgram, GL_PROGRAM_BINARY_LENGTH, &binaryLength);
344 binary = (void*)malloc(binaryLength);
345 glGetProgramBinary(newProgram, binaryLength, NULL, binaryFormat, binary);
351 fwrite(binary, binaryLength, 1, outfile);
366 GLint binaryLength;
376 binaryLength = (GLint)ftell(infile);
377 binary = (void*)malloc(binaryLength);
379 fread(binary, binaryLength, 1, infile);
385 glProgramBinary(progObj, binaryFormat, binary, binaryLength);
/third_party/openGLES/extensions/ARB/
DARB_get_program_binary.txt309 GLint binaryLength;
354 glGetProgramiv(newProgram, GL_PROGRAM_BINARY_LENGTH, &binaryLength);
355 binary = (void*)malloc(binaryLength);
356 glGetProgramBinary(newProgram, binaryLength, NULL, binaryFormat, binary);
362 fwrite(binary, binaryLength, 1, outfile);
377 GLint binaryLength;
387 binaryLength = (GLint)ftell(infile);
388 binary = (void*)malloc(binaryLength);
390 fread(binary, binaryLength, 1, infile);
396 glProgramBinary(progObj, binaryFormat, binary, binaryLength);
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp390 GLsizei binaryLength = -1; in init()
403 glGetProgramBinary (program.getProgram(), 0, &binaryLength, &binaryFormat, &binaryPtr); in init()
407 glGetProgramBinary (program.getProgram(), bufSize-1, &binaryLength, &binaryFormat, &binaryPtr); in init()
420 …glGetProgramBinary (programInvalid.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryPtr… in init()
431 GLsizei binaryLength = -1; in init()
446 …glGetProgramBinary (srcProgram.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryBuf[0]); in init()
450 glProgramBinary (unusedShader, binaryFormat, &binaryBuf[0], binaryLength); in init()
455 glProgramBinary (dstProgram, -1, &binaryBuf[0], binaryLength); in init()
Des3fShaderApiTests.cpp1154 GLint binaryLength = -1; in getProgramBinary() local
1155 glGetProgramiv(program, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in getProgramBinary()
1157 if (binaryLength > 0) in getProgramBinary()
1163 out.data.resize(binaryLength, 0); in getProgramBinary()
1167 TCU_CHECK(actualLength == binaryLength); in getProgramBinary()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeShaderApiTests.cpp478 GLsizei binaryLength = -1; in get_program_binary() local
491 ctx.glGetProgramBinary (program.getProgram(), 0, &binaryLength, &binaryFormat, &binaryPtr); in get_program_binary()
495 …ctx.glGetProgramBinary (program.getProgram(), bufSize-1, &binaryLength, &binaryFormat, &binaryPtr); in get_program_binary()
510 …ctx.glGetProgramBinary (programInvalid.getProgram(), bufSize, &binaryLength, &binaryFormat, &binar… in get_program_binary()
527 GLsizei binaryLength = -1; in program_binary() local
541 …ctx.glGetProgramBinary (srcProgram.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryBuf… in program_binary()
545 ctx.glProgramBinary (unusedShader, binaryFormat, &binaryBuf[0], binaryLength); in program_binary()
550 ctx.glProgramBinary (dstProgram, -1, &binaryBuf[0], binaryLength); in program_binary()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DWebGLCompatibilityTest.cpp1148 GLint binaryLength = 0; in TEST_P() local
1149 glGetProgramiv(program, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in TEST_P()
1154 std::vector<uint8_t> binary(binaryLength); in TEST_P()
1155 glGetProgramBinaryOES(program, binaryLength, &writeLength, &binaryFormat, binary.data()); in TEST_P()
1158 glProgramBinaryOES(program, binaryFormat, binary.data(), binaryLength); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DWebGLCompatibilityTest.cpp1200 GLint binaryLength = 0; in TEST_P() local
1201 glGetProgramiv(program, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in TEST_P()
1206 std::vector<uint8_t> binary(binaryLength); in TEST_P()
1207 glGetProgramBinaryOES(program, binaryLength, &writeLength, &binaryFormat, binary.data()); in TEST_P()
1210 glProgramBinaryOES(program, binaryFormat, binary.data(), binaryLength); in TEST_P()