Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp70 GLint binaryLength = stream->readInt<GLint>(); in load() local
72 stream->skip(binaryLength); in load()
75 mFunctions->programBinary(mProgramID, binaryFormat, binary, binaryLength); in load()
91 GLint binaryLength = 0; in save() local
92 mFunctions->getProgramiv(mProgramID, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in save()
94 std::vector<uint8_t> binary(std::max(binaryLength, 1)); in save()
96 mFunctions->getProgramBinary(mProgramID, binaryLength, &binaryLength, &binaryFormat, in save()
100 stream->writeInt(binaryLength); in save()
101 stream->writeBytes(binary.data(), binaryLength); in save()
/external/deqp/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()
/external/deqp/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()
/external/angle/src/tests/gl_tests/
DWebGLCompatibilityTest.cpp1206 GLint binaryLength = 0; in TEST_P() local
1207 glGetProgramiv(program, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in TEST_P()
1212 std::vector<uint8_t> binary(binaryLength); in TEST_P()
1213 glGetProgramBinaryOES(program, binaryLength, &writeLength, &binaryFormat, binary.data()); in TEST_P()
1216 glProgramBinaryOES(program, binaryFormat, binary.data(), binaryLength); in TEST_P()