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

123

/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_cb_eglimage.c108 gl_format texFormat; local
125 texFormat = st_pipe_format_to_mesa_format(ps->format);
129 texFormat);
H A Dst_atom_texture.c221 const gl_format texFormat = firstImage->base.TexFormat; local
223 st_mesa_format_to_pipe_format(texFormat);
226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) {
231 _mesa_get_srgb_format_linear(texFormat);
H A Dst_cb_fbo.c512 gl_format texFormat; local
526 texFormat = _mesa_get_attachment_teximage_const(att)->TexFormat;
532 _mesa_get_format_color_encoding(texFormat) == GL_SRGB) {
533 const gl_format linearFormat = _mesa_get_srgb_format_linear(texFormat);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_eglimage.c108 gl_format texFormat; local
125 texFormat = st_pipe_format_to_mesa_format(ps->format);
129 texFormat);
H A Dst_atom_texture.c221 const gl_format texFormat = firstImage->base.TexFormat; local
223 st_mesa_format_to_pipe_format(texFormat);
226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) {
231 _mesa_get_srgb_format_linear(texFormat);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A Dformatutils9.h61 D3DFORMAT texFormat; member in struct:rx::d3d9::TextureFormat
H A DTextureStorage9.cpp112 d3d9::MakeValidSize(false, d3dFormatInfo.texFormat, &width, &height, &mTopLevel);
115 HRESULT result = device->CreateTexture(width, height, creationLevels, getUsage(), d3dFormatInfo.texFormat, getPool(), &mTexture, NULL);
219 d3d9::MakeValidSize(false, d3dFormatInfo.texFormat, &size, &height, &mTopLevel);
222 HRESULT result = device->CreateCubeTexture(size, creationLevels, getUsage(), d3dFormatInfo.texFormat, getPool(), &mTexture, NULL);
H A Drenderer9_utils.cpp287 textureCaps.texturable = SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, 0, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)) &&
288 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, 0, D3DRTYPE_CUBETEXTURE, d3dFormatInfo.texFormat));
289 textureCaps.filterable = SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, D3DUSAGE_QUERY_FILTER, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat));
290 textureCaps.renderable = SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, D3DUSAGE_RENDERTARGET, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)) ||
291 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, D3DUSAGE_DEPTHSTENCIL, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat));
/external/deqp/modules/gles3/performance/
H A Des3pTextureCases.cpp95 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(m_internalFormat); local
96 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat);
97 const glu::Precision samplerPrec = (texFormat.type == tcu::TextureFormat::FLOAT ||
98 texFormat.type == tcu::TextureFormat::UNSIGNED_INT32 ||
99 texFormat.type == tcu::TextureFormat::SIGNED_INT32)
101 const glu::DataType samplerType = glu::getSampler2DType(texFormat);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dtexparam.c994 gl_format texFormat; local
1006 texFormat = img->TexFormat;
1019 if (_mesa_is_format_compressed(texFormat)) {
1021 *params = _mesa_compressed_format_to_glenum(ctx, texFormat);
1050 *params = _mesa_get_format_bits(texFormat, pname);
1057 *params = _mesa_get_format_bits(texFormat, pname);
1060 *params = MIN2(_mesa_get_format_bits(texFormat,
1062 _mesa_get_format_bits(texFormat,
1073 *params = _mesa_get_format_bits(texFormat, pname);
1079 *params = _mesa_get_format_bits(texFormat, pnam
1140 gl_format texFormat = texObj->_BufferObjectFormat; local
[all...]
H A Dtexstorage.c133 gl_format texFormat; local
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0,
161 0, internalFormat, texFormat);
/external/mesa3d/src/mesa/main/
H A Dtexparam.c994 gl_format texFormat; local
1006 texFormat = img->TexFormat;
1019 if (_mesa_is_format_compressed(texFormat)) {
1021 *params = _mesa_compressed_format_to_glenum(ctx, texFormat);
1050 *params = _mesa_get_format_bits(texFormat, pname);
1057 *params = _mesa_get_format_bits(texFormat, pname);
1060 *params = MIN2(_mesa_get_format_bits(texFormat,
1062 _mesa_get_format_bits(texFormat,
1073 *params = _mesa_get_format_bits(texFormat, pname);
1079 *params = _mesa_get_format_bits(texFormat, pnam
1140 gl_format texFormat = texObj->_BufferObjectFormat; local
[all...]
H A Dtexstorage.c133 gl_format texFormat; local
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0,
161 0, internalFormat, texFormat);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A Dformatutils11.h53 DXGI_FORMAT texFormat; member in struct:rx::d3d11::TextureFormat
H A DSwapChain11.cpp137 offscreenTextureDesc.Format != backbufferFormatInfo.texFormat ||
153 offscreenTextureDesc.Format = backbufferFormatInfo.texFormat;
234 depthStencilTextureDesc.Format = depthBufferFormatInfo.texFormat;
333 HRESULT result = mSwapChain->ResizeBuffers(1, backbufferWidth, backbufferHeight, backbufferFormatInfo.texFormat, 0);
407 swapChainDesc.BufferDesc.Format = backbufferFormatInfo.texFormat;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; local
302 texFormat = MESA_FORMAT_XRGB8888;
306 texFormat = MESA_FORMAT_ARGB8888;
310 texFormat = MESA_FORMAT_RGB565;
316 internalFormat, texFormat, 0);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; local
302 texFormat = MESA_FORMAT_XRGB8888;
306 texFormat = MESA_FORMAT_ARGB8888;
310 texFormat = MESA_FORMAT_RGB565;
316 internalFormat, texFormat, 0);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; local
302 texFormat = MESA_FORMAT_XRGB8888;
306 texFormat = MESA_FORMAT_ARGB8888;
310 texFormat = MESA_FORMAT_RGB565;
316 internalFormat, texFormat, 0);
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; local
302 texFormat = MESA_FORMAT_XRGB8888;
306 texFormat = MESA_FORMAT_ARGB8888;
310 texFormat = MESA_FORMAT_RGB565;
316 internalFormat, texFormat, 0);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; local
302 texFormat = MESA_FORMAT_XRGB8888;
306 texFormat = MESA_FORMAT_ARGB8888;
310 texFormat = MESA_FORMAT_RGB565;
316 internalFormat, texFormat, 0);
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; local
302 texFormat = MESA_FORMAT_XRGB8888;
306 texFormat = MESA_FORMAT_ARGB8888;
310 texFormat = MESA_FORMAT_RGB565;
316 internalFormat, texFormat, 0);
/external/deqp/modules/glshared/
H A DglsLongStressCase.cpp212 static inline bool isMatchingGLInternalFormat (const deUint32 internalFormat, const TextureFormat& texFormat) argument
218 case GL_RGBA: return texFormat.order == TextureFormat::RGBA &&
219 (texFormat.type == TextureFormat::UNORM_INT8 ||
220 texFormat.type == TextureFormat::UNORM_SHORT_4444 ||
221 texFormat.type == TextureFormat::UNORM_SHORT_5551);
223 case GL_RGB: return texFormat.order == TextureFormat::RGB &&
224 (texFormat.type == TextureFormat::UNORM_INT8 ||
225 texFormat.type == TextureFormat::UNORM_SHORT_565);
227 case GL_LUMINANCE_ALPHA: return texFormat.order == TextureFormat::LA && texFormat
[all...]
/external/deqp/framework/opengl/
H A DgluTextureUtil.cpp42 * \param texFormat Generic texture format.
45 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) argument
53 switch (texFormat.type)
70 switch (texFormat.order)
89 switch (texFormat.type)
112 case TextureFormat::UNSIGNED_INT_24_8: type = texFormat.order == TextureFormat::D
129 * \param texFormat Generic texture format.
132 deUint32 getInternalFormat (tcu::TextureFormat texFormat) argument
140 switch (PACK_FMT(texFormat.order, texFormat
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/swrast/
H A Dswrast.c74 gl_format texFormat; local
90 texFormat = MESA_FORMAT_XRGB8888;
92 texFormat = MESA_FORMAT_ARGB8888;
95 w, h, 1, 0, internalFormat, texFormat);
/external/deqp/modules/gles3/functional/
H A Des3fTextureWrapTests.cpp299 const tcu::TextureFormat texFormat = m_texture->getRefTexture().getFormat(); local
301 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat);
332 const bool isSRGB = texFormat.order == tcu::TextureFormat::sRGB || texFormat.order == tcu::TextureFormat::sRGBA;

Completed in 396 milliseconds

123