/external/angle/src/common/ |
D | utilities_unittest.cpp | 35 EXPECT_EQ(GL_INVALID_INDEX, indices.back()); in TEST() 82 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo", &nameLengthWithoutArrayIndex)); in TEST() 90 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("", &nameLengthWithoutArrayIndex)); in TEST() 106 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[123].bar", &nameLengthWithoutArrayIndex)); in TEST() 114 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[123] ", &nameLengthWithoutArrayIndex)); in TEST() 131 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[0xff]", &nameLengthWithoutArrayIndex)); in TEST() 140 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[+1]", &nameLengthWithoutArrayIndex)); in TEST() 149 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[ 0]", &nameLengthWithoutArrayIndex)); in TEST() 158 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[0 ]", &nameLengthWithoutArrayIndex)); in TEST() 167 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[0bogus]", &nameLengthWithoutArrayIndex)); in TEST() [all …]
|
D | utilities.cpp | 915 outSubscripts->push_back(GL_INVALID_INDEX); in ParseResourceName() 1026 return GL_INVALID_INDEX; in ParseArrayIndex()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | gl_texture.h | 39 : GlTexture(GL_INVALID_ENUM, GL_INVALID_INDEX, GL_INVALID_ENUM, 0, 0, in GlTexture() 79 bool is_valid() const { return id_ != GL_INVALID_INDEX; } in is_valid() 159 TextureId() : id_(GL_INVALID_INDEX) { in TextureId() 167 if (id_ != GL_INVALID_INDEX) { in ~TextureId() 175 GLuint id = GL_INVALID_INDEX; in Release()
|
D | egl_environment.h | 64 GLuint dummy_framebuffer_ = GL_INVALID_INDEX; 65 GLuint dummy_texture_ = GL_INVALID_INDEX;
|
D | gl_buffer.h | 50 GlBuffer() : GlBuffer(GL_INVALID_ENUM, GL_INVALID_INDEX, 0, 0, false) {} in GlBuffer() 98 bool is_valid() const { return id_ != GL_INVALID_INDEX; } in is_valid() 182 BufferId() : id_(GL_INVALID_INDEX) { in BufferId() 191 if (id_ != GL_INVALID_INDEX) { in ~BufferId() 199 GLuint id = GL_INVALID_INDEX; in Release()
|
D | gl_buffer.cc | 73 if (has_ownership_ && id_ != GL_INVALID_INDEX) { in Invalidate() 75 id_ = GL_INVALID_INDEX; in Invalidate() 105 : GlPersistentBuffer(GL_INVALID_ENUM, GL_INVALID_INDEX, 0, 0, false, in GlPersistentBuffer()
|
D | egl_environment.cc | 56 if (dummy_framebuffer_ != GL_INVALID_INDEX) { in ~EglEnvironment() 59 if (dummy_texture_ != GL_INVALID_INDEX) { in ~EglEnvironment()
|
D | gl_texture.cc | 55 if (owned_ && id_ != GL_INVALID_INDEX) { in Invalidate() 57 id_ = GL_INVALID_INDEX; in Invalidate()
|
/external/angle/src/tests/gl_tests/ |
D | ProgramInterfaceTest.cpp | 109 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 113 EXPECT_EQ(GL_INVALID_INDEX, index); in TEST_P() 117 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 121 EXPECT_EQ(GL_INVALID_INDEX, index); in TEST_P() 146 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 163 glGetProgramResourceName(program, GL_PROGRAM_INPUT, GL_INVALID_INDEX, sizeof(name), &length, in TEST_P() 169 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 273 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 300 EXPECT_NE(index, GL_INVALID_INDEX); in TEST_P() 444 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() [all …]
|
D | UniformBufferTest.cpp | 342 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 346 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 364 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 373 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 443 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 451 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 460 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 469 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 478 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() 487 EXPECT_NE(GL_INVALID_INDEX, index); in TEST_P() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Program.cpp | 89 …formIndexes(memberUniformIndexes), psRegisterIndex(GL_INVALID_INDEX), vsRegisterIndex(GL_INVALID_I… in UniformBlock() 110 return elementIndex != GL_INVALID_INDEX; in isArrayElement() 115 return vsRegisterIndex != GL_INVALID_INDEX; in isReferencedByVertexShader() 120 return psRegisterIndex != GL_INVALID_INDEX; in isReferencedByFragmentShader() 246 unsigned int subscript = GL_INVALID_INDEX; in getFragDataLocation() 256 if(subscript == GL_INVALID_INDEX) // No subscript in getFragDataLocation() 345 unsigned int subscript = GL_INVALID_INDEX; in getUniform() 361 unsigned int subscript = GL_INVALID_INDEX; in getUniformLocation() 370 if(index != GL_INVALID_INDEX) in getUniformLocation() 372 if(subscript == GL_INVALID_INDEX) in getUniformLocation() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | program_resource.c | 281 return GL_INVALID_INDEX; in _mesa_GetProgramResourceIndex() 286 return GL_INVALID_INDEX; in _mesa_GetProgramResourceIndex() 296 return GL_INVALID_INDEX; in _mesa_GetProgramResourceIndex() 321 return GL_INVALID_INDEX; in _mesa_GetProgramResourceIndex() 331 return GL_INVALID_INDEX; in _mesa_GetProgramResourceIndex()
|
/external/angle/src/libANGLE/ |
D | VaryingPacking.cpp | 218 GL_INVALID_INDEX, in PackedVarying() 560 if (secondaryFieldIndex != GL_INVALID_INDEX) in collectUserVaryingField() 600 secondaryFieldIndex == GL_INVALID_INDEX ? 0 : secondaryFieldIndex); in collectUserVaryingField() 635 if (secondaryFieldIndex != GL_INVALID_INDEX) in collectUserVaryingFieldTF() 656 input->interpolation, GL_INVALID_INDEX, fieldIndex, in collectUserVaryingFieldTF() 657 secondaryFieldIndex == GL_INVALID_INDEX ? 0 : secondaryFieldIndex); in collectUserVaryingFieldTF() 677 const GLuint effectiveArrayIndex = isArray ? arrayIndex : GL_INVALID_INDEX; in collectVarying() 714 collectUserVaryingField(ref, effectiveArrayIndex, fieldIndex, GL_INVALID_INDEX, in collectVarying() 783 GL_INVALID_INDEX); in collectTFVarying() 791 collectUserVaryingFieldTF(ref, *field, fieldIndex, GL_INVALID_INDEX); in collectTFVarying() [all …]
|
D | ProgramExecutable.h | 72 : arrayIndex(GL_INVALID_INDEX) in TransformFeedbackVarying() 92 if (arrayIndex != GL_INVALID_INDEX) in nameWithArrayIndex() 100 return (isArray() && arrayIndex == GL_INVALID_INDEX ? getOutermostArraySize() : 1); in size()
|
D | VaryingPacking.h | 88 return isTransformFeedback && arrayIndex != GL_INVALID_INDEX; in isTransformFeedbackArrayElement() 117 if (arrayIndex != GL_INVALID_INDEX) in fullName()
|
D | entry_points_utils.h | 70 static constexpr GLuint kValue = GL_INVALID_INDEX;
|
D | Program.cpp | 127 return GL_INVALID_INDEX; in GetResourceIndexFromName() 342 return GL_INVALID_INDEX; in GetInterfaceBlockIndex() 1009 ASSERT(arrayIndex != GL_INVALID_INDEX); in VariableLocation() 1129 else if (arrayIndex == GL_INVALID_INDEX) in getBinding() 2193 return GL_INVALID_INDEX; in getInputResourceIndex() 2236 return GL_INVALID_INDEX; in getResourceLocation() 2245 if (arrayIndex != GL_INVALID_INDEX) in getResourceLocation() 2257 if (index == GL_INVALID_INDEX) in getInputResourceLocation() 2270 if (index == GL_INVALID_INDEX) in getOutputResourceLocation() 2294 return GL_INVALID_INDEX; in getOutputResourceIndex() [all …]
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderProgramResource.cpp | 403 glw::GLuint atom_horizontal_uniform_buffer_indx = GL_INVALID_INDEX; in iterate() 404 glw::GLuint atom_vertical_uniform_buffer_indx = GL_INVALID_INDEX; in iterate() 664 glw::GLuint index = GL_INVALID_INDEX; in checkIfResourceIsReferenced() 673 if (GL_INVALID_INDEX == index) in checkIfResourceIsReferenced()
|
/external/angle/src/compiler/translator/ |
D | ResourcesHLSL.cpp | 733 interfaceBlock, instanceVariable, structuredBufferRegister, GL_INVALID_INDEX); in uniformBlocksHeader() 757 GL_INVALID_INDEX); in uniformBlocksHeader() 791 activeRegister, GL_INVALID_INDEX); in shaderStorageBlocksHeader() 804 const TString &arrayIndexString = (arrayIndex != GL_INVALID_INDEX ? str(arrayIndex) : ""); in uniformBlockString() 842 if (arrayIndex == GL_INVALID_INDEX || arrayIndex == 0) in uniformBlockWithOneLargeArrayMemberString() 853 if (arrayIndex == GL_INVALID_INDEX || arrayIndex == 0) in uniformBlockWithOneLargeArrayMemberString() 901 if (arrayIndex != GL_INVALID_INDEX) in InterfaceBlockInstanceString()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOArrayLengthTests.cpp | 123 if (index == GL_INVALID_INDEX) in init() 136 if (index == GL_INVALID_INDEX) in init() 149 if (index == GL_INVALID_INDEX) in init()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/ |
D | api.cc | 45 bool operator()(OpenGlBuffer obj) const { return obj.id != GL_INVALID_INDEX; } in operator ()() 47 return obj.id != GL_INVALID_INDEX && obj.format != GL_INVALID_ENUM; in operator ()()
|
D | api.h | 87 GLuint id = GL_INVALID_INDEX; 95 GLuint id = GL_INVALID_INDEX;
|
/external/angle/src/libANGLE/renderer/gl/ |
D | ProgramGL.cpp | 822 if (realBlockIndex != GL_INVALID_INDEX) in setUniformBlockBinding() 835 if (blockIndex == GL_INVALID_INDEX) in getUniformBlockSize() 856 if (uniformIndex == GL_INVALID_INDEX) in getUniformBlockMemberInfo() 885 if (index == GL_INVALID_INDEX) in getShaderStorageBlockMemberInfo() 916 if (index == GL_INVALID_INDEX) in getShaderStorageBlockSize() 1007 mUniformRealLocationMap.resize(uniformLocations.size(), GL_INVALID_INDEX); in postLink()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderSubroutineTests.cpp | 450 if (GL_INVALID_INDEX == index) in getSubroutineIndex() 2125 , m_po_getter0_subroutine_index(GL_INVALID_INDEX) in FunctionalTest1_2() 2126 , m_po_getter1_subroutine_index(GL_INVALID_INDEX) in FunctionalTest1_2() 2211 …if (m_po_getter0_subroutine_index == GL_INVALID_INDEX || m_po_getter1_subroutine_index == GL_INVAL… in executeTestIteration() 3084 if (GL_INVALID_INDEX == index) in checkProgramResourceiv() 3196 if (GL_INVALID_INDEX == index) in getProgramResourceIndex() 3232 if (GL_INVALID_INDEX == index) in getSubroutineIndex() 3388 if (GL_INVALID_INDEX != index) in inspectProgramResourceiv() 8315 if (current_item.stage.function1_index == GL_INVALID_INDEX || in initTest() 8316 current_item.stage.function2_index == GL_INVALID_INDEX || in initTest() [all …]
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderProgramInterfaces.cpp | 533 if (resource_index == GL_INVALID_INDEX) in iterate()
|