/external/deqp/framework/opengl/ |
H A D | gluShaderUtil.hpp | 196 const char* getDataTypeName (DataType dataType); 197 int getDataTypeScalarSize (DataType dataType); 198 DataType getDataTypeScalarType (DataType dataType); 199 DataType getDataTypeFloatScalars (DataType dataType); 208 inline bool isDataTypeFloatOrVec (DataType dataType) { return (dataType >= TYPE_FLOAT) && (dataType <= TYPE_FLOAT_VEC4); } argument 209 inline bool isDataTypeMatrix (DataType dataType) { return (dataType >= TYPE_FLOAT_MAT2) && (dataType < argument 210 isDataTypeIntOrIVec(DataType dataType) argument 211 isDataTypeUintOrUVec(DataType dataType) argument 212 isDataTypeBoolOrBVec(DataType dataType) argument 213 isDataTypeScalar(DataType dataType) argument 214 isDataTypeVector(DataType dataType) argument 215 isDataTypeScalarOrVector(DataType dataType) argument 216 isDataTypeSampler(DataType dataType) argument 217 isDataTypeImage(DataType dataType) argument 218 isDataTypeSamplerMultisample(DataType dataType) argument 219 isDataTypeAtomicCounter(DataType dataType) argument 220 isDataTypeSamplerBuffer(DataType dataType) argument 221 isDataTypeSamplerMSArray(DataType dataType) argument 222 isDataTypeImageBuffer(DataType dataType) argument [all...] |
H A D | gluShaderUtil.cpp | 177 const char* getDataTypeName (DataType dataType) argument 261 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_names))); 262 return s_names[(int)dataType]; 265 int getDataTypeScalarSize (DataType dataType) argument 349 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_sizes))); 350 return s_sizes[(int)dataType]; 353 DataType getDataTypeScalarType (DataType dataType) argument 437 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_scalarTypes))); 438 return s_scalarTypes[(int)dataType]; 441 DataType getDataTypeFloatScalars (DataType dataType) argument 570 getDataTypeMatrixNumRows(DataType dataType) argument 589 getDataTypeMatrixNumColumns(DataType dataType) argument 608 getDataTypeNumLocations(DataType dataType) argument 619 getDataTypeNumComponents(DataType dataType) argument [all...] |
H A D | gluTextureUtil.hpp | 45 deUint32 dataType; //!< Data type. member in struct:glu::TransferFormat 49 , dataType (0) 55 , dataType (dataType_) 60 tcu::TextureFormat mapGLTransferFormat (deUint32 format, deUint32 dataType);
|
H A D | gluPixelTransfer.cpp | 61 gl.readPixels(x, y, width, height, format.format, format.dataType, dst.getDataPtr()); 80 gl.texImage2D(target, level, internalFormat, width, height, 0, format.format, format.dataType, src.getDataPtr()); 100 gl.texImage3D(target, level, internalFormat, width, height, depth, 0, format.format, format.dataType, src.getDataPtr()); 119 gl.texSubImage2D(target, level, x, y, width, height, format.format, format.dataType, src.getDataPtr()); 139 gl.texSubImage3D(target, level, x, y, z, width, height, depth, format.format, format.dataType, src.getDataPtr());
|
H A D | gluTexture.hpp | 46 Texture1D (const RenderContext& context, deUint32 format, deUint32 dataType, int width); 73 Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height); 113 TextureCube (const RenderContext& context, deUint32 format, deUint32 dataType, int size); 148 Texture2DArray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int numLayers); 182 Texture1DArray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int numLayers); 211 Texture3D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int depth); 244 TextureCubeArray (const RenderContext& context, deUint32 format, deUint32 dataType, int size, int numLayers);
|
H A D | gluTexture.cpp | 52 Texture1D::Texture1D (const RenderContext& context, deUint32 format, deUint32 dataType, int width) argument 55 , m_refTexture (mapGLTransferFormat(format, dataType), width) 97 gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); 105 Texture2D::Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height) argument 109 , m_refTexture (mapGLTransferFormat(format, dataType), width, height) 181 gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); 316 TextureCube::TextureCube (const RenderContext& context, deUint32 format, deUint32 dataType, int size) argument 320 , m_refTexture (mapGLTransferFormat(format, dataType), size) 368 gl.texImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); 441 Texture1DArray::Texture1DArray (const RenderContext& context, deUint32 format, deUint32 dataType, in argument 495 Texture2DArray(const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int numLevels) argument 611 Texture3D(const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int depth) argument 736 TextureCubeArray(const RenderContext& context, deUint32 format, deUint32 dataType, int size, int numLayers) argument [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pTextureCountTests.cpp | 56 deUint32 dataType; member in struct:deqp::gles2::Performance::__anon4270 71 deUint32 dataType = texFormats[formatNdx].dataType; local 78 string description = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); 80 addChild(new Texture2DRenderCase(m_context, name.c_str(), description.c_str(), format, dataType, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */));
|
H A D | es2pTextureFormatTests.cpp | 54 deUint32 dataType; member in struct:deqp::gles2::Performance::__anon4273 70 deUint32 dataType = texFormats[formatNdx].dataType; local 77 string descriptionBase = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); 79 addChild(new Texture2DRenderCase(m_context, nameBase.c_str(), descriptionBase.c_str(), format, dataType, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */));
|
H A D | es2pTextureFilteringTests.cpp | 54 deUint32 dataType; member in struct:deqp::gles2::Performance::__anon4271 85 deUint32 dataType = texFormats[formatNdx].dataType; local 94 addChild(new Texture2DRenderCase(m_context, name.c_str(), "", format, dataType, wrapS, wrapT, minFilter, magFilter, minify ? minTransform : magTransform, numTextures, true /* pot */));
|
H A D | es2pTextureCases.hpp | 43 deUint32 format, deUint32 dataType,
|
/external/deqp/modules/gles2/scripts/ |
H A D | gen-swizzles.py | 107 for (inputType, dataType, precision) in combinations.iterate(): 108 scalarSize = getDataTypeScalarSize(dataType) 109 print inputType, precision, dataType 167 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): 170 self.dataType = dataType 251 for dataType in VECTOR_TYPES: 252 scalarSize = getDataTypeScalarSize(dataType) 257 #print "%s %s .%s" % (precision, dataType, swizzle) 258 caseName = "%s_%s_%s" % (precision, dataType, swizzl [all...] |
/external/deqp/modules/gles3/scripts/ |
H A D | gen-swizzles.py | 107 for (inputType, dataType, precision) in combinations.iterate(): 108 scalarSize = getDataTypeScalarSize(dataType) 109 print inputType, precision, dataType 171 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): 174 self.dataType = dataType 255 for dataType in VECTOR_TYPES: 256 scalarSize = getDataTypeScalarSize(dataType) 261 #print "%s %s .%s" % (precision, dataType, swizzle) 262 caseName = "%s_%s_%s" % (precision, dataType, swizzl [all...] |
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrContext.cpp | 45 deUint32 dataType = GL_NONE; local 55 dataType = GL_UNSIGNED_BYTE; 62 dataType = transferFmt.dataType; 67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureSpecificationTests.cpp | 616 BasicTexImage2DCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 617 : TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType), flags, width, height) 619 , m_dataType (dataType) 658 BasicTexImageCubeCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 659 : TextureSpecCase (context, name, desc, TEXTURETYPE_CUBE, glu::mapGLTransferFormat(format, dataType), flags, width, height) 661 , m_dataType (dataType) 707 RandomOrderTexImage2DCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 708 : TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType), flags, width, height) 710 , m_dataType (dataType) 756 RandomOrderTexImageCubeCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint3 argument 817 TexImage2DAlignCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height, int alignment) argument 862 TexImageCubeAlignCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height, int alignment) argument 910 BasicTexSubImage2DCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 974 BasicTexSubImageCubeCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 1047 TexSubImage2DEmptyTexCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 1099 TexSubImageCubeEmptyTexCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 1159 TexSubImage2DAlignCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, int width, int height, int subX, int subY, int subW, int subH, int alignment) argument 1210 TexSubImageCubeAlignCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, int width, int height, int subX, int subY, int subW, int subH, int alignment) argument 1371 BasicCopyTexSubImage2DCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 1446 BasicCopyTexSubImageCubeCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) argument 1539 deUint32 dataType; member in struct:deqp::gles2::Functional::__anon4236 1560 deUint32 dataType = texFormats[formatNdx].dataType; local 1647 deUint32 dataType = texFormats[formatNdx].dataType; local 1665 deUint32 dataType = texFormats[formatNdx].dataType; local [all...] |
H A D | es2fTextureSizeTests.cpp | 53 Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 76 Texture2DSizeCase::Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) argument 80 , m_dataType (dataType) 168 TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 196 TextureCubeSizeCase::TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) argument 200 , m_dataType (dataType) 364 deUint32 dataType; member in struct:deqp::gles2::Functional::__anon4235 390 formats[formatNdx].format, formats[formatNdx].dataType, 413 formats[formatNdx].format, formats[formatNdx].dataType,
|
H A D | es2fShaderIndexingTests.cpp | 113 static ShaderEvalFunc getArrayCoordsEvalFunc (DataType dataType) argument 115 if (dataType == TYPE_FLOAT) return evalArrayCoordsFloat; 116 else if (dataType == TYPE_FLOAT_VEC2) return evalArrayCoordsVec2; 117 else if (dataType == TYPE_FLOAT_VEC3) return evalArrayCoordsVec3; 118 else if (dataType == TYPE_FLOAT_VEC4) return evalArrayCoordsVec4; 129 static ShaderEvalFunc getArrayUniformEvalFunc (DataType dataType) argument 131 if (dataType == TYPE_FLOAT) return evalArrayUniformFloat; 132 else if (dataType == TYPE_FLOAT_VEC2) return evalArrayUniformVec2; 133 else if (dataType == TYPE_FLOAT_VEC3) return evalArrayUniformVec3; 134 else if (dataType 638 getVectorSubscriptEvalFunc(DataType dataType) argument 824 getMatrixSubscriptEvalFunc(DataType dataType) argument [all...] |
H A D | es2fShaderMatrixTests.cpp | 114 , dataType (dataType_) 120 DataType dataType; member in struct:deqp::gles2::Functional::MatrixCaseUtils::ShaderInput 654 switch (PACK_EVAL_CASE(op, in0Type, in0.dataType, in1Type, in1.dataType)) 775 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; 776 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; 791 if (isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) 793 DE_ASSERT(m_in0.dataType == m_in1.dataType); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderMatrixTests.cpp | 214 , dataType (dataType_) 220 DataType dataType; member in struct:vkt::sr::__anon3901::MatrixCaseUtils::ShaderInput 1186 switch (PACK_EVAL_CASE(op, in0.dataType, in1.dataType)) 1379 BaseAttributeType getAttributeType(const glu::DataType dataType) argument 1381 switch(dataType) 1415 void addMatrixUniform (deUint32 bindingLocation, DataType dataType, const float* dataPtr); 1487 if (in.inputType == INPUTTYPE_DYNAMIC && isDataTypeMatrix(in.dataType)) 1489 useAttribute(4u + inNdx, getAttributeType(in.dataType)); 1499 void ShaderMatrixInstance::addMatrixUniform(deUint32 bindingLocation, DataType dataType, cons argument [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureSizeTests.cpp | 53 Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 76 Texture2DSizeCase::Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) argument 80 , m_dataType (dataType) 168 TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 196 TextureCubeSizeCase::TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) argument 200 , m_dataType (dataType) 364 deUint32 dataType; member in struct:deqp::gles3::Functional::__anon4417 390 formats[formatNdx].format, formats[formatNdx].dataType, 413 formats[formatNdx].format, formats[formatNdx].dataType,
|
H A D | es3fShaderIndexingTests.cpp | 106 static ShaderEvalFunc getArrayCoordsEvalFunc (DataType dataType) argument 108 if (dataType == TYPE_FLOAT) return evalArrayCoordsFloat; 109 else if (dataType == TYPE_FLOAT_VEC2) return evalArrayCoordsVec2; 110 else if (dataType == TYPE_FLOAT_VEC3) return evalArrayCoordsVec3; 111 else if (dataType == TYPE_FLOAT_VEC4) return evalArrayCoordsVec4; 122 static ShaderEvalFunc getArrayUniformEvalFunc (DataType dataType) argument 124 if (dataType == TYPE_FLOAT) return evalArrayUniformFloat; 125 else if (dataType == TYPE_FLOAT_VEC2) return evalArrayUniformVec2; 126 else if (dataType == TYPE_FLOAT_VEC3) return evalArrayUniformVec3; 127 else if (dataType 592 getVectorSubscriptEvalFunc(DataType dataType) argument 782 getMatrixSubscriptEvalFunc(DataType dataType) argument [all...] |
H A D | es3fTextureSwizzleTests.cpp | 79 Texture2DSwizzleCase (Context& context, const char* name, const char* description, deUint32 internalFormat, deUint32 format, deUint32 dataType, deUint32 swizzleR, deUint32 swizzleG, deUint32 swizzleB, deUint32 swizzleA); 102 Texture2DSwizzleCase::Texture2DSwizzleCase (Context& context, const char* name, const char* description, deUint32 internalFormat, deUint32 format, deUint32 dataType, deUint32 swizzleR, deUint32 swizzleG, deUint32 swizzleB, deUint32 swizzleA) argument 106 , m_dataType (dataType) 240 deUint32 dataType; member in struct:deqp::gles3::Functional::__anon4436 335 deUint32 dataType = formats[fmtNdx].dataType; local 337 multiChannelGroup->addChild(new Texture2DSwizzleCase(m_context, name.c_str(), "Multi-channel swizzle", intFormat, format, dataType, swzR, swzG, swzB, swzA));
|
H A D | es3fDefaultVertexAttributeTests.cpp | 241 AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType); 244 static AttributeCase* create (Context& ctx, glu::DataType dataType); 274 AttributeCase::AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType) argument 279 , m_dataType (dataType) 289 AttributeCase* AttributeCase::create (Context& ctx, glu::DataType dataType) argument 297 dataType); 567 glu::DataType dataType; member in struct:deqp::gles3::Functional::Target 611 #define ADD_CASE(X) group->addChild(AttributeCase::create<X>(m_context, floatTargets[targetNdx].dataType)) 636 #define ADD_CASE(X) group->addChild(AttributeCase::create<X>(m_context, intTargets[targetNdx].dataType)) 652 #define ADD_CASE(X) group->addChild(AttributeCase::create<X>(m_context, uintTargets[targetNdx].dataType)) [all...] |
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
H A D | root_list.js | 27 dataType: 'text', 97 dataType: 'text',
|
/external/aac/libSYS/include/ |
H A D | wav_file.h | 151 char dataType[4]; member in struct:WAV_HEADER
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/crcmod/ |
H A D | crcmod.py | 181 def generateCode(self, functionName, out, dataType=None, crcType=None): 189 dataType -- An optional parameter specifying the data type of the input 196 if dataType is None: 197 dataType = 'UINT8' 256 'dataType' : dataType, 259 'crcAlgor' : crcAlgor % dataType, 458 %(name)s(%(dataType)s *data, int len, %(crcType)s crc)
|