src/libGLESv2/renderer/TextureStorage11.cpp


Log

Author Commit Date CI Message
shannon.woods@transgaming.com 81ae58ac 2013-02-28T23:20:51 Image11 now generates multiple mip levels in its staging texture if a lod offset is required. TextureStorage11::updateSubresourceLevel now takes a subresource index on the source texture and copies to the correct subresource if mLodOffset is non-zero. TRAC #13332 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1972 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com c22e3604 2013-02-28T23:20:39 Fixed a bug where the wrong number of mip levels would be generated if levels was zero and the lod offset was non-zero. TRAC #13332 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1970 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com d89f1943 2013-02-28T23:18:27 Fix ViewDimension for texture cube SRVs to always be specified as a texture cube. This caused a D3D11 error on D3D10-only systems. TRAC #22662 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1950 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com bdf2d80f 2013-02-28T23:16:20 Add precompiled header support for the libGLESv2 project. TRAC #22518 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1938 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 486d9e9b 2013-02-28T23:15:41 Remove a lot of unnecessary include files and break include chains. This should speed up incremental compile times when modifying headers, by reducing the number of dependencies. TRAC #22518 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1937 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 96c21eea 2013-02-28T23:13:45 Initialize shader resource view member to NULL. TRAC #22595 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1918 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 7ae9e7fc 2013-02-28T23:13:27 Image11 and TextureStorage11 make sure sizes are aligned properly. TRAC #22422 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1915 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 53b0ecb8 2013-02-28T23:13:21 Moved common members in TextureStorage11_2D and TextureStorage11_Cube into TextureStorage11. TRAC #22422 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1914 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 5b2d855f 2013-02-28T23:12:32 TextureStorage11 classes now create shader resource views for depth stencils. TRAC #22500 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1908 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 7e23285f 2013-02-28T23:06:15 Added a texture object to RenderTarget11. TRAC #22416 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1867 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com ddd6c80e 2013-02-28T23:05:14 Add the ability to recover from a removed device (TDR or driver removal) to the D3D11 code path. TRAC #22411 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1857 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 779aa261 2013-02-28T23:04:58 Enclose error(GLint) and error(EGLint) into gl and egl namespaces. This should generate a compile time error if we try to call the wrong function. TRAC #22411 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1856 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com eec5c630 2013-02-28T23:04:21 Add support for more depth buffer formats in our EGLConfigs. This includes no depth buffer and 16-bit depth buffer with no stencil buffer. TRAC #22496 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1851 736b8ea6-26fd-11df-bfd4-992fa37f6226
apatrick@chromium.org 8b400b1e 2013-01-30T21:53:40 Do not use dynamic_cast if RTTI is disabled. Review URL: https://codereview.appspot.com/7250043 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1808 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 85bdfce9 2013-01-25T21:51:07 Implemented TextureStorage11*::generateMipMap. #22355 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1750 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 183408d0 2013-01-25T21:50:07 RenderTarget11 now stores a shader resource. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1744 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 858d32fa 2013-01-25T21:49:59 Texture storage now has deferred creation of all render targets and shader resources. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1743 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com f2685e5f 2013-01-25T21:49:42 Removed the levels parameter from initializeSRV since it is the same as mMipLevels. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1741 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 4b472353 2013-01-25T21:14:56 TextureStorage11 classes now store a render target to each mip level. Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1736 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 1e1b5e91 2013-01-11T04:11:27 Release leaked SRVs in TextureStorage11. TRAC #22231 Signed-off-by: Jamie Madill Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1697 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b1154551 2013-01-11T04:11:02 Caches MipLevel in TextureStorage11, to avoid repeated GetDesc calls. TRAC #22341 Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1693 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 442cdc19 2013-01-11T04:09:49 Fixes bugs in rendering to textures. TRAC #22365 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1683 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a0b868aa 2013-01-11T04:08:27 When creating ShaderResourceViews, -1 should be used for 'all MipLevels', not 0. TRAC #22337 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1670 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5cdd0586 2013-01-11T04:07:35 Fixes places where TextureStorage could have leaked memory during initialization. TRAC #22250 Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1661 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b50d5302 2013-01-11T04:07:29 Create ShaderResourceViews for TextureStorage objects TRAC #22250 Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1660 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 11861cec 2013-01-11T04:07:00 SUCCEEDED assertions fixed. Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1655 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 9a2f54db 2013-01-11T04:06:36 Adds a function to update a level of a TextureStorage from another resource. TRAC #22210 Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1651 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b2151e55 2013-01-11T04:06:24 Adds cube descendant of TextureStorage11 TRAC #22209 Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1649 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4834ee2c 2013-01-11T04:06:16 Adds TextureStorage11 class and 2D descendant TRAC #22009 Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1648 736b8ea6-26fd-11df-bfd4-992fa37f6226