HomeSort by relevance Sort by last modified time
    Searched refs:componentCount (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
copyvertex.h 19 template <typename T, size_t componentCount, uint32_t widenDefaultValueBits>
22 template <size_t componentCount>
25 template <typename T, size_t componentCount, bool normalized>
loadimage.h 147 template <typename type, size_t componentCount>
157 template <size_t componentCount>
  /external/deqp/modules/gles3/stress/
es3sVertexArrayTests.cpp 179 for (int componentCount = 2; componentCount < 5; componentCount++)
186 const int stride = (strides[strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[strideNdx]);
187 const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputTypeSize(m_type));
190 std::string name = Array::storageToString(storages[storageNdx]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + typeToString(counts[countNdx]);
192 if((m_type == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_10) && componentCount != 4)
199 componentCount,
292 const int componentCount = (packed) ? (4) : (2);
293 const int stride = (strides[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[strideNdx])
    [all...]
es3sDrawTests.cpp 245 spec.attribs[0].componentCount = 4;
256 spec.attribs[1].componentCount = 2;
564 attribSpec.componentCount = random.getInt(1, 4);
575 if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.inputType) > attribSpec.stride)
601 if (spec.attribs[0].componentCount == 1)
  /external/icu/icu4c/source/layout/
MarkToLigaturePosnSubtables.cpp 66 le_int32 componentCount = SWAPW(ligatureAttachTable->componentCount);
69 if (component >= componentCount) {
71 component = componentCount - 1;
MarkToLigaturePosnSubtables.h 38 le_uint16 componentCount;
  /external/deqp/modules/gles3/functional/
es3fVertexArrayTest.cpp 176 for (int componentCount = 2; componentCount < 5; componentCount++)
183 const int stride = (strides[strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[strideNdx]);
184 const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputTypeSize(m_type));
187 std::string name = Array::storageToString(storages[storageNdx]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + typeToString(counts[countNdx]);
189 if((m_type == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_10) && componentCount != 4)
196 componentCount,
289 const int componentCount = (packed) ? (4) : (2);
290 const int stride = (strides[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[strideNdx])
    [all...]
es3fVertexArrayObjectTests.cpp 101 int componentCount;
330 case GL_FLOAT: stride = buffer.componentCount * sizeof(GLfloat); break;
331 case GL_INT: stride = buffer.componentCount * sizeof(GLint); break;
332 case GL_UNSIGNED_INT: stride = buffer.componentCount * sizeof(GLuint); break;
333 case GL_SHORT: stride = buffer.componentCount * sizeof(GLshort); break;
334 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * sizeof(GLushort); break;
335 case GL_BYTE: stride = buffer.componentCount * sizeof(GLbyte); break;
336 case GL_UNSIGNED_BYTE: stride = buffer.componentCount * sizeof(GLubyte); break;
349 for (int componentNdx = 0; componentNdx < buffer.componentCount; componentNdx++)
906 case GL_FLOAT: stride = buffer.componentCount * sizeof(GLfloat); break
    [all...]
es3fDrawTests.cpp 122 spec.attribs[0].componentCount = 4;
133 spec.attribs[1].componentCount = 2;
200 spec.attribs[0].componentCount = 2;
235 spec.attribs[0].componentCount = 4;
246 spec.attribs[1].componentCount = 2;
281 spec.attribs[0].componentCount = 4;
293 spec.attribs[1].componentCount = 2;
306 spec.attribs[2].componentCount = 3;
341 spec.attribs[0].componentCount = 2;
352 int componentCount;
    [all...]
  /external/chromium_org/third_party/angle/tests/perf_tests/
BufferSubData.cpp 17 GLfloat *GetFloatData(GLint componentCount)
40 switch (componentCount)
82 GLsizeiptr GetVertexData(GLenum type, GLint componentCount, GLboolean normalized, std::vector<uint8_t> *data)
85 GLfloat *floatData = GetFloatData(componentCount);
89 triDataSize = sizeof(GLfloat) * componentCount * 3;
95 GLsizeiptr numElements = componentCount * 3;
110 GLsizeiptr numElements = componentCount * 3;
  /external/deqp/modules/gles2/stress/
es2sVertexArrayTests.cpp 86 const int componentCount = 2;
87 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[strideNdx]);
93 componentCount,
150 for (int componentCount = 2; componentCount < 5; componentCount++)
156 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[strideNdx]);
163 componentCount,
es2sDrawTests.cpp 64 spec.attribs[0].componentCount = 4;
75 spec.attribs[1].componentCount = 2;
347 attribSpec.componentCount = random.getInt(1, 4);
358 if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.inputType) > attribSpec.stride)
384 if (spec.attribs[0].componentCount == 1)
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
ShaderProgram.java 144 public void setAttributeValues(String attributeName, float[] data, int componentCount) {
145 if (!setShaderAttributeValues(attributeName, data, componentCount)) {
154 int componentCount,
161 componentCount,
291 int componentCount);
296 int componentCount,
  /external/deqp/modules/glshared/
glsVertexArrayTests.cpp     [all...]
glsDrawTest.hpp 188 static AttributeSpec createAttributeArray (InputType inputType, OutputType outputType, Storage storage, Usage usage, int componentCount, int offset, int stride, bool normalize, int instanceDivisor);
189 static AttributeSpec createDefaultAttribute (InputType inputType, OutputType outputType, int componentCount); //!< allowed inputType values: INPUTTYPE_INT, INPUTTYPE_UNSIGNED_INT, INPUTTYPE_FLOAT
195 int componentCount;
glsDrawTest.cpp     [all...]
  /external/deqp/modules/gles2/functional/
es2fVertexArrayTest.cpp 85 const int componentCount = 2;
86 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[strideNdx]);
92 componentCount,
149 for (int componentCount = 2; componentCount < 5; componentCount++)
155 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[strideNdx]);
162 componentCount,
356 for (int componentCount = 2; componentCount < 5; componentCount++
    [all...]
es2fDrawTests.cpp 91 spec.attribs[0].componentCount = 4;
102 spec.attribs[1].componentCount = 2;
164 spec.attribs[0].componentCount = 2;
199 spec.attribs[0].componentCount = 4;
210 spec.attribs[1].componentCount = 2;
245 spec.attribs[0].componentCount = 2;
256 int componentCount;
265 const std::string desc = gls::DrawTestSpec::inputTypeToString(iopairs[ioNdx].input) + de::toString(iopairs[ioNdx].componentCount) + " to " + gls::DrawTestSpec::outputTypeToString(iopairs[ioNdx].output);
271 spec.attribs[1].componentCount = iopairs[ioNdx].componentCount;
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
ImageHeaderParser.java 191 int tagOffset, tagType, formatCode, componentCount;
210 componentCount = segmentData.getInt32(tagOffset + 4);
212 if (componentCount < 0) {
221 + " componentCount=" + componentCount);
224 final int byteCount = componentCount + BYTES_PER_FORMAT[formatCode];
249 //assume componentCount == 1 && fmtCode == 3
  /external/replicaisland/src/com/replica/replicaisland/
LevelBuilder.java 188 final int componentCount = backgroundObject.getCount();
189 for (int x = componentCount - 1; x >= 0; x--) {
  /external/chromium_org/third_party/angle/src/libGLESv2/
formatutils.h 76 GLuint componentCount;
formatutils.cpp 261 componentCount(0),
300 formatInfo.componentCount = ((red > 0) ? 1 : 0) + ((green > 0) ? 1 : 0) + ((blue > 0) ? 1 : 0) + ((alpha > 0) ? 1 : 0);
320 formatInfo.componentCount = ((luminance > 0) ? 1 : 0) + ((alpha > 0) ? 1 : 0);
340 formatInfo.componentCount = ((depthBits > 0) ? 1 : 0) + ((stencilBits > 0) ? 1 : 0);
352 GLuint componentCount, GLenum format, GLenum type, bool srgb,
361 formatInfo.componentCount = componentCount;
    [all...]
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
exif_parser.js 285 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/chromium_org/ui/file_manager/gallery/js/image_editor/
exif_encoder.js 288 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++) {
396 * @param {number} componentCount Number of components in this tag.
397 * @return {{id:number, format:number, componentCount:number}}
400 ExifEncoder.findOrCreateTag = function(directory, id, format, componentCount) {
405 componentCount: componentCount ||
    [all...]
  /external/deqp/modules/gles31/stress/
es31sDrawTests.cpp 484 attribSpec.componentCount = random.getInt(1, 4);
495 if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.inputType) > attribSpec.stride)
521 if (spec.attribs[0].componentCount == 1)

Completed in 1202 milliseconds

1 2