Home
last modified time | relevance | path

Searched refs:texSize (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_pixeltransfer.c53 const uint texSize = pt->width0; in load_color_map_texture() local
59 0, 0, texSize, texSize, &transfer); in load_color_map_texture()
67 for (i = 0; i < texSize; i++) { in load_color_map_texture()
68 for (j = 0; j < texSize; j++) { in load_color_map_texture()
70 int k = (i * texSize + j); in load_color_map_texture()
72 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize]; in load_color_map_texture()
73 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; in load_color_map_texture()
74 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize]; in load_color_map_texture()
75 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize]; in load_color_map_texture()
Dst_texture.c410 const uint texSize = 256; /* simple, and usually perfect */ in st_create_color_map_texture() local
419 texSize, texSize, 1, 1, 0, PIPE_BIND_SAMPLER_VIEW); in st_create_color_map_texture()
/external/deqp/modules/gles2/performance/
Des2pTextureUploadTests.cpp79 …nst char* description, UploadFunction uploadFunction, deUint32 format, deUint32 type, int texSize);
104 …onst char* description, UploadFunction uploadFunction, deUint32 format, deUint32 type, int texSize) in TextureUploadCase() argument
109 , m_texSize (texSize) in TextureUploadCase()
295 …nst char* description, UploadFunction uploadFunction, deUint32 format, deUint32 type, int texSize);
302 …onst char* description, UploadFunction uploadFunction, deUint32 format, deUint32 type, int texSize) in TextureUploadCallCase() argument
303 : TextureUploadCase (context, name, description, uploadFunction, format, type, texSize) in TextureUploadCallCase()
385 …nst char* description, UploadFunction uploadFunction, deUint32 format, deUint32 type, int texSize);
396 …onst char* description, UploadFunction uploadFunction, deUint32 format, deUint32 type, int texSize) in TextureUploadAndDrawCase() argument
397 : TextureUploadCase (context, name, description, uploadFunction, format, type, texSize) in TextureUploadAndDrawCase()
541 FOR_EACH(texSize, textureSizes, in init()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cSparseTexture2Tests.cpp1010 GLint texSize = width * height * depth * mState.format.getPixelSize(); in writeDataToTexture() local
1013 vecData.resize(texSize); in writeDataToTexture()
1016 deMemset(data, 255, texSize); in writeDataToTexture()
1110 GLint texSize = width * height * depth * mState.format.getPixelSize(); in verifyTextureData() local
1114 vecExpData.resize(texSize); in verifyTextureData()
1115 vecOutData.resize(texSize); in verifyTextureData()
1119 deMemset(exp_data, 255, texSize); in verifyTextureData()
1120 deMemset(out_data, 127, texSize); in verifyTextureData()
1148 GLint texSize = width * height * mState.format.getPixelSize(); in verifyTextureData() local
1152 vecExpData.resize(texSize); in verifyTextureData()
[all …]
Dgl4cSparseTextureClampTests.cpp308 GLint texSize = width * height; in verifyLookupTextureData() local
312 vecExpData.resize(texSize); in verifyLookupTextureData()
313 vecOutData.resize(texSize); in verifyLookupTextureData()
318 deMemset(exp_data, 255, texSize); in verifyLookupTextureData()
342 deMemset(out_data, 0, texSize); in verifyLookupTextureData()
711 GLint texSize = width * height * depth * mState.format.getPixelSize(); in writeDataToTexture() local
714 vecData.resize(texSize); in writeDataToTexture()
717 deMemset(data, 255, texSize); in writeDataToTexture()
804 GLint texSize = width * height; in verifyLookupTextureData() local
808 vecExpData.resize(texSize); in verifyLookupTextureData()
[all …]
Dgl4cSparseTextureTests.cpp1947 GLint texSize = width * height * depth * mState.format.getPixelSize(); in writeDataToTexture() local
1950 vecData.resize(texSize); in writeDataToTexture()
1953 deMemset(data, 16 + 16 * level, texSize); in writeDataToTexture()
2001 GLint texSize = width * height * depth * mState.format.getPixelSize(); in verifyTextureData() local
2005 vecExpData.resize(texSize); in verifyTextureData()
2006 vecOutData.resize(texSize); in verifyTextureData()
2010 deMemset(exp_data, 16 + 16 * level, texSize); in verifyTextureData()
2011 deMemset(out_data, 255, texSize); in verifyTextureData()
2039 GLint texSize = width * height * mState.format.getPixelSize(); in verifyTextureData() local
2043 vecExpData.resize(texSize); in verifyTextureData()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcTextureFilterAnisotropicTests.cpp579 GLuint texSize = 32 / (l + 1); in fillTexture() local
582 vecData.resize(texSize * texSize * texFormat.getPixelSize() * 2); in fillTexture()
584 tcu::PixelBufferAccess bufferAccess(texFormat, texSize, texSize, 1, vecData.data()); in fillTexture()
586 for (GLuint x = 0; x < texSize; ++x) in fillTexture()
588 for (GLuint y = 0; y < texSize; ++y) in fillTexture()
597 …TextureFilterAnisotropicUtils::texImage(gl, target, l, internalFormat, texSize, texSize, 1, transF… in fillTexture()
/external/deqp/modules/gles31/functional/
Des31fFboColorbufferTests.cpp117 …Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texSize) in FboColorTexCubeArrayCase() argument
119 , m_texSize (texSize) in FboColorTexCubeArrayCase()
121 DE_ASSERT(texSize.z() % 6 == 0); in FboColorTexCubeArrayCase()
Des31fGeometryShaderTests.cpp2922 const tcu::IVec3 texSize = getTargetDimensions(m_target); in initTexture() local
2932 …u::TestLog::Message << "Creating cubemap texture, size = " << texSize.x() << "x" << texSize.y() <<… in initTexture()
2934 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA8, texSize.x(), texSize.y(), 0, transferFo… in initTexture()
2935 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGBA8, texSize.x(), texSize.y(), 0, transferFo… in initTexture()
2936 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGBA8, texSize.x(), texSize.y(), 0, transferFo… in initTexture()
2937 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGBA8, texSize.x(), texSize.y(), 0, transferFo… in initTexture()
2938 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGBA8, texSize.x(), texSize.y(), 0, transferFo… in initTexture()
2939 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGBA8, texSize.x(), texSize.y(), 0, transferFo… in initTexture()
2943 …tLog::Message << "Creating 3d texture, size = " << texSize.x() << "x" << texSize.y() << "x" << tex… in initTexture()
2945 …gl.texImage3D(GL_TEXTURE_3D, 0, GL_RGBA8, texSize.x(), texSize.y(), texSize.z(), 0, transferFormat… in initTexture()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1421 const tcu::UVec3 texSize) in uploadSparseImage() argument
1440 if (isImageSizeSupported(imageCreateInfo.imageType, texSize, deviceProperties.limits) == false) in uploadSparseImage()
1861 tcu::UVec3 texSize; in useSampler() local
1869 texSize = tcu::UVec3(texture.getWidth(), texture.getHeight(), 1u); in useSampler()
1888 texSize = tcu::UVec3(texture.getSize(), texture.getSize(), 1u); in useSampler()
1922 texSize = tcu::UVec3(texture.getWidth(), texture.getHeight(), 1u); in useSampler()
1949 texSize = tcu::UVec3(texture.getWidth(), texture.getHeight(), texture.getDepth()); in useSampler()
1968 texSize = tcu::UVec3(texture.getWidth(), 1, 1); in useSampler()
1987 texSize = tcu::UVec3(texture.getWidth(), 1, 1); in useSampler()
2013 texSize = tcu::UVec3(texture.getSize(), texture.getSize(), 1); in useSampler()
[all …]
DvktShaderRender.hpp584 const tcu::UVec3 texSize);
590 const tcu::UVec3 texSize,
/external/deqp/modules/gles3/functional/
Des3fFboColorbufferTests.cpp326 …Context& context, const char* name, const char* description, deUint32 texFmt, const IVec2& texSize) in FboColorTexCubeCase() argument
328 , m_texSize (texSize) in FboColorTexCubeCase()
475 …Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texSize) in FboColorTex2DArrayCase() argument
477 , m_texSize (texSize) in FboColorTex2DArrayCase()
601 …Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texSize) in FboColorTex3DCase() argument
603 , m_texSize (texSize) in FboColorTex3DCase()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.h78 int texSize[RADEON_NR_TEX_HEAPS]; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.h78 int texSize[RADEON_NR_TEX_HEAPS]; member
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_agl.cc189 GLint texSize; in FrameSizeChange() local
190 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &texSize); in FrameSizeChange()
192 if (texSize < _width || texSize < _height) in FrameSizeChange()
Dvideo_render_nsopengl.mm177 GLint texSize;
178 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &texSize);
180 if (texSize < _width || texSize < _height)