src/libGLESv2/formatutils.cpp


Log

Author Commit Date CI Message
Geoff Lang 1ec57f80 2013-10-16T11:43:23 Add support for GL_EXT_color_buffer_float. TRAC #23794 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 632192dd 2013-10-04T13:40:46 Added support for EXT_texture_rg in D3D9 and D3D11. TRAC #22423 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 85ea9abb 2013-10-10T13:50:34 Fixed the GL_FLOAT_32_UNSIGNED_INT_24_8_REV type having the incorrect number of bytes and allowed the depth stencil formats to specify that they have unused bits. TRAC #23540 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 005df41f 2013-10-16T14:12:50 Use GLenum instead of GLint to store internal format variables. TRAC #23785 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill 0e0510fd 2013-10-10T15:46:23 Place the method responsible for checking for fast pixel unpack buffer support into the Renderer. TRAC #23997 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang d1e9a9a6 2013-09-30T15:22:57 Add missing ES3 unsized internal formats and properly return 1 for alpha in integer formats with no alpha channel. TRAC #23949 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill 89a0bf50 2013-09-18T14:36:24 Add initial implementation for PixelTransfer11, which will enable GPU buffer to texture and texture to buffer copies. This is necessary for fast implementation of ES3 PBOs. TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 3466a4d0 2013-09-18T14:36:20 Add a helper method to return the number of components in a texture format. TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 666e2866 2013-09-10T12:04:29 Ensure the 'slice' pixel unpack/pack alignment is only aligned based on the row stride. TRAC #23837 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 1d855fed 2013-09-09T16:24:05 Fix an incorrect type entry for RGB565 in the ES3 formats table. TRAC #23823 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 18a44701 2013-09-09T16:24:04 Fix the format table entry for RGB10_A2UI to be RGBA_INTEGER instead of RGBA. Also add a missing format mapping. TRAC #23823 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang b2f3d05c 2013-08-13T12:49:27 Replaced the custom component type and SRGB bool with GLenums. TRAC #23474 Author: Geoff Lang Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang f23eb28c 2013-07-22T10:52:19 Cache the index ranges at the gl::Buffer and rx::IndexBuffer levels so that ranges do not need to be re-calculated for direct buffers. Issue #451 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Nicolas Capens 08be89da 2013-07-16T16:17:31 Make all depth formats texture filterable. TRAC #23532 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens
Jamie Madill b70e5f7c 2013-07-10T16:57:52 Add support for copying from BGRA formats in CopyTexSubImage*. This is necessary for copying from the offscreen texture, which we keep in BGRA to align with Chrome's D3D9 format. TRAC #23501 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Jamie Madill a940ae49 2013-07-08T17:48:34 Add the missing HALF_FLOAT_OES type to the type info table. TRAC #23479 Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Shannon Woods 9e73b210 2013-07-08T10:32:19 Marks formats renderable which had been missed and corrects table headers. TRAC #23273 Authored-by: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens
Geoff Lang a3495326 2013-06-18T15:16:15 Added ES3 internal format information about GL_DEPTH_COMPONENT32_OES and mapped DXGI_FORMAT_R32_TYPELESS textures to GL_DEPTH_COMPONENT32F. TRAC #23262 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang fe28ca06 2013-06-04T10:10:48 Added table entries for reading colors from D3D and DXGI formats and writing colors to format/type combinations. TRAC #23256 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 24159226 2013-06-05T14:56:32 Fixed a bug where GetBlueBits was returning the count of green bits. TRAC #23278 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 42b8b908 2013-06-05T16:08:21 Fixed a bug where GL_RBG565 was labled as a GL_RGBA internal format. TRAC #23279 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 18591b7c 2013-06-07T12:00:15 Capitalized the first letter of all private format util functions. TRAC #23212 Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 74eb9155 2013-05-29T16:09:05 Fixed GL_RGB4 not being marked as color renderable in ES3. TRAC #23243 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
shannonwoods@chromium.org d03f8970 2013-05-30T00:17:07 Added some missing format table entries. TRAC #23215 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2381 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 96c62911 2013-05-30T00:17:00 Added support for SRGB textures. TRAC #23046 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2380 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org e81ea50b 2013-05-30T00:16:53 Added a function to determine if an internal format is SRGB. TRAC #23046 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2379 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org ffab47de 2013-05-30T00:16:22 Added validation for CopyTexImage with integer textures. TRAC #23049 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2375 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org e19409b5 2013-05-30T00:16:15 Added helper functions for determining if an internal format is an integer or floating point format. TRAC #23049 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2374 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org a05127a6 2013-05-30T00:16:07 Added support for integer and unsigned integer texture formats. TRAC #23049 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2373 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 36d0be90 2013-05-30T00:15:59 Added support for SNORM texture formats. TRAC #23051 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2372 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org a43d829f 2013-05-30T00:15:50 Added support for GL_R11F_G11F_B10F textures. TRAC #23052 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2371 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 92b9cd57 2013-05-30T00:14:48 Added support for the GL_RGB9_E5 format. git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2363 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org a32a2ba4 2013-05-30T00:14:40 Added support for GL_RED and GL_RG texture formats. TRAC #22955 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2362 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 5d4468e9 2013-05-30T00:13:56 Add support for GL_UNSIGNED_INT_2_10_10_10_REV textures. TRAC #22956 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2356 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org a2ecfccc 2013-05-30T00:11:59 Moved utilities.h/cpp and mathutils.h to the shared common code folder. The HLSL translator needs to compute the sizes of various GL types for computing block layouts. TRAC #22930 Signed-off-by: Nicolas Capens Signed-off-by: Geoff Lang Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2342 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org b8490f3c 2013-05-30T00:08:00 Created new helper functions for converting texture formats, loading images and generating mipmaps." TRAC #22972 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2313 736b8ea6-26fd-11df-bfd4-992fa37f6226