Home
last modified time | relevance | path

Searched refs:componentCount (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Dcopyvertex.h16 template <typename T, unsigned int componentCount, unsigned int widenDefaultValueBits>
19 const unsigned int attribSize = sizeof(T) * componentCount; in copyVertexData()
29 unsigned int outputStride = widen ? 4 : componentCount; in copyVertexData()
36 for (unsigned int j = 0; j < componentCount; j++) in copyVertexData()
49 template <unsigned int componentCount>
57 float* offsetOutput = reinterpret_cast<float*>(output) + i * componentCount; in copyFixedVertexData()
59 for (unsigned int j = 0; j < componentCount; j++) in copyFixedVertexData()
66 template <typename T, unsigned int componentCount, bool normalized>
74 float *offsetOutput = reinterpret_cast<float*>(output) + i * componentCount; in copyToFloatVertexData()
76 for (unsigned int j = 0; j < componentCount; j++) in copyToFloatVertexData()
[all …]
Dloadimage.h193 template <typename type, unsigned int componentCount>
198 const unsigned int rowSize = width * sizeof(type) * componentCount; in loadToNative()
225 memcpy(dest, source, width * sizeof(type) * componentCount); in loadToNative()
260 template <unsigned int componentCount>
268 const int elementWidth = componentCount * width; in loadFloatDataToHalfFloat()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayTest.cpp176 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local
183 …strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init()
184 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init()
187 …]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + … in init()
189 …TTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_10) && componentCount != 4) in init()
196 componentCount, in init()
289 const int componentCount = (packed) ? (4) : (2); in init() local
290 …[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init()
291 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init()
299 componentCount, in init()
[all …]
Des3fDrawTests.cpp122 spec.attribs[0].componentCount = 4; in genBasicSpec()
133 spec.attribs[1].componentCount = 2; in genBasicSpec()
200 spec.attribs[0].componentCount = 2; in init()
235 spec.attribs[0].componentCount = 4; in init()
246 spec.attribs[1].componentCount = 2; in init()
281 spec.attribs[0].componentCount = 4; in init()
293 spec.attribs[1].componentCount = 2; in init()
306 spec.attribs[2].componentCount = 3; in init()
341 spec.attribs[0].componentCount = 2; in init()
352 int componentCount; in init() member
[all …]
Des3fVertexArrayObjectTests.cpp101 int componentCount; member
330 case GL_FLOAT: stride = buffer.componentCount * sizeof(GLfloat); break; in createRandomBufferData()
331 case GL_INT: stride = buffer.componentCount * sizeof(GLint); break; in createRandomBufferData()
332 case GL_UNSIGNED_INT: stride = buffer.componentCount * sizeof(GLuint); break; in createRandomBufferData()
333 case GL_SHORT: stride = buffer.componentCount * sizeof(GLshort); break; in createRandomBufferData()
334 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * sizeof(GLushort); break; in createRandomBufferData()
335 case GL_BYTE: stride = buffer.componentCount * sizeof(GLbyte); break; in createRandomBufferData()
336 case GL_UNSIGNED_BYTE: stride = buffer.componentCount * sizeof(GLubyte); break; in createRandomBufferData()
349 for (int componentNdx = 0; componentNdx < buffer.componentCount; componentNdx++) in createRandomBufferData()
906 case GL_FLOAT: stride = buffer.componentCount * sizeof(GLfloat); break; in createRandomBufferData()
[all …]
/external/deqp/modules/gles3/stress/
Des3sVertexArrayTests.cpp179 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local
186 …strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init()
187 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init()
190 …]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + … in init()
192 …TTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_10) && componentCount != 4) in init()
199 componentCount, in init()
292 const int componentCount = (packed) ? (4) : (2); in init() local
293 …[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init()
294 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init()
302 componentCount, in init()
[all …]
Des3sDrawTests.cpp245 spec.attribs[0].componentCount = 4; in genBasicSpec()
256 spec.attribs[1].componentCount = 2; in genBasicSpec()
564 attribSpec.componentCount = random.getInt(1, 4); in init()
575 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init()
601 if (spec.attribs[0].componentCount == 1) in init()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1342 …static char* generateArray (int seed, GLValue min, GLValue max, int count, int componentCount, i…
1343 …static char* generateQuads (int seed, int count, int componentCount, int offset, int stride, Arr…
1344 …static char* generatePerQuad (int seed, int count, int componentCount, int stride, Array::Primit…
1348 …static char* createQuads (int seed, int count, int componentCount, int offset, int stride, Array:…
1350 …static char* createPerQuads (int seed, int count, int componentCount, int stride, Array::Primitive…
1351 …static char* createQuadsPacked (int seed, int count, int componentCount, int offset, int stride, A…
1425 …r::generateArray (int seed, GLValue min, GLValue max, int count, int componentCount, int stride, A… in generateArray() argument
1433 stride = componentCount * Array::inputTypeSize(type); in generateArray()
1439 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in generateArray()
1448 char* RandomArrayGenerator::generateQuads (int seed, int count, int componentCount, int offset, int… in generateQuads() argument
[all …]
DglsDrawTest.cpp1547 …static char* generateArray (int seed, int elementCount, int componentCount, int offset, int st…
1556 …static char* generateBasicArray (int seed, int elementCount, int componentCount, int offset, in…
1558 …static char* createBasicArray (int seed, int elementCount, int componentCount, int offset, int …
1559 …static char* generatePackedArray (int seed, int elementCount, int componentCount, int offset, i…
1626 char* RandomArrayGenerator::generateArray (int seed, int elementCount, int componentCount, int offs… in generateArray() argument
1629 return generatePackedArray(seed, elementCount, componentCount, offset, stride); in generateArray()
1631 return generateBasicArray(seed, elementCount, componentCount, offset, stride, type); in generateArray()
1634 char* RandomArrayGenerator::generateBasicArray (int seed, int elementCount, int componentCount, int… in generateBasicArray() argument
1638 …return createBasicArray<float, GLValue::Float> (seed, elementCount, componentCount, offset, strid… in generateBasicArray()
1639 …eturn createBasicArray<double, GLValue::Double>(seed, elementCount, componentCount, offset, strid… in generateBasicArray()
[all …]
DglsDrawTest.hpp188 … inputType, OutputType outputType, Storage storage, Usage usage, int componentCount, int offset, i…
189 …ateDefaultAttribute (InputType inputType, OutputType outputType, int componentCount); //!< allowed…
195 int componentCount; member
DglsVertexArrayTests.hpp424 int componentCount; member in deqp::gls::MultiVertexArrayTest::Spec::ArraySpec
/external/deqp/modules/gles2/functional/
Des2fVertexArrayTest.cpp85 const int componentCount = 2; in init() local
86 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init()
92 componentCount, in init()
149 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local
155 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init()
162 componentCount, in init()
356 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local
364 componentCount, in init()
421 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local
429 componentCount, in init()
[all …]
Des2fDrawTests.cpp91 spec.attribs[0].componentCount = 4; in genBasicSpec()
102 spec.attribs[1].componentCount = 2; in genBasicSpec()
164 spec.attribs[0].componentCount = 2; in init()
199 spec.attribs[0].componentCount = 4; in init()
210 spec.attribs[1].componentCount = 2; in init()
245 spec.attribs[0].componentCount = 2; in init()
256 int componentCount; in init() member
265 …nputTypeToString(iopairs[ioNdx].input) + de::toString(iopairs[ioNdx].componentCount) + " to " + gl… in init()
271 spec.attribs[1].componentCount = iopairs[ioNdx].componentCount; in init()
624 attribSpec.componentCount = random.getInt(1, 4); in init()
[all …]
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
Dexif_parser.js285 tag.componentCount = br.readScalar(4);
304 tag.format + ', size ' + tag.componentCount + '*' + size + ' ' +
314 var totalSize = tag.componentCount * size;
317 tag.componentCount = 1;
328 if (tag.componentCount == 1) {
333 for (var i = 0; i < tag.componentCount; i++)
355 if (tag.componentCount == 0) {
357 } else if (tag.componentCount == 1) {
/external/icu/icu4c/source/layout/
DMarkToLigaturePosnSubtables.cpp66 le_int32 componentCount = SWAPW(ligatureAttachTable->componentCount); in process() local
69 if (component >= componentCount) { in process()
71 component = componentCount - 1; in process()
DMarkToLigaturePosnSubtables.h38 le_uint16 componentCount; member
/external/deqp/modules/gles2/stress/
Des2sVertexArrayTests.cpp86 const int componentCount = 2; in init() local
87 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init()
93 componentCount, in init()
150 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local
156 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init()
163 componentCount, in init()
Des2sDrawTests.cpp64 spec.attribs[0].componentCount = 4; in genBasicSpec()
75 spec.attribs[1].componentCount = 2; in genBasicSpec()
347 attribSpec.componentCount = random.getInt(1, 4); in init()
358 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init()
384 if (spec.attribs[0].componentCount == 1) in init()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/
Dexif_encoder.js288 bw.writeScalar(tag.componentCount, 4);
290 var width = ExifEncoder.getComponentWidth(tag) * tag.componentCount;
294 if (tag.componentCount != 1 || width > 4)
363 if (tag.componentCount != tag.value.length) {
381 if (tag.componentCount == 1) {
384 for (var i = 0; i != tag.componentCount; i++) {
400 ExifEncoder.findOrCreateTag = function(directory, id, format, componentCount) { argument
405 componentCount: componentCount || 1 property
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
Dexif_encoder.js288 bw.writeScalar(tag.componentCount, 4);
290 var width = ExifEncoder.getComponentWidth(tag) * tag.componentCount;
294 if (tag.componentCount != 1 || width > 4)
363 if (tag.componentCount != tag.value.length) {
381 if (tag.componentCount == 1) {
384 for (var i = 0; i != tag.componentCount; i++) {
400 ExifEncoder.findOrCreateTag = function(directory, id, format, componentCount) { argument
405 componentCount: componentCount || 1 property
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java191 int tagOffset, tagType, formatCode, componentCount; in parseExifSegment() local
210 componentCount = segmentData.getInt32(tagOffset + 4); in parseExifSegment()
212 if (componentCount < 0) { in parseExifSegment()
221 + " componentCount=" + componentCount); in parseExifSegment()
224 final int byteCount = componentCount + BYTES_PER_FORMAT[formatCode]; in parseExifSegment()
/external/replicaisland/src/com/replica/replicaisland/
DLevelBuilder.java188 final int componentCount = backgroundObject.getCount(); in promoteForegroundLayer() local
189 for (int x = componentCount - 1; x >= 0; x--) { in promoteForegroundLayer()
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp204 spec.attribs[0].componentCount = 4; in genBasicSpec()
215 spec.attribs[1].componentCount = 2; in genBasicSpec()
286 spec.attribs[0].componentCount = 2; in init()
322 spec.attribs[0].componentCount = 4; in init()
333 spec.attribs[1].componentCount = 2; in init()
369 spec.attribs[0].componentCount = 4; in init()
381 spec.attribs[1].componentCount = 2; in init()
394 spec.attribs[2].componentCount = 3; in init()
430 spec.attribs[0].componentCount = 2; in init()
441 int componentCount; in init() member
[all …]
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp484 attribSpec.componentCount = random.getInt(1, 4); in init()
495 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init()
521 if (spec.attribs[0].componentCount == 1) in init()
/external/chromium_org/third_party/angle/src/libGLESv2/
DDynamicHLSL.cpp43 std::string HLSLComponentTypeString(GLenum componentType, int componentCount) in HLSLComponentTypeString() argument
45 return HLSLComponentTypeString(componentType) + (componentCount > 1 ? Str(componentCount) : ""); in HLSLComponentTypeString()

12