f3739810e337d0f03514b9b967594c8dc010dfa4 |
|
22-Dec-2016 |
Chad Versace <chadversary@chromium.org> |
mesa/texformat: Handle GL_RGBA + GL_UNSIGNED_SHORT_5_5_5_1 _mesa_choose_tex_format() already handles GL_RGBA + GL_UNSIGNED_SHORT_1_5_5_5_REV by converting it to MESA_FORMAT_B5G5R5A1_UNORM. Teach it do the same for the non-reversed type. Otherwise, the switch's fallthrough converts it to an 8888 format, which has incompatible precision in the alpha channel. Patch 2/2 to fix dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8 on Intel. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99185 Cc: Haixia Shi <hshi@chromium.org> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Cc: "13.0" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/main/texformat.c
|
15cd3ebede62a0c73bfa1513a0c9ab942906cd5a |
|
21-Mar-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Make _mesa_choose_tex_format() handle stencil textures. This is necessary for ARB_texture_stencil8 support on classic drivers. Presumably Gallium works because it implements its own ChooseTexFormat. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/texformat.c
|
3d260cc653966298bb217d028797a2c4ecb33c52 |
|
05-Dec-2015 |
Alejandro Piñeiro <apinheiro@igalia.com> |
mesa: remove _mesa_tex_target_is_array _mesa_is_array_texture provides the same functionality and: 1. it returns bool instead of GLboolean 2. it's not related to the texture format (texformat.c) 3. the name's a little shorter v2: remove _mesa_tex_target_is_array instead (Brian Paul) Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
76f17266ec68c644b2609d355018329636ae8e75 |
|
12-Aug-2015 |
Nanley Chery <nanley.g.chery@intel.com> |
mesa/texformat: use format conversion function in _mesa_choose_tex_format This function's cases for non-generic compressed formats duplicate the GL to MESA translation in _mesa_glenum_to_compressed_format(). This patch replaces the switch cases with a call to the translation function. This change teaches this function about ASTC, thus enabling ASTC for glTex*Storage*() calls. Reviewed-by: Chad Versace <chad.versace@intel.com> Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
/external/mesa3d/src/mesa/main/texformat.c
|
2f11e92cef51c88a09bc778e2ceca4ab50cf0017 |
|
18-Jul-2015 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Rename _mesa_lookup_enum_by_nr() to _mesa_enum_to_string(). Generated by sed; no manual changes. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
bfcdb843830bba0190e00e35e3c5c18c4bdb5de1 |
|
21-Feb-2015 |
Matt Turner <mattst88@gmail.com> |
mesa: Use assert() instead of ASSERT wrapper. Acked-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texformat.c
|
40a08e0d6a57cc79ee72a62aeedec20cae774ed5 |
|
07-Aug-2014 |
Ville Syrjälä <ville.syrjala@linux.intel.com> |
i915: Use L8A8 instead of I8 to simulate A8 on gen2 Gen2 doesn't support the A8 texture format. Currently the driver substitutes it with I8, but that results in incorrect RGB values. Use A8L8 instead. We end up wasting a bit of memory, but at least we should get the correct results. v2: Handle the fallback in _mesa_choose_tex_format() and also do it for all alpha formats that currently accept A8 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72819 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80050 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38873 Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
/external/mesa3d/src/mesa/main/texformat.c
|
be6ef203aafd52fce532c8dae47be75f1d5252a0 |
|
22-Jul-2014 |
Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
mesa: Add MESA_FORMAT_{A8R8G8B8, X8R8G8B8, X8B8G8R8}_SRGB (v2) This means that each 8888 SRGB format has a reversed counterpart, which is necessary for handling big-endian mesa<->gallium mappings. v2: fix missing i965 additions. (Jason) fix 127->255 max alpha for SRGB formats. (Jason) v1: Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com> Signed-off-by: Richard Sandiford <rsandifo@linux.vnet.ibm.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texformat.c
|
df14091c5857dc398521aaa9ff43bbbaee2d6116 |
|
22-Jul-2014 |
Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
mesa: Add MESA_FORMAT_A8L8_{SNORM,SRGB} The associated UNORM format already existed. This means that each LnAn format has a reversed counterpart, which is necessary for handling big-endian mesa<->gallium mappings. [airlied: rebased onto current master] Signed-off-by: Richard Sandiford <rsandifo@linux.vnet.ibm.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texformat.c
|
7e78033c11858b34e274be91586fdfa750c1db11 |
|
17-Jul-2014 |
Neil Roberts <neil@linux.intel.com> |
mesa: Add the format enums for BPTC-compressed images This adds the following four Mesa image format enums which correspond to the four BPTC compressed texture formats: MESA_FORMAT_BPTC_RGBA_UNORM MESA_FORMAT_BPTC_SRGB_ALPHA_UNORM MESA_FORMAT_BPTC_RGB_SIGNED_FLOAT MESA_FORMAT_BPTC_RGB_UNSIGNED_FLOAT It also updates the format information functions to handle these and the corresponding GL enums. v2: Also modify _mesa_get_format_color_encoding, _mesa_get_srgb_format_linear and _mesa_get_uncompressed_format Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texformat.c
|
4000c0112a49c28793844f454278b50e00943173 |
|
27-Jun-2014 |
Jason Ekstrand <jason.ekstrand@intel.com> |
Remove the ATI_envmap_bumpmap extension As far as I can tell, the Intel mesa driver is the only driver in the world still supporting this legacy extension. If someone wants to do bump mapping, they can use shaders. Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> [v1] Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> [v2] Reviewed-by: Ian Romanick <idr@freedesktop.org> [v3]
/external/mesa3d/src/mesa/main/texformat.c
|
61e264f4fcdba3623781a0a339426672f0d431e4 |
|
10-Mar-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Prefer non-swizzled formats for most sized internalformats These formats can be cast to others (with different component types or sizes) via ARB_texture_view or ARB_shader_image_load_store. We want them to be laid out consistently so that we can just reinterpret the memory with a different format. In V1, this was done conditionally on a 'prefer_no_swizzle' flag which was set in TexStorage/TextureView paths, but we need the same behavior for ARB_shader_image_load_store (which also works with images created via TexImage, so we don't want it to be conditional. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texformat.c
|
a487ef87fe4aa8c4b8e5c0d888bfb18727c8e570 |
|
08-Feb-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Fix MESA_FORMAT_Z24_UNORM_S8_UINT vs. X8_UINT mix-up. In commit eeed49f5f290793870c60b5b635b977a732a1eb4, Mark accidentally renamed MESA_FORMAT_S8_Z24 to MESA_FORMAT_Z24_UNORM_X8_UINT and MESA_FORMAT_X8_Z24 to MESA_FORMAT_Z24_UNORM_S8_UINT, reversing their sense. The commit message was correct, but what sed commands actually got run didn't match that. This patch swaps the two enum names, reversing them. This should undo the damage, but might break things if people have manually fixed a few instances in the meantime... Mark's commit also failed to mention renames: s/MESA_FORMAT_ARGB2101010_UINT\b/MESA_FORMAT_B10G10R10A2_UINT/g s/MESA_FORMAT_ABGR2101010\b/MESA_FORMAT_R10G10B10A2_UNORM/g but those seem okay. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/texformat.c
|
f5bd5568abcc234c1c2b6a4bb67b880706f3caed |
|
22-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Fix Type A _INT formats to MESA_FORMAT naming standard Replace Type A _INT formats names with _SINT to match naming spec, and update type C formats as follows: s/MESA_FORMAT_R_INT8\b/MESA_FORMAT_R_SINT8/g s/MESA_FORMAT_R_INT16\b/MESA_FORMAT_R_SINT16/g s/MESA_FORMAT_R_INT32\b/MESA_FORMAT_R_SINT32/g s/MESA_FORMAT_RG_INT8\b/MESA_FORMAT_RG_SINT8/g s/MESA_FORMAT_RG_INT16\b/MESA_FORMAT_RG_SINT16/g s/MESA_FORMAT_RG_INT32\b/MESA_FORMAT_RG_SINT32/g s/MESA_FORMAT_RGB_INT8\b/MESA_FORMAT_RGB_SINT8/g s/MESA_FORMAT_RGB_INT16\b/MESA_FORMAT_RGB_SINT16/g s/MESA_FORMAT_RGB_INT32\b/MESA_FORMAT_RGB_SINT32/g s/MESA_FORMAT_RGBA_INT8\b/MESA_FORMAT_RGBA_SINT8/g s/MESA_FORMAT_RGBA_INT16\b/MESA_FORMAT_RGBA_SINT16/g s/MESA_FORMAT_RGBA_INT32\b/MESA_FORMAT_RGBA_SINT32/g s/\bMESA_FORMAT_RED_RGTC1\b/MESA_FORMAT_R_RGTC1_UNORM/g s/\bMESA_FORMAT_SIGNED_RED_RGTC1\b/MESA_FORMAT_R_RGTC1_SNORM/g s/\bMESA_FORMAT_RG_RGTC2\b/MESA_FORMAT_RG_RGTC2_UNORM/g s/\bMESA_FORMAT_SIGNED_RG_RGTC2\b/MESA_FORMAT_RG_RGTC2_SNORM/g s/\bMESA_FORMAT_L_LATC1\b/MESA_FORMAT_L_LATC1_UNORM/g s/\bMESA_FORMAT_SIGNED_L_LATC1\b/MESA_FORMAT_L_LATC1_SNORM/g s/\bMESA_FORMAT_LA_LATC2\b/MESA_FORMAT_LA_LATC2_UNORM/g s/\bMESA_FORMAT_SIGNED_LA_LATC2\b/MESA_FORMAT_LA_LATC2_SNORM/g
/external/mesa3d/src/mesa/main/texformat.c
|
8b47b6bc32b595ee1a37cde279d44a6ac84403c0 |
|
22-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Fix MESA_FORMAT names containg SIGNED Update comments. Replace format names containing SIGNED with SNORM appended w/decoration per the format name spec: s/MESA_FORMAT_SIGNED_R8\b/MESA_FORMAT_R_SNORM8/g s/MESA_FORMAT_SIGNED_RG88_REV\b/MESA_FORMAT_R8G8_SNORM/g s/MESA_FORMAT_SIGNED_RGBX8888\b/MESA_FORMAT_X8B8G8R8_SNORM/g s/MESA_FORMAT_SIGNED_RGBA8888\b/MESA_FORMAT_A8B8G8R8_SNORM/g s/MESA_FORMAT_SIGNED_RGBA8888_REV\b/MESA_FORMAT_R8G8B8A8_SNORM/g s/MESA_FORMAT_SIGNED_R16\b/MESA_FORMAT_R_SNORM16/g s/MESA_FORMAT_SIGNED_GR1616\b/MESA_FORMAT_R16G16_SNORM/g s/MESA_FORMAT_SIGNED_RGB_16\b/MESA_FORMAT_RGB_SNORM16/g s/MESA_FORMAT_SIGNED_RGBA_16\b/MESA_FORMAT_RGBA_SNORM16/g s/MESA_FORMAT_SIGNED_A8\b/MESA_FORMAT_A_SNORM8/g s/MESA_FORMAT_SIGNED_I8\b/MESA_FORMAT_I_SNORM8/g s/MESA_FORMAT_SIGNED_L8\b/MESA_FORMAT_L_SNORM8/g s/MESA_FORMAT_SIGNED_A16\b/MESA_FORMAT_A_SNORM16/g s/MESA_FORMAT_SIGNED_I16\b/MESA_FORMAT_I_SNORM16/g s/MESA_FORMAT_SIGNED_L16\b/MESA_FORMAT_L_SNORM16/g s/MESA_FORMAT_SIGNED_AL88\b/MESA_FORMAT_L8A8_SNORM/g s/MESA_FORMAT_SIGNED_RG88\b/MESA_FORMAT_G8R8_SNORM/g s/MESA_FORMAT_SIGNED_RG1616\b/MESA_FORMAT_G16R16_SNORM/g
/external/mesa3d/src/mesa/main/texformat.c
|
2e02e195febc87a07fb753a25804b347ab2ee938 |
|
22-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Fix MESA_FORMAT names with ALPH, INTENSITY, and LUMINANCE Compressed spelled out color components ALPHA, INTENSITY, and LUMINANCE to A, I, and L: s/MESA_FORMAT_ALPHA_UINT8\b/MESA_FORMAT_A_UINT8/g' s/MESA_FORMAT_ALPHA_UINT16\b/MESA_FORMAT_A_UINT16/g' s/MESA_FORMAT_ALPHA_UINT32\b/MESA_FORMAT_A_UINT32/g' s/MESA_FORMAT_ALPHA_INT32\b/MESA_FORMAT_A_SINT32/g' s/MESA_FORMAT_ALPHA_INT16\b/MESA_FORMAT_A_SINT16/g' s/MESA_FORMAT_ALPHA_INT8\b/MESA_FORMAT_A_SINT8/g' s/MESA_FORMAT_INTENSITY_UINT8\b/MESA_FORMAT_I_UINT8/g' s/MESA_FORMAT_INTENSITY_UINT16\b/MESA_FORMAT_I_UINT16/g' s/MESA_FORMAT_INTENSITY_UINT32\b/MESA_FORMAT_I_UINT32/g' s/MESA_FORMAT_INTENSITY_INT32\b/MESA_FORMAT_I_SINT32/g' s/MESA_FORMAT_INTENSITY_INT16\b/MESA_FORMAT_I_SINT16/g' s/MESA_FORMAT_INTENSITY_INT8\b/MESA_FORMAT_I_SINT8/g' s/MESA_FORMAT_LUMINANCE_UINT8\b/MESA_FORMAT_L_UINT8/g' s/MESA_FORMAT_LUMINANCE_UINT16\b/MESA_FORMAT_L_UINT16/g' s/MESA_FORMAT_LUMINANCE_UINT32\b/MESA_FORMAT_L_UINT32/g' s/MESA_FORMAT_LUMINANCE_INT32\b/MESA_FORMAT_L_SINT32/g' s/MESA_FORMAT_LUMINANCE_INT16\b/MESA_FORMAT_L_SINT16/g' s/MESA_FORMAT_LUMINANCE_INT8\b/MESA_FORMAT_L_SINT8/g' s/MESA_FORMAT_LUMINANCE_ALPHA_UINT8\b/MESA_FORMAT_LA_UINT8/g' s/MESA_FORMAT_LUMINANCE_ALPHA_UINT16\b/MESA_FORMAT_LA_UINT16/g' s/MESA_FORMAT_LUMINANCE_ALPHA_UINT32\b/MESA_FORMAT_LA_UINT32/g' s/MESA_FORMAT_LUMINANCE_ALPHA_INT32\b/MESA_FORMAT_LA_SINT32/g' s/MESA_FORMAT_LUMINANCE_ALPHA_INT16\b/MESA_FORMAT_LA_SINT16/g' s/MESA_FORMAT_LUMINANCE_ALPHA_INT8\b/MESA_FORMAT_LA_SINT8/g' s/MESA_FORMAT_ALPHA_FLOAT16\b/MESA_FORMAT_A_FLOAT16/g' s/MESA_FORMAT_ALPHA_FLOAT32\b/MESA_FORMAT_A_FLOAT32/g' s/MESA_FORMAT_INTESITY_FLOAT16\b/MESA_FORMAT_I_FLOAT16/g' s/MESA_FORMAT_INTESITY_FLOAT32\b/MESA_FORMAT_I_FLOAT32/g' s/MESA_FORMAT_INTENSITY_FLOAT16\b/MESA_FORMAT_I_FLOAT16/g' s/MESA_FORMAT_INTENSITY_FLOAT32\b/MESA_FORMAT_I_FLOAT32/g' s/MESA_FORMAT_LUMINANCE_FLOAT16\b/MESA_FORMAT_L_FLOAT16/g' s/MESA_FORMAT_LUMINANCE_FLOAT32\b/MESA_FORMAT_L_FLOAT32/g' s/MESA_FORMAT_LUMINANCE_ALPHA_FLOAT16\b/MESA_FORMAT_LA_FLOAT16/g' s/MESA_FORMAT_LUMINANCE_ALPHA_FLOAT32\b/MESA_FORMAT_LA_FLOAT32/g'
/external/mesa3d/src/mesa/main/texformat.c
|
eeed49f5f290793870c60b5b635b977a732a1eb4 |
|
27-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Change many Type P MESA_FORMATs to meet naming spec Conversion of Type P formats as follows (w/related comment fixes): s/MESA_FORMAT_RGB565\b/MESA_FORMAT_B5G6R5_UNORM/g s/MESA_FORMAT_RGB565_REV\b/MESA_FORMAT_R5G6B5_UNORM/g s/MESA_FORMAT_ARGB4444\b/MESA_FORMAT_B4G4R4A4_UNORM/g s/MESA_FORMAT_ARGB4444_REV\b/MESA_FORMAT_A4R4G4B4_UNORM/g s/MESA_FORMAT_RGBA5551\b/MESA_FORMAT_A1B5G5R5_UNORM/g s/MESA_FORMAT_XBGR8888_SNORM\b/MESA_FORMAT_R8G8B8X8_SNORM/g s/MESA_FORMAT_XBGR8888_SRGB\b/MESA_FORMAT_R8G8B8X8_SRGB/g s/MESA_FORMAT_ARGB1555\b/MESA_FORMAT_B5G5R5A1_UNORM/g s/MESA_FORMAT_ARGB1555_REV\b/MESA_FORMAT_A1R5G5B5_UNORM/g s/MESA_FORMAT_AL44\b/MESA_FORMAT_L4A4_UNORM/g s/MESA_FORMAT_RGB332\b/MESA_FORMAT_B2G3R3_UNORM/g s/MESA_FORMAT_ARGB2101010\b/MESA_FORMAT_B10G10R10A2_UNORM/g s/MESA_FORMAT_Z24_S8\b/MESA_FORMAT_S8_UINT_Z24_UNORM/g s/MESA_FORMAT_S8_Z24\b/MESA_FORMAT_Z24_UNORM_S8_UINT/g s/MESA_FORMAT_X8_Z24\b/MESA_FORMAT_Z24_UNORM_X8_UINT/g s/MESA_FORMAT_Z24_X8\b/MESA_FORMAT_X8Z24_UNORM/g s/MESA_FORMAT_RGB9_E5_FLOAT\b/MESA_FORMAT_R9G9B9E5_FLOAT/g s/MESA_FORMAT_R11_G11_B10_FLOAT\b/MESA_FORMAT_R11G11B10_FLOAT/g s/MESA_FORMAT_Z32_FLOAT_X24S8\b/MESA_FORMAT_Z32_FLOAT_S8X24_UINT/g s/MESA_FORMAT_ABGR2101010_UINT\b/MESA_FORMAT_R10G10B10A2_UINT/g s/MESA_FORMAT_XRGB4444_UNORM\b/MESA_FORMAT_B4G4R4X4_UNORM/g s/MESA_FORMAT_XRGB1555_UNORM\b/MESA_FORMAT_B5G5R5X1_UNORM/g s/MESA_FORMAT_XRGB2101010_UNORM\b/MESA_FORMAT_B10G10R10X2_UNORM/g s/MESA_FORMAT_AL88\b/MESA_FORMAT_L8A8_UNORM/g s/MESA_FORMAT_AL88_REV\b/MESA_FORMAT_A8L8_UNORM/g s/MESA_FORMAT_AL1616\b/MESA_FORMAT_L16A16_UNORM/g s/MESA_FORMAT_AL1616_REV\b/MESA_FORMAT_A16L16_UNORM/g s/MESA_FORMAT_RG88\b/MESA_FORMAT_G8R8_UNORM/g s/MESA_FORMAT_GR88\b/MESA_FORMAT_R8G8_UNORM/g s/MESA_FORMAT_GR1616\b/MESA_FORMAT_R16G16_UNORM/g s/MESA_FORMAT_RG1616\b/MESA_FORMAT_G16R16_UNORM/g s/MESA_FORMAT_SRGBA8\b/MESA_FORMAT_A8B8G8R8_SRGB/g s/MESA_FORMAT_SARGB8\b/MESA_FORMAT_B8G8R8A8_SRGB/g s/MESA_FORMAT_SLA8\b/MESA_FORMAT_L8A8_SRGB/g Conflicts: src/mesa/drivers/dri/i965/brw_surface_formats.c src/mesa/main/format_pack.c src/mesa/main/format_unpack.c src/mesa/main/formats.c src/mesa/main/texformat.c src/mesa/main/texstore.c
/external/mesa3d/src/mesa/main/texformat.c
|
50a01d2acafb2a937e62b24258e2e777c0cd1489 |
|
21-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Change many Type A MESA_FORMATs to meet naming standard Update comments. Conversion of the following Type A formats: s/MESA_FORMAT_RGB888\b/MESA_FORMAT_BGR_UNORM8/g s/MESA_FORMAT_BGR888\b/MESA_FORMAT_RGB_UNORM8/g s/MESA_FORMAT_A8\b/MESA_FORMAT_A_UNORM8/g s/MESA_FORMAT_A16\b/MESA_FORMAT_A_UNORM16/g s/MESA_FORMAT_L8\b/MESA_FORMAT_L_UNORM8/g s/MESA_FORMAT_L16\b/MESA_FORMAT_L_UNORM16/g s/MESA_FORMAT_I8\b/MESA_FORMAT_I_UNORM8/g s/MESA_FORMAT_I16\b/MESA_FORMAT_I_UNORM16/g s/MESA_FORMAT_R8\b/MESA_FORMAT_R_UNORM8/g s/MESA_FORMAT_R16\b/MESA_FORMAT_R_UNORM16/g s/MESA_FORMAT_Z16\b/MESA_FORMAT_Z_UNORM16/g s/MESA_FORMAT_Z32\b/MESA_FORMAT_Z_UNORM32/g s/MESA_FORMAT_S8\b/MESA_FORMAT_S_UINT8/g s/MESA_FORMAT_SRGB8\b/MESA_FORMAT_BGR_SRGB8/g s/MESA_FORMAT_RGBA_16\b/MESA_FORMAT_RGBA_UNORM16/g s/MESA_FORMAT_SL8\b/MESA_FORMAT_L_SRGB8/g s/MESA_FORMAT_Z32_FLOAT\b/MESA_FORMAT_Z_FLOAT32/g s/MESA_FORMAT_XBGR16161616_UNORM\b/MESA_FORMAT_RGBX_UNORM16/g s/MESA_FORMAT_XBGR16161616_SNORM\b/MESA_FORMAT_RGBX_SNORM16/g s/MESA_FORMAT_XBGR16161616_FLOAT\b/MESA_FORMAT_RGBX_FLOAT16/g s/MESA_FORMAT_XBGR16161616_UINT\b/MESA_FORMAT_RGBX_UINT16/g s/MESA_FORMAT_XBGR16161616_SINT\b/MESA_FORMAT_RGBX_SINT16/g s/MESA_FORMAT_XBGR32323232_FLOAT\b/MESA_FORMAT_RGBX_FLOAT32/g s/MESA_FORMAT_XBGR32323232_UINT\b/MESA_FORMAT_RGBX_UINT32/g s/MESA_FORMAT_XBGR32323232_SINT\b/MESA_FORMAT_RGBX_SINT32/g s/MESA_FORMAT_XBGR8888_UINT\b/MESA_FORMAT_RGBX_UINT8/g s/MESA_FORMAT_XBGR8888_SINT\b/MESA_FORMAT_RGBX_SINT8/g
/external/mesa3d/src/mesa/main/texformat.c
|
ef145ba4ded6aafb28e3bda02fb348e6b8bff12a |
|
20-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Rename 4 color component unsigned byte MESA_FORMATs Change all 4 color component unsigned byte formats to meet spec for P Type formats: s/MESA_FORMAT_RGBA8888\b/MESA_FORMAT_A8B8G8R8_UNORM/g s/MESA_FORMAT_RGBA8888_REV\b/MESA_FORMAT_R8G8B8A8_UNORM/g s/MESA_FORMAT_ARGB8888\b/MESA_FORMAT_B8G8R8A8_UNORM/g s/MESA_FORMAT_ARGB8888_REV\b/MESA_FORMAT_A8R8G8B8_UNORM/g s/MESA_FORMAT_RGBX8888\b/MESA_FORMAT_X8B8G8R8_UNORM/g s/MESA_FORMAT_RGBX8888_REV\b/MESA_FORMAT_R8G8B8X8_UNORM/g s/MESA_FORMAT_XRGB8888\b/MESA_FORMAT_B8G8R8X8_UNORM/g s/MESA_FORMAT_XRGB8888_REV\b/MESA_FORMAT_X8R8G8B8_UNORM/g
/external/mesa3d/src/mesa/main/texformat.c
|
71fe9437169cfdafda8814aa814bb85429fb6cfc |
|
04-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: change gl_format to mesa_format s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
/external/mesa3d/src/mesa/main/texformat.c
|
bdf3f50e9a85e4c063b46ceaf23bceb07b06b82e |
|
29-Aug-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Don't choose S3TC for generic compression if we can't compress. If the app is asking us to do GL_COMPRESSED_RGBA, then the app obviously doesn't have pre-compressed data to hand us. So don't choose a storage format that we won't actually be able to compress and store. Fixes black screen in warzone2100 when libtxc_dxtn is not present. Also 66 piglit tests. NOTE: This is a candidate for the 9.2 branch. Reported-by: Paul Wise <pabs@debian.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
b188467fdf71d8f4c5fab4aafae1253f64d9aab4 |
|
29-Aug-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Rip out more extension checking from texformat.c. You should only be flagging the formats as supported if you support them anyway. NOTE: This is a candidate for the 9.2 branch. (required for next commit) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 |
|
05-Jun-2013 |
Rico Schüller <kgbricola@web.de> |
mesa: remove outdated version lines in comments Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
6bfd897fc432590ea50231845608239fb1d60114 |
|
18-Apr-2013 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa/texformat: add _mesa_tex_target_is_array function Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texformat.c
|
8588350dc0fcc124cf3e8104965d8525033e3201 |
|
03-Jun-2013 |
Brian Paul <brianp@vmware.com> |
mesa: fix hodge podge indentation, update comments in texformat.c
/external/mesa3d/src/mesa/main/texformat.c
|
171199b2b7d3de3783a3e69c5a81795f5f8b5f10 |
|
28-May-2013 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Add missing break statement in _mesa_choose_tex_format. Fixes "Missing break in switch" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texformat.c
|
c245efe7e8247ba0c845dee7b77e63fdbfc7e1b3 |
|
21-Mar-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove extension checking from ChooseTexFormat. This should already be handled by _mesa_base_tex_format() calls in TexImage*.
/external/mesa3d/src/mesa/main/texformat.c
|
36e7c01101b5610b432befcf45e54260a78a67c9 |
|
21-Mar-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Add ChooseTexFormat support for the new XBGR formats.
/external/mesa3d/src/mesa/main/texformat.c
|
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Restore 78-column wrapping of license text in C-style comments. The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability. This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
dd404bc94f78a1766527becee03f8ef6ae3a799b |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text. Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
b76f6d9557ff27140e18cf8aa2b57db8876d5d4d |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove #include "mfeatures.h" from numerous source files None of the remaining FEATURE_x symbols in mfeatures.h are used anymore. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/texformat.c
|
ebe86b80825404cec057fb7e7519864754e9481c |
|
24-Jan-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: fixup inconsistent naming of RG16 formats Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
d45c6c817df5c00ec12d46bd07fc7735e2c2cd5a |
|
22-Jan-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Simplify _mesa_choose_tex_format handling of compressed formats For non-generic compressed format we assert two things: 1. The format has already been validated against the set of available extensions. 2. The driver only enables the extension if it supports all of the formats that are part of that extension. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texformat.c
|
a021881ccdaf1d81fb7c8bef4b58b4c037dc4f44 |
|
01-Dec-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use a single flag for the S3TC extensions that don't require on-line compression Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Lee Salzman <lsalzman@gmail.com>
/external/mesa3d/src/mesa/main/texformat.c
|
3c3a2b51b85a90cfe670e1ca81ce86c8fa0d448d |
|
27-Dec-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
texformat: use MESA_FORMAT_ARGB2101010 with GL_UNSIGNED_INT_2_10_10_10_REV Choose MESA_FORMAT_ARGB2101010 when storing GL_RGBA + GL_UNSIGNED_INT_2_10_10_10_REV or GL_RGB + GL_UNSIGNED_INT_2_10_10_10_REV. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texformat.c
|
e519b8a9af0f994d6b33e748ada463ff19df7ab8 |
|
06-Nov-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add new MESA_FORMATs for ETC2 compressed textures It is required by OpenGL ES 3.0 to support ETC2 textures. This patch adds new MESA_FORMATs for following etc2 texture formats: GL_COMPRESSED_RGB8_ETC2 GL_COMPRESSED_SRGB8_ETC2 GL_COMPRESSED_RGBA8_ETC2_EAC GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC GL_COMPRESSED_R11_EAC GL_COMPRESSED_RG11_EAC GL_COMPRESSED_SIGNED_R11_EAC GL_COMPRESSED_SIGNED_RG11_EAC MESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1 MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1 Above formats are currently available in only gles 3.0. v2: Add entries in texfetch_funcs[] array. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> v3 (Paul Berry <stereotype441@gmail.com>): comment out symbols that are not implemented yet, so that this commit compiles on its own; future commits will uncomment the symbols as they become available.
/external/mesa3d/src/mesa/main/texformat.c
|
9545d9611fd983fd63960de787dff51aedd4a7f9 |
|
26-Sep-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
intel: add support for ANGLE_texture_compression_dxt. Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
88233b0bc301eb0ccdf23ffcb0245b3faad43b04 |
|
11-Sep-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
mesa: remove FEATURE_EXT_texture_sRGB define. Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
ab8d76357fe17b7b380e6f513f3385e2d39ca06d |
|
11-Sep-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
mesa: remove FEATURE_texture_s3tc define. Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
beb293e4cdbdbb012ee866c9548466b24e6b2194 |
|
11-Sep-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
mesa: remove FEATURE_texture_fxt1 define. Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
13d0bb21a9ba04424019df25d6757e77304a1f9a |
|
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: don't try (generic) compression of 1D and 1D_ARRAY textures See comments in the code for details. Note: we only need to special-case the generic compressed formats since specific texture formats are error-checked earlier to see if the compression format is compatible with the texture type. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/texformat.c
|
d47a6ada9ca9670c60fc141fabadf40c63031c08 |
|
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add texture target field to ChooseTextureFormat() driver hook This will let us choose the actual hardware format depending on the type of texture. v2: fixup radeon, nouveau, intel and swrast drivers too Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texformat.c
|
9c1b41879aab2ff7386c547a2ccce7686c018cf5 |
|
26-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Replace VersionMajor/VersionMinor with a Version field. As we get into supporting GL 3.x core, we come across more and more features of the API that depend on the version number as opposed to just the extension list. This will let us more sanely do version checks than "(VersionMajor == 3 && VersionMinor >= 2) || VersionMajor >= 4". v2: Fix a bad <= 30 check. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
09714c09a40501d82823e42f7461d7b8d7bf11c0 |
|
19-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add support for using API_OPENGL_CORE Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texformat.c
|
749c9060aca85277c388377d15fd6323ba20b78e |
|
09-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa formats: add MESA_FORMAT_ABGR2101010_UINT Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
1a06e8454ec714e950bc88882cd985534a18bf1f |
|
12-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa,st/mesa: implement GL_RGB565 from ARB_ES2_compatibility This was not implemented, because the spec was changed just recently. Everything has been in place already. Gallium has PIPE_FORMAT_B5G6R5_UNORM, while Mesa has MESA_FORMAT_RGB565. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
3363e87d7d5b3f19294fc770dc7c506c26646010 |
|
22-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: allow exposing GL3 without EXT_texture_integer Strictly speaking, it's not legal to expose EXT_texture_integer without EXT_gpu_shader4. It might be even dangerous (apps can assume EXT_gpu_shader4 is available without checking for it). The check in compute_version is removed as well, because that's already covered by GLSLVersion >= 130. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
1d7048f12e7e2e8f42d27aa665f7134f8f10cf4e |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: try RGBA_FLOAT16 before RGBA_FLOAT32 when choosing A,L,LA,I formats To try to use less tex memory and maybe get better performance. Spotted by Roland Scheidegger. NOTE: This is a candidate for the 8.0 and 7.11 branches. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
7628696004515074594d4fdac4e422c81c86b32c |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix tex format selection for GL_R32F and other R/G float formats The i965 driver advertises GL_ARB_texture_float and GL_ARB_texture_rg support but the ctx->TextureFormatSupported[] table entries for MESA_FORMAT_R_FLOAT32 and MESA_FORMAT_RGBA_FLOAT32 are false on gen 4 hardware. So the case for GL_R32F would fail and we'd print an implementation error. This patch adds more Mesa tex format options for GL_R32F and other R/G formats so we fall back to 16-bit formats when 32-bit formats aren't available. Eric made the same fix in commit 6216a5b4 for the non R/G formats. v2: try 16-bit formats before 32-bit formats and try RG formats before RGBA where possible. This should fix https://bugs.freedesktop.org/show_bug.cgi?id=44039 NOTE: This is a candidate for the 8.0 and 7.11 branches. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
2b3fdb1fae00f58dcb4db7eeeb03eb77a1ef51b2 |
|
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add MESA_FORMAT_RGB565[_REV] as candidates for GL_R3_G3_B2 Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texformat.c
|
0a3c895f341ae458b09dcdc9cbd674600366a925 |
|
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rename MESA_FORMAT_RG88 to MESA_FORMAT_GR88 To better reflect the component ordering and be consistent with other format names.
/external/mesa3d/src/mesa/main/texformat.c
|
d4a38e86d4b4d66cca20ee63222f940cb73fa709 |
|
28-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add support for GL_OES_compressed_ETC1_RGB8_texture Add support for GL_OES_compressed_ETC1_RGB8_texture to core mesa. There is no driver support yet. Unlike desktop GL compressed texture formats, GLES compressed texture formats usually can only be used with glCompressedTexImage2D. All other gl*Tex*Image* functions are updated to check for that. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
f449be660e70aac2aefd2ce84581e137de25520b |
|
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/format: add mesa MESA_FORMAT_ARGB2101010_UINT support. This format is used in the ARB_texture_rgb10_a2ui spec. It adds core mesa support, texformat + texstore support, format_unpack and fbobject.c (all patches from list merged + fixed up). also fixes some whitespace issues. Parts were: Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texformat.c
|
6216a5b49566fcd3f4b7ed42838858bccd2f0552 |
|
22-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fall back to float16 if float32 isn't supported in ChooseTexFormat. Until GL 3.0, there isn't any requirement on the actual sizes of channels chosen. By falling back to 16 here, we can correctly support ARB_texture_float on original i965 hardware, which can't correctly filter 32-bit floats.
/external/mesa3d/src/mesa/main/texformat.c
|
babe26b3efa56f1afd139d5cfecbadb857a43d8f |
|
07-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add fallback from RGB_FLOAT16 to RGBA_FLOAT16 before RGBA_FLOAT32. Not all i965 hardware can do RGB float16, and this will at least save half the memory and have expected behavior in terms of precision. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
08b2cc018ddcfce4b4f4204b89ff5c1d62bfe85d |
|
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: improve the warning message in _mesa_choose_tex_format() Bug 42128 hits this _mesa_warning() call.
/external/mesa3d/src/mesa/main/texformat.c
|
c2060c0af7de4678d55962369244451fe678c4e8 |
|
05-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/texformat: add integer fallbacks to other formats This fixes up the integer format choosing to pick the closest mesa format then the most likely fallback. (the formatting in this file needs cleaning in another patch). Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texformat.c
|
56a7111893aa02b569121ac6cb135b661c94c748 |
|
30-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/texformat: update choose_tex_format for integer types. This adds the integer types to the tex format chooser. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texformat.c
|
29386d1f2d60e905d63f4c5f045ff3794b2ff99c |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_bgra and EXT_texture_format_BGRA8888 extension enable flags All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. EXT_texture_format_BGRA8888 is mostly a subset of EXT_bgra. The only difference seems to be that EXT_texture_format_BGRA8888 allows GL_BGRA as an internal format to glTexImage2D and friends. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
eba527bf9ffc2fd67c44fb77104107556f509b49 |
|
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove API facing bits of EXT_paletted_texture and EXT_shared_texture_palette This was also discussed at XDS 2010. However, actually making the change was delayed because several drivers still exposed these extensions to significant benefit (e.g., tdfx). Now that those drivers have been removed, this code can be removed as well. v2: A lot of bits that were missed in the previous patch have been removed. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
55d232a81566cf7ab8855c42e2ef1a280276a04c |
|
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove all mention of MESA_FORMAT_CI8 Nothing in Mesa supports color-index textures, and most of the other infrastructure that could allow such support has already been removed. This puts the final nail in the coffin. Also clean out some GL_COLOR_INDEX comments in formats.c. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
1165280cbd37dee1e499358633478ab869de21df |
|
01-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initial ARB_depth_buffer_float support Using GL_NONE as DataType of Z32_FLOAT_X24S8, not sure what I should put there. The spec says the type is n/a. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
4e0654ec2924c941fe03f57665fbf44e1b600db8 |
|
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Add MESA_FORMAT_X8_Z24 to _mesa_choose_tex_format Prefer MESA_FORMAT_X8_Z24 over MESA_FORMAT_S8_Z24 for textures with internal format GL_DEPTH_COMPONENT*. i965 needs MESA_FORMAT_X8_Z24 for HiZ and separate stencil. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/main/texformat.c
|
631d23daa91c569bf268a2191bd466df73a64263 |
|
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement EXT_packed_float Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texformat.c
|
1271424615b62544662a606bb23f6d7117a8b0e7 |
|
27-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa, util: move RGB9E5 conversion functions to gallium/util Also use MAX3 and incorporate Ian's suggestion in texformat.c. I don't think wrapping u_format_rgb9e5.h in another header and thus making it more complicated is worth it.
/external/mesa3d/src/mesa/main/texformat.c
|
9d7698c468f4ea7da8bb4ec00520c98f11cca0fa |
|
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement EXT_texture_shared_exponent swrast support done. There is no renderbuffer support in swrast, because it's not required by the extension. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
bc880b8d405e72be29c80e7e7e505f59755a388a |
|
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Choose RGTC formats for GL_COMPRESSED_RED, GL_COMPRESSED_RG. We were falling through to the default R8 and RG88 formats instead of compressing when possible. Noticed by swrast fbo-blending-formats actually doing rendering. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
f7c26109c2cc61150d678529c8b0b5e769e9607e |
|
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add ChooseTexFormat fallbacks for floating point textures. This covers X_FLOAT16 -> X_FLOAT32, and X -> RGBA_FLOAT32. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texformat.c
|
0ecbb0ab7472fe5cb33be13a8307e16f875254e5 |
|
16-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add R/RG floating-point formats
/external/mesa3d/src/mesa/main/texformat.c
|
e397b3a7c051b70a574e34096b70fc98e4e84b2c |
|
03-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add fall-back formats for unsupported snorm formats This is always the way with real hardware and desktop OpenGL. Some hardware can't do some formats natively. The alpha-only, luminance, and intensity formats are usually the most problematic. Some sized formats can also be problematic. This patch provides fall-back formats for those that are not natively supported. At some point it would be interesting to try providing device-independent conversions using EXT_texture_swizzle. The drivers that support EXT_texture_swizzle could, for example, see GL_LUMINANCE16_SNORM as MESA_FORMAT_SIGNED_R16 with a { r, r, r, 1 } swizzle. Care would need to be taken to prevent issues with using those textures for FBO rendering. This is the rest of the fix for glean's pixelFormats test on i965. Reviewed-by: Marek Olšák <maraeo@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texformat.c
|
0be369975fdfa79bcb702d0c13aa0a221055f61b |
|
18-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initial EXT_texture_snorm support The component ordering of some formats has been been reversed to match Gallium types.
/external/mesa3d/src/mesa/main/texformat.c
|
69f16accd0aa3b8d414092a5e52ccc99649da01a |
|
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add ATI_texture_compression_3dc LUMINANCE_ALPHA_LATC2 = LUMINANCE_ALPHA_3DC, so this is easy. Note that there is no specification for 3DC, just a few white papers from ATI.
/external/mesa3d/src/mesa/main/texformat.c
|
7d16e2c0cd70dc5a23b746dbc8e44c58366b5353 |
|
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add EXT_texture_compression_latc The encoding/decoding algorithms are shared with RGTC. Thanks to some magic with the base format, the RGTC texstore functions work for LATC too. swrast passes the related piglit tests besides two things: - The alpha channel is wrong (it's always 1), however the incorrect alpha channel makes some other tests fail too, so I guess it's unrelated to LATC. - Signed LATC fetches aren't correct yet (signed values are clamped to [0,1]), however RGTC has the same problem. Further testing (with other of my patches) shows that hardware drivers and softpipe work. BTW, ETQW uses this extension.
/external/mesa3d/src/mesa/main/texformat.c
|
903726d2859d6ce51e4bc96038be1830bd276f1a |
|
24-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
swrast: add RGTC support
/external/mesa3d/src/mesa/main/texformat.c
|
3fe0185ba506b830b86f0e39d2e366400ecffae6 |
|
26-Jan-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Support internalFormat=GL_BGRA for DRI drivers
/external/mesa3d/src/mesa/main/texformat.c
|
db61b9ce39bccc43140357652ceb78baaf2aea44 |
|
07-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Directly include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/main/texformat.c
|
0117da40cd7edd3d165bb28569c289b37eca12b9 |
|
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mtypes.h in files that use gl_context struct. Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
/external/mesa3d/src/mesa/main/texformat.c
|
5dbb856e960f9448ec4e322f936f5f6763ee77e2 |
|
04-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Merge our choosetexformat fallbacks into core. We now share the type/format -> MESA_FORMAT_* mappings with software mesa, and the core supports most of the fallbacks hardware drivers will want.
/external/mesa3d/src/mesa/main/texformat.c
|
001d944fd50e0579739b8865e6e09be5d267c05a |
|
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Make _mesa_choose_tex_format() choose formats out of a supported table. Right now this is just tweaking the current code to look at the table. Choosing actually supported formats will come later.
/external/mesa3d/src/mesa/main/texformat.c
|
fd8aa7ac71699facf9839e2ae56b5e37579c6bcc |
|
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format I16
/external/mesa3d/src/mesa/main/texformat.c
|
bb5ace68ce9e8bd171a39162ed6bd93632bd6619 |
|
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format L16
/external/mesa3d/src/mesa/main/texformat.c
|
eb31837a0d4fa4fe115bb288ddb37cbedea954ae |
|
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format A16
/external/mesa3d/src/mesa/main/texformat.c
|
bae9d511f343c7bd5eb66d1d1d18d32b47e738e3 |
|
21-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format AL44 Radeon GPUs can do this. R600 can even do render-to-texture. Packing and extracting aren't implemented, but we shouldn't hit them (I think). Tested with swrast, softpipe, and r300g.
/external/mesa3d/src/mesa/main/texformat.c
|
621e5254ef6714520f106bd3707fe6ddc279aa0c |
|
21-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format ARGB2101010 Radeon GPUs do support GL_RGB10_A2.
/external/mesa3d/src/mesa/main/texformat.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/texformat.c
|
5d1387b2da3626326410804026f8b92f1a121fdc |
|
29-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formats
/external/mesa3d/src/mesa/main/texformat.c
|
abd5627a6a034885b0b01b995c73870da1361bb0 |
|
06-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initial support for unnormalized integer texture formats As defined by GL_EXT_texture_integer.
/external/mesa3d/src/mesa/main/texformat.c
|
17e96718946486ef77927fcf3bb299d8bff32b98 |
|
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added unsigned 16-bit/channel tex format
/external/mesa3d/src/mesa/main/texformat.c
|
84407d7365e101c36a83fd0a58c58b0c0c57db14 |
|
27-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: start adding GL 3.1 signed normalized texture formats
/external/mesa3d/src/mesa/main/texformat.c
|
d773f28ff29a0abbb9f856cb4a3c60fcaeea1d3b |
|
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from texformat.c.
/external/mesa3d/src/mesa/main/texformat.c
|
12982e381d3474c5c00f89cc442d442df097339b |
|
16-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
AL1616: Enable MESA_FORMAT_AL1616 for software paths
/external/mesa3d/src/mesa/main/texformat.c
|
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'texformat-rework' Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
|
5e4f5e41a487e9baa8a63842327d83cee659622e |
|
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: change s3tc vs. fxt1 priority when choosing compressed formats
/external/mesa3d/src/mesa/main/texformat.c
|
019bc97bd900a84f5f999afdb42928e92d33814b |
|
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_format_to_type_and_comps() to formats.c
/external/mesa3d/src/mesa/main/texformat.c
|
3fa7dbf368bb060220e9f78e666b00d6827166a6 |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
/external/mesa3d/src/mesa/main/texformat.c
|
74ae14a2bde4f87a554c3d96e6f4a9a02591308d |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move texel fetch/store into new texfetch.[ch] files
/external/mesa3d/src/mesa/main/texformat.c
|
bdc761b0f9c8856193de6e8617c566851d010783 |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_format
/external/mesa3d/src/mesa/main/texformat.c
|
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace gl_texture_format with gl_format Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
/external/mesa3d/src/mesa/main/texformat.c
|
729ff875f4c951798d2372940608201a6b195ca6 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: change _mesa_format_to_type_and_comps() format parameter type
/external/mesa3d/src/mesa/main/texformat.c
|
a608257a02d2ba4e8119be462bbd40ed238b184a |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_texture_format fields
/external/mesa3d/src/mesa/main/texformat.c
|
27e201e9c4dd66bbf8fd2bc3ac3292550b94a14a |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework null texel fetch/store funcs
/external/mesa3d/src/mesa/main/texformat.c
|
8abb984dc93235e00b5006187bf177da5db257e1 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: null-out StoreTexImageFunc fields
/external/mesa3d/src/mesa/main/texformat.c
|
431ba64222ad5365dfcdac1f06d80f0e7a26dbfd |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_texel_store_func()
/external/mesa3d/src/mesa/main/texformat.c
|
da5722bea6e2f613933d3e3da214da8cd0047d2e |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new look-up table to get texel fetch/store funcs
/external/mesa3d/src/mesa/main/texformat.c
|
611128365dad65216a4d4be973393ba2c526bd18 |
|
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: convert more texture fetch functions to return GLfloat
/external/mesa3d/src/mesa/main/texformat.c
|
cb5bd7d4d49d84f694c9851c0a5a08f158bd3e43 |
|
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: switch texel fetch functions from GLchan to GLfloat
/external/mesa3d/src/mesa/main/texformat.c
|
02a579f2e7abc832dd46956048d1116f7dc3dd92 |
|
28-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: fix a glGetTexImage issue with base-converted texture formats need to respect the user-supplied base format, not the one derived from the texture format actually used.
/external/mesa3d/src/mesa/main/texformat.c
|
bb386a1ecae6d7f805af44df463b0e4d661eef85 |
|
27-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add _rev signed rgba texture format
/external/mesa3d/src/mesa/main/texformat.c
|
c6a6cc191813e8343a17b028146a34f193a6ce44 |
|
27-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add new signed rgba texture format This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own.
/external/mesa3d/src/mesa/main/texformat.c
|
4681a1d1eeb2aa8dfaf3af02c37e9ccd9a523565 |
|
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added 1D/3D fetch_texel functions for DUDV8
/external/mesa3d/src/mesa/main/texformat.c
|
114152e068ec919feb0a57a1259c2ada970b9f02 |
|
12-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add support for ATI_envmap_bumpmap add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
/external/mesa3d/src/mesa/main/texformat.c
|
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 |
|
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: merge gallium-0.2 into gallium-master-merge Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
|
33fa5e4bfad8005f09ad3c9fc92c40fa863935d1 |
|
28-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
Make GL_ARB_texture_compression mandatory Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texformat.c
|
4df482086ebf0663c708b089d8d8d22de0ef972c |
|
22-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: windows/VC8/mesa/osmesa/osmesa.vcproj windows/VC8/progs/demos/gears.vcproj windows/VC8/progs/progs.sln
|
dbda49a9e65f684ca46c7af84cc52d63b0622978 |
|
20-Jan-2009 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
Add RGBA4444 and RGBA5551 texture formats.
/external/mesa3d/src/mesa/main/texformat.c
|
374cf77b2f0f13f9380fb0c9d804222a83bdc2e0 |
|
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/drivers/dri/common/dri_util.c
|
241c0bfc985363bb15e6cc0eca859c6ec36d1b35 |
|
06-Jan-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug #19390)
/external/mesa3d/src/mesa/main/texformat.c
|
5bd093bd7b3711f88e1fd0fc9cdb37a18d7d24b9 |
|
12-Dec-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
mesa: fixes for srgb, new srgb formats add some more srgb texture formats, including compressed ones various fixes relating to srgb formats issues: _mesa_get_teximage is completely broken for srgb textures, both for non-compressed ones (swizzling) and compressed ones (shouldn't do standard-to-linear conversion) texelFetch function may be broken for little or big endian (or both...)
/external/mesa3d/src/mesa/main/texformat.c
|
3a3801c1431203fc4dca24d56577995ae2e78956 |
|
10-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/glapi/descrip.mms src/mesa/shader/grammar/descrip.mms
|
4741dbcbbc2514de370a760f4b78a17491014555 |
|
02-Oct-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Unify ARB_depth_texture and SGIX_depth_texture The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
/external/mesa3d/src/mesa/main/texformat.c
|
9614eac85df028bbb77a5073f2f1839bdaa308a0 |
|
15-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
/external/mesa3d/src/mesa/main/texformat.c
|
12dc9c99b9f15eb9e0c4f7cd493d776f6d4162ed |
|
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
move _mesa_format_to_type_and_comps() to texformat.c (cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)
/external/mesa3d/src/mesa/main/texformat.c
|
34a61c66fd1b625a5606b795d192a49632ff1787 |
|
22-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: refactor: move #define FEATURE flags into new mfeatures.h file Also, check the FEATURE flags in many places. (cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1) Conflicts: src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c
/external/mesa3d/src/mesa/main/texformat.c
|
dc44bb8e9208680379b31df01b4499c3a3bde5cb |
|
04-Sep-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Support for MESA_FORMAT_S8_Z24 texture cherry-picked from gallium-0.1
/external/mesa3d/src/mesa/main/texformat.c
|
090e212c0c5e54156c3c33f7eecdfe01398a7222 |
|
15-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
/external/mesa3d/src/mesa/main/texformat.c
|
a1524162bf838920ad965cd44ead97da29408e50 |
|
18-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Added _mesa_texstore_s8_z24
/external/mesa3d/src/mesa/main/texformat.c
|
e961a5da77cbcdb0e32400ec707c16fcfe9d7083 |
|
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add some #if FEATURE_x tests
/external/mesa3d/src/mesa/main/texformat.c
|
40d1a40f294f1ed2dacfad6f5498322fc08cc2d1 |
|
11-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move #define FEATURE flags into new mfeatures.h file Also, check the FEATURE flags in many places.
/external/mesa3d/src/mesa/main/texformat.c
|
2e3e5184176debb66bdd7f5f606cf95b7fee91bb |
|
09-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Most of the functions of MESA_TEXTURE_S8_Z24 are now supported
/external/mesa3d/src/mesa/main/texformat.c
|
f4535f6e5ae63d8c59428cf190a95e0eb4ae233d |
|
06-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Add MESA_FORMAT_S8_Z24 texture format None of the fetch and store functions implemented. This atleast stops shadowtex from locking the GPU on i915 with the linux-dri-x86 target. It most of it looks okay, with the exception of actually displaying the texture.
/external/mesa3d/src/mesa/main/texformat.c
|
42eac65da45fb58bffdf94ab8f9860d8cee5b256 |
|
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
move _mesa_format_to_type_and_comps() to texformat.c
/external/mesa3d/src/mesa/main/texformat.c
|
8d214bc8044e5027e3fa9302b259d0c557270b00 |
|
03-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for GL_EXT_texture_sRGB.
/external/mesa3d/src/mesa/main/texformat.c
|
a9bcf751030895494fc098f8d0ff56b2496bd993 |
|
06-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format. This allows render to depth texture (we don't support floating pt. Z buffers). Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32. Software fallback for glCopyTexImage now uses integer temporary image instead of float, eliminates a lot of float/int conversions.
/external/mesa3d/src/mesa/main/texformat.c
|
2794507289afcbfd6e2dd4f01b9fb404c507a587 |
|
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
plug in _mesa_texstore_z24_s8()
/external/mesa3d/src/mesa/main/texformat.c
|
1ad7b99925e044f82e635f746c1ef2df77f69ac9 |
|
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for GL_EXT_packed_depth_stencil extension. glReadPixels done, glDrawPixels mostly done.
/external/mesa3d/src/mesa/main/texformat.c
|
63b5b8eaff13b671fc1c749741f57fd7ed5890f8 |
|
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove a bunch texel fetch functions that can be handled by the new adaptor functions.
/external/mesa3d/src/mesa/main/texformat.c
|
4618a9bfc2cd57c47ddf3590782c751ec194d362 |
|
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places
/external/mesa3d/src/mesa/main/texformat.c
|
e4b2356c07d31fbeeabb13b2fb47db703b473080 |
|
04-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Major check-in of changes for GL_EXT_framebuffer_object extension. Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/main/texformat.c
|
a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 |
|
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
/external/mesa3d/src/mesa/main/texformat.c
|
defb035b6cf03c555318d9dd48864242ed036f39 |
|
13-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Another pass at implementing byte-swapped texture formats. More code re-use this time. Most formats now tested/debugged with new packedpixels.c test.
/external/mesa3d/src/mesa/main/texformat.c
|
8813cb56b0e5c61cfcf1a33ed887f46d4f5dbf09 |
|
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
yank bgr233 texformat. minor comment updates.
/external/mesa3d/src/mesa/main/texformat.c
|
a156b49800c1419785d0709b78ef0d35e6dab5df |
|
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added big-endian texture formats. Moved CI->RGBA palette lookup into texel fetch function.
/external/mesa3d/src/mesa/main/texformat.c
|
8f04c12e0ad876baa7eb9ed379e2b00150b376e0 |
|
27-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed the old teximage code. Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
/external/mesa3d/src/mesa/main/texformat.c
|
bc04d041eb0365913553cdea2c07b83dab8f5414 |
|
27-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
transfer routines for compressed formats (avoid SEGFAULT, also prepare for external packers)
/external/mesa3d/src/mesa/main/texformat.c
|
6e167151f950f024ece04716cc26f977a71fbc8c |
|
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
s,CHAN_BITS/8,sizeof(GLchan),
/external/mesa3d/src/mesa/main/texformat.c
|
3623733472905773957158444aff7d4606d640ff |
|
22-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some include file glitches
/external/mesa3d/src/mesa/main/texformat.c
|
f959f6e1dc27c71fc0ccc56e09b29101b3bf3b97 |
|
22-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
New glTexImage code. The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
/external/mesa3d/src/mesa/main/texformat.c
|
fe03108ce0349cf6016fc88b0496735a8db3e804 |
|
24-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some initial RGB and RGBA floating point texture formats.
/external/mesa3d/src/mesa/main/texformat.c
|
4f295cee73bae1f687efe2dc062522b40d90b1e4 |
|
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial support for floating point and signed texture formats. New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
/external/mesa3d/src/mesa/main/texformat.c
|
663a9e1b7ef7b8384abe2f81e1a8749b942f6d3a |
|
21-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
more texture compression
/external/mesa3d/src/mesa/main/texformat.c
|
40bd9d0b190e11d39350d1b08d2c2b28e3040bca |
|
29-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
texture compression
/external/mesa3d/src/mesa/main/texformat.c
|
6dc85575000127630489b407c50a4b3ea87c9acb |
|
17-Jul-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge Jose's documentation and core Mesa changes from embedded branch
/external/mesa3d/src/mesa/main/texformat.c
|
78233887446a8f5fe66d674caf1b7ee838647ac1 |
|
03-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
some texture compression odds & ends
/external/mesa3d/src/mesa/main/texformat.c
|
27558a160a9fe91745728d7626995cd88f8fe339 |
|
01-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
/external/mesa3d/src/mesa/main/texformat.c
|
05a4b37707d2c598ea68c05d07a3d65bcbf5a076 |
|
29-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated email addresses
/external/mesa3d/src/mesa/main/texformat.c
|
3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 |
|
25-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Header file clean-up: 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
/external/mesa3d/src/mesa/main/texformat.c
|
89fb06fcc11cbe3f23521312155d6c55d869f526 |
|
27-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new texture compression infrastructure
/external/mesa3d/src/mesa/main/texformat.c
|
c5b995066020191982b2315fc45d05e068eee761 |
|
21-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)
/external/mesa3d/src/mesa/main/texformat.c
|
3b4fbbc129c711a5aec8d653d5c6eb2e195f947c |
|
09-Jul-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer() indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
/external/mesa3d/src/mesa/main/texformat.c
|
4e9676fb13f60ecdbc247b120031f18cd3febcb0 |
|
29-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Applied Matt Sealey's patch to remove/isolate all stdio.h function calls. Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
/external/mesa3d/src/mesa/main/texformat.c
|
4753d60dd070bb08d0116076bcc08025c86ce857 |
|
15-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added ctx parameter to _mesa_debug() Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
/external/mesa3d/src/mesa/main/texformat.c
|
e4276667dafc8de0c6e64af8300fc7598437de6e |
|
15-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Enable GL_ARB_texture_compression for XMesa/GLX driver. Texture compression isn't really implmented. Just updated glTexImageXD() to accept compressed internal format tokens.
/external/mesa3d/src/mesa/main/texformat.c
|
1c85aa33321821b44bea83d3dee702ab4e05f406 |
|
20-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed a texture conversion problem: sometimes need to produce an intermediate texture image in the base internal format between user->Mesa format conversion. See comments in texstore.c
/external/mesa3d/src/mesa/main/texformat.c
|
2aacac9a5d14498149c7d493c6e4776db17ef925 |
|
05-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced IntFormat GL_BGRA with GL_RGBA, fixes problems calling _mesa_base_texture_format()
/external/mesa3d/src/mesa/main/texformat.c
|
7d58f44f73be59bd3583e6dfeedf56c43f7fbd55 |
|
04-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
More texture image changes. 1. Added ctx->Driver.ChooseTextureFormat() function. Examines user's internalFormat, format, type params and returns a gl_texture_format. 2. _mesa_store_teximage[123]d() calls ctx->Driver.ChooseTextureFormat(), allocates storage and transfers the image into the desired format. 3. _mesa_transfer_teximage() now takes a gl_texture_format to describe the destination format. Any combination of input format/type and output gl_texture_format is accepted. Uses optimized _mesa_convert_- texsubimage[123]d() functions when possible. 3. DRI driver's TexImage[123]D functions should be a lot simpler now.
/external/mesa3d/src/mesa/main/texformat.c
|
5e23af22f708a66695c0e44e599c26f02d8d4dcd |
|
30-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove all traces of CULL_MASK_ACTIVE.
/external/mesa3d/src/mesa/main/texformat.c
|
38f28665bf9fb5b2464738ca5074848ec2777ae1 |
|
28-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
More texture format updates. Drivers now need only plug an appropriate format into texImage->TexFormat, the rest is handled by core Mesa.
/external/mesa3d/src/mesa/main/texformat.c
|
81e3955acff2c366f9591bc3010ca0024c968d91 |
|
27-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed RGBA/RGB typo
/external/mesa3d/src/mesa/main/texformat.c
|
19d1e432612cf7db797da11793b13a6c1c6aac16 |
|
27-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Updates required for DRI drivers on mesa-3-5-branch.
/external/mesa3d/src/mesa/main/texformat.c
|
6b406bf09dc18f4d84ccb636d043c990a30da4e1 |
|
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove old code, fix a few comments.
/external/mesa3d/src/mesa/main/texformat.c
|
2c3d34c905fa6b831a066afae83b938de05eb241 |
|
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Port 3.4 texture utils, texture format work to 3.5 (including new FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
/external/mesa3d/src/mesa/main/texformat.c
|