Lines Matching refs:name
138 void SimpleBinder::bind (GLuint name)
140 (this->*m_bindFunc)(m_bindTarget, name);
160 void bind (GLuint name) { glBindVertexArray(name); }
167 void bind (GLuint name)
169 if (name != 0)
170 glBeginQuery(GL_ANY_SAMPLES_PASSED, name);
177 bool ProgramType::isDeleteFlagged (GLuint name)
180 glGetProgramiv(name, GL_DELETE_STATUS, &deleteFlagged);
184 bool ShaderType::isDeleteFlagged (GLuint name)
187 glGetShaderiv(name, GL_DELETE_STATUS, &deleteFlagged);
252 GLint type = 0, name = 0;
266 &name),
271 return name;
774 Name (Type& type, GLuint name) : m_type(type), m_name(name) {}
850 TestBase (const char* name,
865 TestBase::TestBase (const char* name, const char* description, const Context& ctx)
866 : TestCase (ctx.getTestContext(), name, description)
869 , m_rnd (deStringHash(name))
884 LifeTest (const char* name,
888 : TestBase (name, description, type.getContext())
917 Name name (m_type);
920 errors.check(m_type.exists(*name), "Gen* should have created an object, but didn't");
922 errors.check(!m_type.exists(*name), "Gen* should not have created an object, but did");
928 GLuint name = m_type.gen();
930 m_type.release(name);
931 errors.check(!m_type.exists(name), "Object still exists after deletion");
937 Name name (m_type);
939 binder().bind(*name);
941 errors.check(m_type.exists(*name), "Object does not exist after binding");
959 "Deleting bound object made its name invalid");
970 "Deleting bound object did not make its name invalid");
986 Name name (m_type, id);
987 binder().bind(*name);
992 "Did not fail when binding a name not generated by Gen* call");
993 errors.check(!m_type.exists(*name),
994 "Bind* created an object for a name not generated by a Gen* call");
999 "Failed when binding a name not generated by Gen* call");
1000 errors.check(m_type.exists(*name),
1035 "Deleted program name still valid after being made non-current");
1042 AttachmentTest (const char* name,
1046 : TestBase (name, description, attacher.getContext())
1091 "Attachment name not returned by query even before deletion.");
1095 // may still contain state identifying its name as being currently bound"
1099 // name.
1101 "Attachment name not returned by query after attachment was deleted.");
1105 "Attached object name no longer valid after deletion.");
1108 "Attached object name still valid after deletion.");
1112 "Attachment name returned by query even after detachment.");
1114 "Deleted attached object name still usable after detachment.");
1120 InputAttachmentTest (const char* name,
1123 : TestBase (name, description, inputAttacher.getContext())
1216 OutputAttachmentTest (const char* name,
1219 : TestBase (name, description,
1306 const char* name;
1315 MovePtr<TestCaseGroup> group(new TestCaseGroup(testCtx, spec.name, spec.name));
1320 const char* name = type.getName();
1322 group->addChild(new LifeTest(name, name, type, spec.func));
1375 const string name = attacherName(**it);
1376 nameGroup->addChild(new AttachmentTest(name.c_str(), name.c_str(), **it,
1389 const string name = attacherName((*it)->getAttacher());
1390 inputGroup->addChild(new InputAttachmentTest(name.c_str(), name.c_str(), **it));
1402 string name = attacherName((*it)->getAttacher());
1403 outputGroup->addChild(new OutputAttachmentTest(name.c_str(), name.c_str(),