Home
last modified time | relevance | path

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

/external/deqp/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.cpp1652 size_t texel_size = 0; in calculate_expected_value() local
1663 texel_size = 1; in calculate_expected_value()
1671 texel_size = 1; in calculate_expected_value()
1681 texel_size = 2; in calculate_expected_value()
1689 texel_size = 2; in calculate_expected_value()
1694 texel_size = 2; in calculate_expected_value()
1706 texel_size = 4; in calculate_expected_value()
1714 texel_size = 4; in calculate_expected_value()
1719 texel_size = 4; in calculate_expected_value()
1740 memcpy(out_expected_data_top, expected_data, texel_size); in calculate_expected_value()
[all …]
Dgl4cTextureViewTests.cpp1805 unsigned int texel_size = 0; in getTextureDataSize() local
1830 texel_size = type_rgba_size[0] + type_rgba_size[1] + type_rgba_size[2] + type_rgba_size[3]; in getTextureDataSize()
1834 DE_ASSERT((texel_size % 8) == 0); in getTextureDataSize()
1836 texel_size /= 8; /* bits per byte */ in getTextureDataSize()
1838 return texel_size * width * height; in getTextureDataSize()
8617 const unsigned int texel_size = m_texture_n_components; in getHorizontalGradientData() local
8621 unsigned char* row_data_ptr = result + texel_size * m_texture_width * y; in getHorizontalGradientData()
8626 unsigned char* pixel_data_ptr = row_data_ptr + texel_size * x; in getHorizontalGradientData()
Dgl4cShadingLanguage420PackTests.cpp18715 GLuint texel_size = 4; in get() local
18723 const GLuint image_size = width * height * texel_size; in get()
Dgl4cEnhancedLayoutsTests.cpp3397 GLuint texel_size = 4; in Get() local
3405 const GLuint image_size = width * height * texel_size; in Get()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c156 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() local
166 texel_size /= bw; in radeon_map_texture_image()
199 *map += y * *stride + x * texel_size; in radeon_map_texture_image()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c156 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() local
166 texel_size /= bw; in radeon_map_texture_image()
199 *map += y * *stride + x * texel_size; in radeon_map_texture_image()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c657 const unsigned texel_size = _mesa_get_format_bytes(obj->_BufferObjectFormat); in buffer_texture_range_size() local
680 brw->ctx.Const.MaxTextureBufferSize * texel_size); in buffer_texture_range_size()
696 int texel_size = _mesa_get_format_bytes(format); in brw_update_buffer_texture_surface() local
711 texel_size, in brw_update_buffer_texture_surface()
1529 const unsigned texel_size = (format == ISL_FORMAT_RAW ? 1 : in update_image_surface() local
1538 format, buffer_size, texel_size, in update_image_surface()
/external/vulkan-validation-layers/layers/
Dvk_format_utils.cpp1189 double texel_size = static_cast<double>(FormatElementSize(format)); in FormatTexelSize() local
1193 texel_size /= static_cast<double>(texels_per_block); in FormatTexelSize()
1195 return texel_size; in FormatTexelSize()
/external/ImageMagick/coders/
Ddds.c1353 int texel_size,ExceptionInfo *exception) in SkipDXTMipmaps() argument
1386 offset=(MagickOffsetType)((w+3)/4)*((h+3)/4)*texel_size; in SkipDXTMipmaps()