Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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()
1739 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()
8615 const unsigned int texel_size = m_texture_n_components; in getHorizontalGradientData() local
8619 unsigned char* row_data_ptr = result + texel_size * m_texture_width * y; in getHorizontalGradientData()
8624 unsigned char* pixel_data_ptr = row_data_ptr + texel_size * x; in getHorizontalGradientData()
Dgl4cShadingLanguage420PackTests.cpp18656 GLuint texel_size = 4; in get() local
18664 const GLuint image_size = width * height * texel_size; in get()
Dgl4cEnhancedLayoutsTests.cpp3399 GLuint texel_size = 4; in Get() local
3407 const GLuint image_size = width * height * texel_size; in Get()
/third_party/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()
/third_party/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()
/third_party/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()
701 int texel_size = _mesa_get_format_bytes(format); in brw_update_buffer_texture_surface() local
721 texel_size, in brw_update_buffer_texture_surface()
1539 const unsigned texel_size = (format == ISL_FORMAT_RAW ? 1 : in update_image_surface() local
1548 format, buffer_size, texel_size, in update_image_surface()