summaryrefslogtreecommitdiff
path: root/src/mesa/main/formats.c
AgeCommit message (Expand)AuthorFilesLines
2016-05-03mesa: Account for block depth in _mesa_format_image_size()Anuj Phogat1-21/+23
2016-05-03mesa: Add an assert for BlockDepth in _mesa_get_format_block_size()Anuj Phogat1-0/+3
2016-05-03mesa: Add a helper function to query 3D block sizesAnuj Phogat1-0/+21
2016-05-03mesa: Add block depth field in struct gl_format_infoAnuj Phogat1-2/+2
2016-03-03mesa/main: Extend _mesa_get_format_bits to accept new pnamesAntia Puentes1-0/+6
2015-09-19mesa/formats: add MESA_LAYOUT_LATCNanley Chery1-11/+0
2015-09-02mesa/formats: 8-bit channel integer formats additionDave Airlie1-0/+43
2015-09-02mesa/formats: add some formats from GL3.3Dave Airlie1-0/+63
2015-08-26mesa/formats: define the 2D ASTC formatsNanley Chery1-0/+43
2015-08-26mesa/formats: pass correct parameter to _mesa_is_format_compressedDave Airlie1-1/+1
2015-08-25mesa/formats: remove compressed formats from matching functionNanley Chery1-47/+11
2015-08-25mesa/formats: make format testing a gtestNanley Chery1-151/+4
2015-08-24mesa/formats: store whether or not a format is sRGB in gl_format_infoNanley Chery1-24/+4
2015-08-24mesa/formats: only do type and component lookup for uncompressed formatsNanley Chery1-46/+43
2015-08-20Revert "mesa/formats: refactor by collapsing cases in switch statement by type"Nanley Chery1-17/+135
2015-08-19mesa/formats: refactor by collapsing cases in switch statement by typeNanley Chery1-135/+17
2015-08-19mesa/formats: add more MESA_FORMAT_LAYOUTsNanley Chery1-0/+6
2015-08-12mesa/formats: Don't flip channels of null array formatsJason Ekstrand1-1/+2
2015-08-12mesa/formats: Fix swizzle flipping for big-endian targetsJason Ekstrand1-4/+12
2015-08-12mesa/formats: Only do byteswapping for packed formatsJason Ekstrand1-3/+3
2015-06-11mesa/main: Don't use ONCE_FLAG_INIT as a r-value.Jose Fonseca1-1/+2
2015-06-11mesa/main: avoid null access in format_array_table_init()Juha-Pekka Heikkila1-0/+10
2015-04-27Fix a few typosZoë Blade1-1/+1
2015-03-18mesa: add void to format_array_format_table_init() declarationBrian Paul1-1/+1
2015-03-05mesa: rename format_info.c to format_info.hEmil Velikov1-1/+1
2015-03-02mesa/main: replace Elements() with ARRAY_SIZE()Brian Paul1-1/+1
2015-02-23mesa: Use assert() instead of ASSERT wrapper.Matt Turner1-2/+2
2015-01-22formats: Use a hash table for _mesa_format_from_array_formatJason Ekstrand1-12/+56
2015-01-19mesa: support GL_RGB for GL_EXT_texture_type_2_10_10_10_REVTapani Pälli1-0/+2
2015-01-12mesa: restrict use of GL_ABGR_EXT format to allowed data typesSamuel Iglesias Gonsalvez1-28/+0
2015-01-12mesa/formats: add new mesa formats and their pack/unpack functions.Samuel Iglesias Gonsalvez1-0/+104
2015-01-12mesa: Add a _mesa_is_format_color_format helperJason Ekstrand1-0/+19
2015-01-12mesa: Let _mesa_get_format_base_format also handle mesa_array_format.Iago Toral Quiroga1-3/+73
2015-01-12main: Add a concept of an array formatJason Ekstrand1-0/+57
2015-01-12mesa: Fix A1R5G5B5 packing/unpackingJason Ekstrand1-1/+2
2015-01-12mesa: Fix packing/unpacking of MESA_FORMAT_R5G6B5_UNORMJason Ekstrand1-6/+6
2014-09-17mesa: Add MESA_FORMAT_{A8R8G8B8, X8R8G8B8, X8B8G8R8}_SRGB (v2)Richard Sandiford1-0/+16
2014-09-17mesa: Add MESA_FORMAT_A8L8_{SNORM,SRGB}Richard Sandiford1-0/+10
2014-08-12mesa: Add the format enums for BPTC-compressed imagesNeil Roberts1-0/+20
2014-08-11mesa: add helper _mesa_is_format_etc2Marek Olšák1-0/+25
2014-08-05mesa/formats: Add layout and swizzle informationJason Ekstrand1-0/+46
2014-08-05mesa/formats: Remove IndexBitsJason Ekstrand1-2/+1
2014-08-05mesa/formats: Autogenerate the format_info structure from a CSV fileJason Ekstrand1-1738/+1
2014-06-30Remove the ATI_envmap_bumpmap extensionJason Ekstrand1-19/+1
2014-04-16mesa: Add helper function _mesa_is_format_integer()Anuj Phogat1-0/+9
2014-04-01mesa: Fix format matching checks for GL_INTENSITY* internalformats.Chris Forbes1-8/+12
2014-03-26Revert "mesa: Fix format matching checks for GL_INTENSITY* internalformats."Chris Forbes1-12/+8
2014-03-24mesa: Introduce a _mesa_format_has_color_component() helper.Kenneth Graunke1-0/+29
2014-03-25mesa: Fix format matching checks for GL_INTENSITY* internalformats.Chris Forbes1-8/+12
2014-03-10mesa: rename MESA_FORMAT_X8Z24_UNORM -> MESA_FORMAT_X8_UINT_Z24_UNORMBrian Paul1-4/+4