Home
last modified time | relevance | path

Searched refs:texFormat (Results 1 – 25 of 59) sorted by relevance

123

/external/mesa3d/src/mesa/main/
Dtexparam.c994 gl_format texFormat; in get_tex_level_parameter_image() local
1006 texFormat = img->TexFormat; in get_tex_level_parameter_image()
1019 if (_mesa_is_format_compressed(texFormat)) { in get_tex_level_parameter_image()
1021 *params = _mesa_compressed_format_to_glenum(ctx, texFormat); in get_tex_level_parameter_image()
1050 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1057 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1060 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1062 _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1073 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1079 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
[all …]
Dtexstorage.c133 gl_format texFormat; in setup_texstorage() local
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in setup_texstorage()
161 0, internalFormat, texFormat); in setup_texstorage()
Dtexgetimage.c229 const gl_format texFormat = in get_tex_rgba_compressed() local
231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_rgba_compressed()
258 _mesa_decompress_image(texFormat, width, height, in get_tex_rgba_compressed()
323 const gl_format texFormat = in get_tex_rgba_uncompressed() local
388 _mesa_unpack_uint_rgba_row(texFormat, width, src, rgba_uint); in get_tex_rgba_uncompressed()
401 _mesa_unpack_rgba_row(texFormat, width, src, rgba); in get_tex_rgba_uncompressed()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dtexparam.c994 gl_format texFormat; in get_tex_level_parameter_image() local
1006 texFormat = img->TexFormat; in get_tex_level_parameter_image()
1019 if (_mesa_is_format_compressed(texFormat)) { in get_tex_level_parameter_image()
1021 *params = _mesa_compressed_format_to_glenum(ctx, texFormat); in get_tex_level_parameter_image()
1050 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1057 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1060 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1062 _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1073 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1079 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
[all …]
Dtexstorage.c133 gl_format texFormat; in setup_texstorage() local
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in setup_texstorage()
161 0, internalFormat, texFormat); in setup_texstorage()
Dtexgetimage.c229 const gl_format texFormat = in get_tex_rgba_compressed() local
231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_rgba_compressed()
258 _mesa_decompress_image(texFormat, width, height, in get_tex_rgba_compressed()
323 const gl_format texFormat = in get_tex_rgba_uncompressed() local
388 _mesa_unpack_uint_rgba_row(texFormat, width, src, rgba_uint); in get_tex_rgba_uncompressed()
401 _mesa_unpack_rgba_row(texFormat, width, src, rgba); in get_tex_rgba_uncompressed()
/external/deqp/modules/gles3/performance/
Des3pTextureCases.cpp95 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(m_internalFormat); in init() local
96 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in init()
97 const glu::Precision samplerPrec = (texFormat.type == tcu::TextureFormat::FLOAT || in init()
98 texFormat.type == tcu::TextureFormat::UNSIGNED_INT32 || in init()
99 texFormat.type == tcu::TextureFormat::SIGNED_INT32) in init()
101 const glu::DataType samplerType = glu::getSampler2DType(texFormat); in init()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c108 gl_format texFormat; in st_bind_surface() local
125 texFormat = st_pipe_format_to_mesa_format(ps->format); in st_bind_surface()
129 texFormat); in st_bind_surface()
Dst_atom_texture.c221 const gl_format texFormat = firstImage->base.TexFormat; in update_single_texture() local
223 st_mesa_format_to_pipe_format(texFormat); in update_single_texture()
226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) { in update_single_texture()
231 _mesa_get_srgb_format_linear(texFormat); in update_single_texture()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_cb_eglimage.c108 gl_format texFormat; in st_bind_surface() local
125 texFormat = st_pipe_format_to_mesa_format(ps->format); in st_bind_surface()
129 texFormat); in st_bind_surface()
Dst_atom_texture.c221 const gl_format texFormat = firstImage->base.TexFormat; in update_single_texture() local
223 st_mesa_format_to_pipe_format(texFormat); in update_single_texture()
226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) { in update_single_texture()
231 _mesa_get_srgb_format_linear(texFormat); in update_single_texture()
Dst_cb_drawpixels.c463 enum pipe_format texFormat) in alloc_texture() argument
467 pt = st_texture_create(st, st->internal_target, texFormat, 0, in alloc_texture()
1428 enum pipe_format srcFormat, texFormat; in st_CopyPixels() local
1504 texFormat = srcFormat; in st_CopyPixels()
1509 texFormat = st_choose_format(screen, GL_DEPTH_COMPONENT, in st_CopyPixels()
1512 assert(texFormat != PIPE_FORMAT_NONE); in st_CopyPixels()
1516 texFormat = st_choose_format(screen, GL_RGBA, in st_CopyPixels()
1519 assert(texFormat != PIPE_FORMAT_NONE); in st_CopyPixels()
1552 pt = alloc_texture(st, width, height, texFormat); in st_CopyPixels()
1564 if (srcFormat == texFormat) { in st_CopyPixels()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
DTextureStorage9.cpp112 d3d9::MakeValidSize(false, d3dFormatInfo.texFormat, &width, &height, &mTopLevel); in TextureStorage9_2D()
115 …>CreateTexture(width, height, creationLevels, getUsage(), d3dFormatInfo.texFormat, getPool(), &mTe… in TextureStorage9_2D()
219 d3d9::MakeValidSize(false, d3dFormatInfo.texFormat, &size, &height, &mTopLevel); in TextureStorage9_Cube()
222 …vice->CreateCubeTexture(size, creationLevels, getUsage(), d3dFormatInfo.texFormat, getPool(), &mTe… in TextureStorage9_Cube()
Drenderer9_utils.cpp287 …kDeviceFormat(adapter, deviceType, adapterFormat, 0, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)) && in GenerateTextureFormatCaps()
288 …eviceFormat(adapter, deviceType, adapterFormat, 0, D3DRTYPE_CUBETEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
289 …ter, deviceType, adapterFormat, D3DUSAGE_QUERY_FILTER, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
290 …r, deviceType, adapterFormat, D3DUSAGE_RENDERTARGET, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)) || in GenerateTextureFormatCaps()
291 …ter, deviceType, adapterFormat, D3DUSAGE_DEPTHSTENCIL, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
Dformatutils9.h61 D3DFORMAT texFormat; member
/external/deqp/modules/glshared/
DglsLongStressCase.cpp212 …ine bool isMatchingGLInternalFormat (const deUint32 internalFormat, const TextureFormat& texFormat) in isMatchingGLInternalFormat() argument
218 case GL_RGBA: return texFormat.order == TextureFormat::RGBA && in isMatchingGLInternalFormat()
219 (texFormat.type == TextureFormat::UNORM_INT8 || in isMatchingGLInternalFormat()
220 texFormat.type == TextureFormat::UNORM_SHORT_4444 || in isMatchingGLInternalFormat()
221 texFormat.type == TextureFormat::UNORM_SHORT_5551); in isMatchingGLInternalFormat()
223 case GL_RGB: return texFormat.order == TextureFormat::RGB && in isMatchingGLInternalFormat()
224 (texFormat.type == TextureFormat::UNORM_INT8 || in isMatchingGLInternalFormat()
225 texFormat.type == TextureFormat::UNORM_SHORT_565); in isMatchingGLInternalFormat()
227 …case GL_LUMINANCE_ALPHA: return texFormat.order == TextureFormat::LA && texFormat.type == TextureF… in isMatchingGLInternalFormat()
228 …case GL_LUMINANCE: return texFormat.order == TextureFormat::L && texFormat.type == TextureFormat… in isMatchingGLInternalFormat()
[all …]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
DSwapChain11.cpp137 offscreenTextureDesc.Format != backbufferFormatInfo.texFormat || in resetOffscreenTexture()
153 offscreenTextureDesc.Format = backbufferFormatInfo.texFormat; in resetOffscreenTexture()
234 depthStencilTextureDesc.Format = depthBufferFormatInfo.texFormat; in resetOffscreenTexture()
333 …mSwapChain->ResizeBuffers(1, backbufferWidth, backbufferHeight, backbufferFormatInfo.texFormat, 0); in resize()
407 swapChainDesc.BufferDesc.Format = backbufferFormatInfo.texFormat; in reset()
Dformatutils11.h53 DXGI_FORMAT texFormat; member
/external/deqp/framework/opengl/
DgluTextureUtil.cpp45 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) in getTransferFormat() argument
53 switch (texFormat.type) in getTransferFormat()
70 switch (texFormat.order) in getTransferFormat()
89 switch (texFormat.type) in getTransferFormat()
112 case TextureFormat::UNSIGNED_INT_24_8: type = texFormat.order == TextureFormat::D in getTransferFormat()
132 deUint32 getInternalFormat (tcu::TextureFormat texFormat) in getInternalFormat() argument
140 switch (PACK_FMT(texFormat.order, texFormat.type)) in getInternalFormat()

123