Lines Matching refs:primitive
74 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec()
114 … gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSp…
126 … gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSp… in AttributeGroup() argument
129 , m_primitive (primitive) in AttributeGroup()
147 spec.primitive = m_primitive; in init()
182 spec.primitive = m_primitive; in init()
228 spec.primitive = m_primitive; in init()
443 const gls::DrawTestSpec::Primitive primitive[] = in init() local
467 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(primitive); ++ndx) in init()
469 const std::string name = gls::DrawTestSpec::primitiveToString(primitive[ndx]); in init()
470 const std::string desc = gls::DrawTestSpec::primitiveToString(primitive[ndx]); in init()
472 …this->addChild(new AttributeGroup(m_context, name.c_str(), desc.c_str(), m_method, primitive[ndx],… in init()
600 …spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives… in init()
647 if (spec.primitive != gls::DrawTestSpec::PRIMITIVE_POINTS) in init()
653 …RAWMETHOD_DRAWELEMENTS_RANGED && spec.indexMin == spec.indexMax && spec.primitive != gls::DrawTest… in init()
655 if (spec.attribs[0].useDefaultAttribute && spec.primitive != gls::DrawTestSpec::PRIMITIVE_POINTS) in init()
659 …if (spec.primitive == gls::DrawTestSpec::PRIMITIVE_TRIANGLES || spec.primitive == gls::DrawTestSpe… in init()