Home
last modified time | relevance | path

Searched refs:componentSize (Results 1 – 9 of 9) sorted by relevance

/external/skqp/src/sksl/
DSkSLMemoryLayout.h25 static size_t vector_alignment(size_t componentSize, int columns) { in vector_alignment() argument
26 return componentSize * (columns + columns % 2); in vector_alignment()
/external/skia/src/sksl/
DSkSLMemoryLayout.h25 static size_t vector_alignment(size_t componentSize, int columns) { in vector_alignment() argument
26 return componentSize * (columns + columns % 2); in vector_alignment()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp1299 const deUint32 componentSize = getVertexFormatComponentSize(format); in writeVertexInputValueSint() local
1300 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; in writeVertexInputValueSint()
1302 switch (componentSize) in writeVertexInputValueSint()
1323 const deUint32 componentSize = getVertexFormatComponentSize(format); in writeVertexInputValueUint() local
1324 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; in writeVertexInputValueUint()
1326 switch (componentSize) in writeVertexInputValueUint()
1347 const deUint32 componentSize = getVertexFormatComponentSize(format); in writeVertexInputValueSfloat() local
1348 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; in writeVertexInputValueSfloat()
1350 switch (componentSize) in writeVertexInputValueSfloat()
/external/skia/tools/gpu/gl/debug/
DDebugGLTestContext.cpp182 GrGLint componentSize = 0; // size (in bytes) of a single component in readPixels() local
186 componentSize = 1; in readPixels()
194 if (componentSize >= alignment) { in readPixels()
198 sk_float_ceil(componentSize * componentsPerPixel * pixelsInRow / in readPixels()
200 rowStride = static_cast<GrGLint>(alignment * fTemp / componentSize); in readPixels()
205 memset(scanline, 0, componentsPerPixel * componentSize * width); in readPixels()
/external/skqp/tools/gpu/gl/debug/
DDebugGLTestContext.cpp176 GrGLint componentSize = 0; // size (in bytes) of a single component in readPixels() local
180 componentSize = 1; in readPixels()
188 if (componentSize >= alignment) { in readPixels()
192 sk_float_ceil(componentSize * componentsPerPixel * pixelsInRow / in readPixels()
194 rowStride = static_cast<GrGLint>(alignment * fTemp / componentSize); in readPixels()
199 memset(scanline, 0, componentsPerPixel * componentSize * width); in readPixels()
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp209 auto componentSize = getTypeStoreSize(CGM, componentTy); in addTypedData() local
210 assert(componentSize < end - begin); in addTypedData()
211 addLegalTypedData(componentTy, begin, begin + componentSize); in addTypedData()
212 begin += componentSize; in addTypedData()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_itemlayoutprocessor.cpp136 CFX_SizeF componentSize = currentContainerSize; in CalculateContainerComponentSizeFromContentSize() local
140 componentSize.width = fContentCalculatedWidth; in CalculateContainerComponentSizeFromContentSize()
145 componentSize.width += leftInset->ToUnit(XFA_Unit::Pt); in CalculateContainerComponentSizeFromContentSize()
150 componentSize.width += rightInset->ToUnit(XFA_Unit::Pt); in CalculateContainerComponentSizeFromContentSize()
155 componentSize.height = fContentCalculatedHeight; in CalculateContainerComponentSizeFromContentSize()
160 componentSize.height += topInset->ToUnit(XFA_Unit::Pt); in CalculateContainerComponentSizeFromContentSize()
166 componentSize.height += bottomInset->ToUnit(XFA_Unit::Pt); in CalculateContainerComponentSizeFromContentSize()
169 return componentSize; in CalculateContainerComponentSizeFromContentSize()
/external/deqp/modules/glshared/
DglsLongStressCase.cpp995 const int componentSize = (int)(isFloat ? sizeof(GLfloat) : sizeof(GLint)); in generateRandomAttribData() local
996 …const int offsetInBuf = nextDivisible((int)attrDataBuf.size(), componentSize); // Round up for al… in generateRandomAttribData()
1001 dataSizeBytesDst = numComponents*componentSize*numVertices; in generateRandomAttribData()
DglsDrawTest.cpp1575 const size_t componentSize = sizeof(T); in createBasicArray() local
1576 const size_t elementSize = componentSize * componentCount; in createBasicArray()
1607 …alignmentSafeAssignment(writePtr + componentNdx*componentSize, components[componentNdx].getValue()… in createBasicArray()