Home
last modified time | relevance | path

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

/external/autotest/client/deps/glbench/src/
Dtexturetest.cc86 unsigned int texel_size = kTexelFormatSizes[texel_gl_format_]; in Run() local
102 const unsigned int buffer_size = width_ * height_ * texel_size; in Run()
113 width_, height_, texel_size); in Run()
145 error, width_, height_, texel_size); in Run()
/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.cpp3340 GLuint texel_size = 4; in Get() local
3348 const GLuint image_size = width * height * texel_size; in Get()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c157 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() local
167 texel_size /= bw; in radeon_map_texture_image()
200 *map += y * *stride + x * texel_size; in radeon_map_texture_image()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c157 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image() local
167 texel_size /= bw; in radeon_map_texture_image()
200 *map += y * *stride + x * texel_size; in radeon_map_texture_image()
/external/vulkan-validation-layers/layers/
Dvk_format_utils.cpp1171 double texel_size = static_cast<double>(FormatElementSize(format)); in FormatTexelSize() local
1175 texel_size /= static_cast<double>(texels_per_block); in FormatTexelSize()
1177 return texel_size; in FormatTexelSize()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c618 int texel_size = _mesa_get_format_bytes(format); in brw_update_buffer_texture_surface() local
642 size = MIN2(size, ctx->Const.MaxTextureBufferSize * (unsigned) texel_size); in brw_update_buffer_texture_surface()
653 texel_size, in brw_update_buffer_texture_surface()
1464 const unsigned texel_size = (format == ISL_FORMAT_RAW ? 1 : in update_image_surface() local
1469 format, intel_obj->Base.Size, texel_size, in update_image_surface()
/external/ImageMagick/coders/
Ddds.c2525 int texel_size,ExceptionInfo *exception) in SkipDXTMipmaps() argument
2558 offset=(MagickOffsetType)((w+3)/4)*((h+3)/4)*texel_size; in SkipDXTMipmaps()