Searched defs:texFormat (Results 26 - 49 of 49) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_manager.c516 gl_format texFormat; local
536 texFormat = st_ChooseTextureFormat(ctx, target, internalFormat,
541 internalFormat, texFormat);
H A Dst_cb_drawpixels.c463 enum pipe_format texFormat)
467 pt = st_texture_create(st, st->internal_target, texFormat, 0,
1428 enum pipe_format srcFormat, texFormat; local
1504 texFormat = srcFormat;
1509 texFormat = st_choose_format(screen, GL_DEPTH_COMPONENT,
1512 assert(texFormat != PIPE_FORMAT_NONE);
1516 texFormat = st_choose_format(screen, GL_RGBA,
1519 assert(texFormat != PIPE_FORMAT_NONE);
1552 pt = alloc_texture(st, width, height, texFormat);
1564 if (srcFormat == texFormat) {
462 alloc_texture(struct st_context *st, GLsizei width, GLsizei height, enum pipe_format texFormat) argument
[all...]
H A Dst_cb_texture.c503 gl_format texFormat; local
509 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
516 texImage->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;
H A Des3fFboRenderTest.cpp377 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType); local
378 tcu::TextureLevel level (texFormat, width, height);
389 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType); local
390 tcu::TextureLevel level (texFormat, width, height);
H A Des3fTextureUnitTests.cpp853 tcu::TextureFormat texFormat = glu::mapGLInternalFormat((deUint32)params.internalFormat); local
858 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight));
864 m_texturesCube.push_back(new tcu::TextureCube(texFormat, texWidth));
869 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers));
874 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth));
877 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat);
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_texstate.c617 gl_format texFormat; local
663 texFormat = MESA_FORMAT_RGB888;
667 texFormat = MESA_FORMAT_ARGB8888;
673 texFormat = MESA_FORMAT_RGB888;
678 texFormat = MESA_FORMAT_RGB565;
687 rb->cpp, texFormat);
/external/mesa3d/src/mesa/main/
H A Dtexobj.c728 gl_format texFormat; local
789 texFormat = ctx->Driver.ChooseTextureFormat(ctx, target,
810 GL_RGBA, texFormat);
H A Dteximage.c2998 gl_format texFormat = MESA_FORMAT_NONE; local
3006 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
3008 if (!legal_texture_size(ctx, texFormat, width, height, depth)) {
3022 border, internalFormat, texFormat);
3062 gl_format texFormat; local
3066 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
3070 if (legal_texture_size(ctx, texFormat, width, height, depth)) {
3073 border, internalFormat, texFormat);
3345 get_copy_tex_image_source(struct gl_context *ctx, gl_format texFormat) argument
3347 if (_mesa_get_format_bits(texFormat, GL_DEPTH_BIT
3408 gl_format texFormat = _mesa_choose_texture_format(ctx, texObj, local
[all...]
H A Dtexstore.c4245 * \param texFormat the destination texture format
4248 get_read_write_mode(GLenum userFormat, gl_format texFormat) argument
4251 && _mesa_get_format_base_format(texFormat) == GL_DEPTH_STENCIL)
4483 const gl_format texFormat = texImage->TexFormat; local
4491 _mesa_get_format_block_size(texFormat, &bw, &bh);
4500 srcRowStride = _mesa_format_row_stride(texFormat, width);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_manager.c516 gl_format texFormat; local
536 texFormat = st_ChooseTextureFormat(ctx, target, internalFormat,
541 internalFormat, texFormat);
H A Dst_cb_drawpixels.c463 enum pipe_format texFormat)
467 pt = st_texture_create(st, st->internal_target, texFormat, 0,
1428 enum pipe_format srcFormat, texFormat; local
1504 texFormat = srcFormat;
1509 texFormat = st_choose_format(screen, GL_DEPTH_COMPONENT,
1512 assert(texFormat != PIPE_FORMAT_NONE);
1516 texFormat = st_choose_format(screen, GL_RGBA,
1519 assert(texFormat != PIPE_FORMAT_NONE);
1552 pt = alloc_texture(st, width, height, texFormat);
1564 if (srcFormat == texFormat) {
462 alloc_texture(struct st_context *st, GLsizei width, GLsizei height, enum pipe_format texFormat) argument
[all...]
H A Dst_cb_texture.c503 gl_format texFormat; local
509 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
516 texImage->InternalFormat, texFormat);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A Dformatutils11.cpp372 SwizzleFormatInfo(DXGI_FORMAT texFormat, DXGI_FORMAT srvFormat, DXGI_FORMAT rtvFormat) argument
373 : mTexFormat(texFormat), mSRVFormat(srvFormat), mRTVFormat(rtvFormat)
617 : texFormat(DXGI_FORMAT_UNKNOWN),
630 static inline void InsertD3D11FormatInfo(D3D11ES3FormatMap *map, GLenum internalFormat, DXGI_FORMAT texFormat, argument
634 info.texFormat = texFormat;
649 else if (texFormat != DXGI_FORMAT_UNKNOWN)
651 info.renderFormat = texFormat;
662 if (formatInfo.componentCount != 4 || texFormat == DXGI_FORMAT_UNKNOWN ||
697 info.swizzleTexFormat = texFormat;
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_texstate.c740 gl_format texFormat; local
787 texFormat = MESA_FORMAT_RGB888;
791 texFormat = MESA_FORMAT_ARGB8888;
798 texFormat = MESA_FORMAT_RGB888;
803 texFormat = MESA_FORMAT_RGB565;
812 rb->cpp, texFormat);
/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/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dteximage.c2998 gl_format texFormat = MESA_FORMAT_NONE; local
3006 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
3008 if (!legal_texture_size(ctx, texFormat, width, height, depth)) {
3022 border, internalFormat, texFormat);
3062 gl_format texFormat; local
3066 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
3070 if (legal_texture_size(ctx, texFormat, width, height, depth)) {
3073 border, internalFormat, texFormat);
3345 get_copy_tex_image_source(struct gl_context *ctx, gl_format texFormat) argument
3347 if (_mesa_get_format_bits(texFormat, GL_DEPTH_BIT
3408 gl_format texFormat = _mesa_choose_texture_format(ctx, texObj, local
[all...]
H A Dtexstore.c4245 * \param texFormat the destination texture format
4248 get_read_write_mode(GLenum userFormat, gl_format texFormat) argument
4251 && _mesa_get_format_base_format(texFormat) == GL_DEPTH_STENCIL)
4483 const gl_format texFormat = texImage->TexFormat; local
4491 _mesa_get_format_block_size(texFormat, &bw, &bh);
4500 srcRowStride = _mesa_format_row_stride(texFormat, width);
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_texstate.c740 gl_format texFormat; local
787 texFormat = MESA_FORMAT_RGB888;
791 texFormat = MESA_FORMAT_ARGB8888;
798 texFormat = MESA_FORMAT_RGB888;
803 texFormat = MESA_FORMAT_RGB565;
812 rb->cpp, texFormat);
/external/mesa3d/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/gles2/functional/
H A Des2fFboRenderTest.cpp513 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType); local
514 tcu::TextureLevel level (texFormat, width, height);
525 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType); local
526 tcu::TextureLevel level (texFormat, width, height);
/external/deqp/modules/gles31/functional/
H A Des31fOpaqueTypeIndexingTests.cpp263 tcu::TextureFormat texFormat,
268 const deUint32 intFormat = glu::getInternalFormat(texFormat);
269 const glu::TransferFormat transferFmt = glu::getTransferFormat(texFormat);
438 const TextureFormat texFormat = getSamplerTextureFormat(m_samplerType); local
443 vector<deUint8> texData (numSamplers * texFormat.getPixelSize());
444 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]);
499 setupTexture(gl, textures[samplerNdx], m_samplerType, texFormat, &texData[samplerNdx*texFormat.getPixelSize()]);
260 setupTexture(const glw::Functions& gl, deUint32 texture, glu::DataType samplerType, tcu::TextureFormat texFormat, const void* color) argument
H A Des31fGeometryShaderTests.cpp2801 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(GL_RGBA8); local
2802 const glu::TransferFormat transferFormat = glu::getTransferFormat(texFormat);
/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...]

Completed in 2005 milliseconds

12