Home
last modified time | relevance | path

Searched refs:numAttribs (Results 1 – 25 of 29) sorted by relevance

12

/external/deqp/framework/qphelper/
DqpTestLog.c578 int numAttribs = 0; in qpTestLog_writeKeyValuePair() local
584 if (name) attribs[numAttribs++] = qpSetStringAttrib("Name", name); in qpTestLog_writeKeyValuePair()
585 if (description) attribs[numAttribs++] = qpSetStringAttrib("Description", description); in qpTestLog_writeKeyValuePair()
586 if (tagString) attribs[numAttribs++] = qpSetStringAttrib("Tag", tagString); in qpTestLog_writeKeyValuePair()
587 if (unit) attribs[numAttribs++] = qpSetStringAttrib("Unit", unit); in qpTestLog_writeKeyValuePair()
589 if (!qpXmlWriter_startElement(log->writer, elementName, numAttribs, attribs) || in qpTestLog_writeKeyValuePair()
796 int numAttribs = 0; in qpTestLog_startImageSet() local
801 attribs[numAttribs++] = qpSetStringAttrib("Name", name); in qpTestLog_startImageSet()
803 attribs[numAttribs++] = qpSetStringAttrib("Description", description); in qpTestLog_startImageSet()
806 if (!qpXmlWriter_startElement(log->writer, "ImageSet", numAttribs, attribs)) in qpTestLog_startImageSet()
[all …]
DqpXmlWriter.c199 deBool qpXmlWriter_startElement(qpXmlWriter* writer, const char* elementName, int numAttribs, const… in qpXmlWriter_startElement() argument
207 for (ndx = 0; ndx < numAttribs; ndx++) in qpXmlWriter_startElement()
DqpXmlWriter.h125 deBool qpXmlWriter_startElement (qpXmlWriter* writer, const char* elementName, int numAttribs, co…
/external/skia/tests/
DPrimitiveProcessorTest.cpp35 static std::unique_ptr<GrDrawOp> Make(GrContext* context, int numAttribs) { in Make() argument
38 return pool->allocate<Op>(numAttribs); in Make()
53 Op(int numAttribs) : INHERITED(ClassID()), fNumAttribs(numAttribs) { in Op() argument
60 GP(int numAttribs) : INHERITED(kGP_ClassID), fNumAttribs(numAttribs) { in onPrepareDraws() argument
61 SkASSERT(numAttribs > 1); in onPrepareDraws()
62 fAttribNames.reset(new SkString[numAttribs]); in onPrepareDraws()
63 fAttributes.reset(new Attribute[numAttribs]); in onPrepareDraws()
64 for (auto i = 0; i < numAttribs; ++i) { in onPrepareDraws()
69 this->setVertexAttributes(fAttributes.get(), numAttribs); in onPrepareDraws()
/external/skqp/tests/
DPrimitiveProcessorTest.cpp35 static std::unique_ptr<GrDrawOp> Make(GrContext* context, int numAttribs) { in Make() argument
38 return pool->allocate<Op>(numAttribs); in Make()
52 Op(int numAttribs) : INHERITED(ClassID()), fNumAttribs(numAttribs) { in Op() argument
59 GP(int numAttribs) : INHERITED(kGP_ClassID), fNumAttribs(numAttribs) { in onPrepareDraws() argument
60 SkASSERT(numAttribs > 1); in onPrepareDraws()
61 fAttribNames.reset(new SkString[numAttribs]); in onPrepareDraws()
62 fAttributes.reset(new Attribute[numAttribs]); in onPrepareDraws()
63 for (auto i = 0; i < numAttribs; ++i) { in onPrepareDraws()
68 this->setVertexAttributes(fAttributes.get(), numAttribs); in onPrepareDraws()
/external/deqp/framework/common/
DtcuTestHierarchyUtil.cpp70 int numAttribs = 0; in writeXmlCaselist() local
71 attribs[numAttribs++] = qpSetStringAttrib("PackageName", node->getName()); in writeXmlCaselist()
72 attribs[numAttribs++] = qpSetStringAttrib("Description", node->getDescription()); in writeXmlCaselist()
73 DE_ASSERT(numAttribs <= DE_LENGTH_OF_ARRAY(attribs)); in writeXmlCaselist()
76 !qpXmlWriter_startElement(writer, "TestCaseList", numAttribs, attribs)) in writeXmlCaselist()
96 int numAttribs = 0; in writeXmlCaselist() local
98 attribs[numAttribs++] = qpSetStringAttrib("Name", caseName.c_str()); in writeXmlCaselist()
99 attribs[numAttribs++] = qpSetStringAttrib("CaseType", getNodeTypeName(nodeType)); in writeXmlCaselist()
100 attribs[numAttribs++] = qpSetStringAttrib("Description", description.c_str()); in writeXmlCaselist()
101 DE_ASSERT(numAttribs <= DE_LENGTH_OF_ARRAY(attribs)); in writeXmlCaselist()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DG__l_o_c.py27 self.numAttribs = 0
34 self.locations.fromstring(data[:len(data) - self.numAttribs * (flags & 2)])
38 self.attribIds.fromstring(data[-self.numAttribs * 2:])
44 numAttribs=self.numAttribs))
59 writer.simpletag("attributes", number=self.numAttribs)
64 self.numAttribs = int(safeEval(attrs['number']))
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c113 GLuint i, numTexCoords, numAttribs; in st_DrawTex() local
141 numAttribs = 1 + emitColor + numTexCoords; in st_DrawTex()
147 GLuint k = (((VERT) * numAttribs + (ATTR)) * 4); \ in st_DrawTex()
148 assert(k < 4 * 4 * numAttribs); \ in st_DrawTex()
160 numAttribs * 4 * 4 * sizeof(GLfloat), 4, in st_DrawTex()
246 void *vs = lookup_shader(pipe, numAttribs, in st_DrawTex()
254 for (i = 0; i < numAttribs; i++) { in st_DrawTex()
260 cso_set_vertex_elements(cso, numAttribs, velements); in st_DrawTex()
284 numAttribs); /* attribs/vert */ in st_DrawTex()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dfetch_jit.h98 uint32_t numAttribs{ 0 };
118 if (numAttribs != other.numAttribs) return false;
129 for (uint32_t i = 0; i < numAttribs; ++i)
Dfetch_jit.cpp393 for(uint32_t nelt = 0; nelt < fetchState.numAttribs; ++nelt) in JitLoadVertices()
919 for (uint32_t nInputElt = 0; nInputElt < fetchState.numAttribs; nInputElt += 1) in JitGatherVertices()
/external/mesa3d/src/glx/
Dglx_pbuffer.c113 req->numAttribs = (CARD32) num_attribs; in ChangeDrawableAttribute()
157 determineTextureTarget(const int *attribs, int numAttribs) in determineTextureTarget() argument
162 for (i = 0; i < numAttribs; i++) { in determineTextureTarget()
179 determineTextureFormat(const int *attribs, int numAttribs) in determineTextureFormat() argument
183 for (i = 0; i < numAttribs; i++) { in determineTextureFormat()
380 num_attributes = (use_glx_1_3) ? reply.numAttribs : length / 2; in __glXGetDrawableAttribute()
479 req->numAttribs = i; in CreateDrawable()
577 req->numAttribs = i + extra; in CreatePbuffer()
Dglxext.c747 reply.numAttribs * 2, in getFBConfigs()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dclip.h512 uint32_t numAttribs = maxSlot + 1;
514 …MD_T::Integer vNumClippedVerts = ClipPrims((float*)&vertices[0], vPrimMask, vClipMask, numAttribs);
609 for (uint32_t attrib = 0; attrib < numAttribs; ++attrib)
1098 …, const typename SIMD_T::Float &vPrimMask, const typename SIMD_T::Float &vClipMask, int numAttribs)
1111 vNumOutPts = ClipTriToPlane<FRUSTUM_NEAR>(pVertices, vNumInPts, numAttribs, pTempVerts);
1112 vNumOutPts = ClipTriToPlane<FRUSTUM_FAR>(pTempVerts, vNumOutPts, numAttribs, pVertices);
1113 … vNumOutPts = ClipTriToPlane<FRUSTUM_LEFT>(pVertices, vNumOutPts, numAttribs, pTempVerts);
1114 … vNumOutPts = ClipTriToPlane<FRUSTUM_RIGHT>(pTempVerts, vNumOutPts, numAttribs, pVertices);
1115 … vNumOutPts = ClipTriToPlane<FRUSTUM_BOTTOM>(pVertices, vNumOutPts, numAttribs, pTempVerts);
1116 vNumOutPts = ClipTriToPlane<FRUSTUM_TOP>(pTempVerts, vNumOutPts, numAttribs, pVertices);
[all …]
Drasterizer.cpp116 for (uint32_t a = 0; a < workDesc.numAttribs; ++a) in RasterizeLine()
201 for (uint32_t a = 0; a < workDesc.numAttribs; ++a) in RasterizeLine()
339 newWorkDesc.numAttribs = workDesc.numAttribs; in RasterizeTriPoint()
372 memcpy(&newAttribBuffer[0], workDesc.pAttribs, 4 * 3 * workDesc.numAttribs * sizeof(float)); in RasterizeTriPoint()
Dfrontend.cpp735 void TransposeSOAtoAOS(uint8_t* pDst, uint8_t* pSrc, uint32_t numVerts, uint32_t numAttribs) in TransposeSOAtoAOS() argument
737 uint32_t srcVertexStride = numAttribs * sizeof(float) * 4; in TransposeSOAtoAOS()
738 uint32_t dstVertexStride = numAttribs * sizeof(typename SIMD_T::Float) * 4; in TransposeSOAtoAOS()
762 for (uint32_t a = 0; a < numAttribs; ++a) in TransposeSOAtoAOS()
933 uint32_t numAttribs = state.feNumAttributes; in GeometryShaderStage() local
963 …rtexSize, reinterpret_cast<simd16mask *>(pCutBuffer), numEmittedVerts, numAttribs, pState->outputT… in GeometryShaderStage()
966 …umEmittedVerts, pState->outputVertexSize, pCutBuffer, numEmittedVerts, numAttribs, pState->outputT… in GeometryShaderStage()
Dpa.h400 uint32_t numAttribs{ 0 }; // number of attributes
441 numAttribs = in_numAttribs; in PA_STATE_CUT()
1438 uint32_t numAttribs = state.feNumAttributes; in PA_FACTORY() local
1441 … vertexStride, &this->indexStore[0], numVerts, numAttribs, state.topology, false, numVertsPerPrim); in PA_FACTORY()
Dcontext.h98 uint32_t numAttribs; member
Dbinner.cpp1082 desc.numAttribs = linkageCount; in BinTrianglesImpl()
1295 desc.numAttribs = linkageCount; in BinPostSetupPointsImpl()
1440 desc.numAttribs = linkageCount; in BinPostSetupPointsImpl()
1754 desc.numAttribs = linkageCount; in BinPostSetupLinesImpl()
/external/deqp/framework/platform/win32/
DtcuWGL.cpp329 …rmatAttribs (const Functions& wgl, HDC deviceCtx, int pixelFormat, int numAttribs, const int* attr… in getPixelFormatAttribs() argument
331 std::vector<int> values (numAttribs); in getPixelFormatAttribs()
333 if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, numAttribs, &attribs[0], &values[0])) in getPixelFormatAttribs()
336 for (int ndx = 0; ndx < numAttribs; ++ndx) in getPixelFormatAttribs()
/external/deqp/modules/egl/
DteglChooseConfigTests.cpp358 const int numAttribs = rnd.getInt(0, (int)m_attribSet.size()*2); in iterate() local
360 …std::vector<std::pair<EGLenum, EGLint> > attributes = genRandomAttributes(m_attribSet, numAttribs,… in iterate()
415 …EGLint> > genRandomAttributes (const std::set<EGLenum>& attribSet, int numAttribs, de::Random& rnd) in genRandomAttributes() argument
460 for (int attribNdx = 0; attribNdx < numAttribs; attribNdx++) in genRandomAttributes()
DteglQuerySurfaceTests.cpp64 …nst Library& egl, EGLDisplay display, EGLSurface surface, const EGLint* attributes, int numAttribs) in logSurfaceAttributes() argument
66 for (int ndx = 0; ndx < numAttribs; ndx++) in logSurfaceAttributes()
/external/autotest/client/deps/webgl_mpd/src/debug/
Dwebgl-debug.js356 var numAttribs = ctx.getParameter(ctx.MAX_VERTEX_ATTRIBS);
359 for (var ii = 0; ii < numAttribs; ++ii) {
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp359 int numAttribs = quadGrid.getNumUserAttribs(); in reset() local
360 DE_ASSERT(numAttribs <= MAX_USER_ATTRIBS); in reset()
361 for (int attribNdx = 0; attribNdx < numAttribs; attribNdx++) in reset()
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp308 int numAttribs = quadGrid.getNumUserAttribs(); in reset() local
309 DE_ASSERT(numAttribs <= MAX_USER_ATTRIBS); in reset()
310 for (int attribNdx = 0; attribNdx < numAttribs; attribNdx++) in reset()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp429 const int numAttribs = m_quadGrid.getNumUserAttribs(); in reset() local
430 DE_ASSERT(numAttribs <= MAX_USER_ATTRIBS); in reset()
431 for (int attribNdx = 0; attribNdx < numAttribs; attribNdx++) in reset()

12