src/libGLESv2/Texture.cpp


Log

Author Commit Date CI Message
Geoff Lang cebb5aa0 2014-04-07T14:13:40 Fix warnings about unreferenced local variables. BUG=angleproject:602 Change-Id: I2eb04fe6eed60b3877b14628e81c0b1fe3b68647 Reviewed-on: https://chromium-review.googlesource.com/193431 Tested-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Nicolas Capens bf712d0a 2014-03-31T14:23:35 Remove max level from texture storage. BUG=angle:596 Change-Id: I174e3b73c0cb675b5c9aea5722a7051a34639831 Reviewed-on: https://chromium-review.googlesource.com/192340 Tested-by: Nicolas Capens <nicolascapens@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
Nicolas Capens fa7b76d0 2014-03-31T14:51:45 Remove base level from texture storage. BUG=angle:596 Change-Id: I66173f77b6c5aed3b8836cd2c9f1da02ae769429 Reviewed-on: https://chromium-review.googlesource.com/192056 Tested-by: Nicolas Capens <nicolascapens@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Nicolas Capens f61738a5 2014-03-31T14:50:18 Rename lod offset to top level. BUG=angle:596 Change-Id: Ic256445528d6587adcf0adfd8aaba5e47778988b Reviewed-on: https://chromium-review.googlesource.com/192055 Tested-by: Nicolas Capens <nicolascapens@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang 98705b7d 2014-03-31T16:00:03 Fix off-by-one error with the number of storage mip levels. This caused there to be too few mip levels in the TextureStorage and it would be discarded if there was a modification to a lower mip. Also modified Texture::mipLevels to return the number of mip levels rather than the index of the smallest mip to avoid confusion. Fixes WebGL D3D9 conformance failures in: mipmap-fbo BUG=angleproject:550 Change-Id: Idf3f543487232edceb520337331b39dab2bd26ba Reviewed-on: https://chromium-review.googlesource.com/192341 Reviewed-by: Nicolas Capens <nicolascapens@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
Jamie Madill 2a20562f 2014-02-12T10:41:24 Fix depth texture validation in ES2 contexts. We were checking for extra conditions that apply to ES3 within all ES2 contexts, causing the webgl depth texture conformance test to fail. BUG=angle:550 Change-Id: Iae9a4880b9efc6be8c6857bce27a47d42fecc23a Reviewed-on: https://chromium-review.googlesource.com/186122 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
Geoff Lang cbf727ae 2014-02-10T12:50:45 Remove references to D3D formats in the Texture class. Change-Id: I67add42cc69ec372840c67656bd2c77c623b23d0 Reviewed-on: https://chromium-review.googlesource.com/185567 Reviewed-by: Nicolas Capens <nicolascapens@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
Jamie Madill 648c9683 2014-01-21T16:50:58 Minor optimizations to texture functions. By shuffling some parameters and calls around we can reduce the number of function calls we run for texture operations. Change-Id: If6d14cb6dff668cdfcb2f1fe6705e0d488dbc03f Reviewed-on: https://chromium-review.googlesource.com/183582 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
Jamie Madill c30003d6 2014-01-10T12:51:23 Fix zero-size textures and unpack buffers. We would sometimes attempt to use a NULL staging texture when initializing a zero size texture when using unpack buffers. Change-Id: I2e03141c19d9c47eeffb0d56c03bcfe476a9e48d Reviewed-on: https://chromium-review.googlesource.com/181781 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Nicolas Capens <nicolascapens@chromium.org> Commit-Queue: Nicolas Capens <nicolascapens@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
Jamie Madill b8f8b89b 2014-01-07T10:12:50 Fix using wrong value for array size in 2D array storage. We were incorrectly calling Texture::getBaseLevelDepth() which was correctly reporting the number of 3D slices of the texture (1). Also rename Texture2DArray::getDepth to getLayers for clarity. Change-Id: I1968cbcb0a3528bb76ec3e4ea4148e5dc0f302c7 Reviewed-on: https://chromium-review.googlesource.com/181553 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
Geoff Lang bc90a480 2013-09-17T16:51:27 Added TEXTURE_SWIZZLE_* parameters to the texture sampler state and API queries. Change-Id: I20aff392ec4cd9e49424afae94a862fdd8eef9b8 Reviewed-on: https://chromium-review.googlesource.com/177030 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Jamie Madill 6b7440ca 2013-10-24T17:49:47 Remove TextureStorage::GetActualLevelCount. TRAC #23978
Jamie Madill 4cfff5f3 2013-10-24T17:49:46 Modify texture storage classes to store a base and max level, instead of a range of levels. TRAC #23978 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 07bb8cf4 2013-10-24T17:49:44 Remove Texture::levelCount() and replace it with isValidLevel(). TRAC #23978 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill 51a94370 2013-10-24T17:49:43 Replace API queries of immutable texture level count with a specialized function. TRAC #23978 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 2ebab858 2013-10-24T17:49:42 Remove Texture::getStorage, which is no longer needed after the previous refactorings. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 884a4626 2013-10-24T17:49:41 Refactor storage management in Texture2DArray. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill e664e206 2013-10-24T17:49:40 Refactor storage management in Texture3D. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 3c0989c6 2013-10-24T17:49:39 Refactor storage management in TextureCube. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 73b5d06e 2013-10-24T17:49:38 Refactor texture storage management in the Texture2D. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 169d1118 2013-10-24T17:49:37 Rename Texture and Image methods which operate on storage objects to refer to storage instead of textures. TRAC #23961 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 22f843a1 2013-10-24T17:49:36 Make a virtual method Texture::mipLevels to return the value of mip levels defined as in the GL spec. Also known as the "q" function. TRAC #23961 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 2db197cd 2013-10-24T17:49:35 Use a consistent naming scheme for the cube map face index variables in Texture.cpp. TRAC #23961 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill d4589c97 2013-10-24T17:49:34 Simplify passing the texture usage parameters through the texture classes. Avoid passing a raw GLenum when possible. TRAC #23961 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill e83d1a93 2013-10-24T17:49:33 Change Texture::convertToRenderTarget to ensureRenderTarget, which tries to convert a storage to a RT if it isn't already. TRAC #23961 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill d9b9a508 2013-10-10T17:46:13 Instead of checking if a texture is mipmap complete before we update the storage, only update complete storage levels. TRAC #23996 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill aee7ad88 2013-10-10T16:07:32 Only update the currently active render target level in getRenderTarget, instead of the whole texture. Also add a few more ASSERTs to the texture level update methods. TRAC #23996 Signed-off-by: Geoff Lang 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 ba4f10a3 2013-10-10T15:12:20 Support pixel unpack buffers in TexSubImage3D. TRAC #23847 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill a2d4e55d 2013-10-10T15:12:01 Add support for pixel unpack buffers to TexImage3D. TRAC #23846 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill 065e1a32 2013-10-10T15:11:50 Add support for pixel unpack buffers to TexSubImage2D. TRAC #23845 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 8cc7d975 2013-10-10T15:51:55 Refactor the fast path for pixel unpack buffers, and fix a few validation gaps with texture completeness. TRAC #23997 Signed-off-by: Geoff Lang 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 d47e0fcc 2013-08-29T11:40:43 Split the d3d9 and d3d11 backends into folders and updated the gyp file to use a python script to generate the file lists for the libGLESv2 and libEGL projects.
Jamie Madill 152ed093 2013-10-09T17:01:15 Do not dereference a NULL pointer when retrieving the base level image of an empty 2D array texture. TRAC #23957 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang d311019e 2013-09-24T11:52:47 Fix incorrect mip sizes for cube maps when creating them with TexStorage2D. TRAC #23913 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill c1f8b16b 2013-10-07T10:46:38 Move validation of API errors out of Texture*::generateMipmaps() to the API. TRAC #23959 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill d3d2a342 2013-10-07T10:46:35 Add methods to return the properties of the base level image of a texture. We can call these of any texture type. These methods are only well-defined for complete textures (IE, not cube maps with one face defined in one level). TRAC #23957 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang 63b5f1fd 2013-09-23T14:52:14 Removed parameter validation from Texture::set* calls since validation is already done in ValidateTexParamParameters. TRAC #23908 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill 1beb1db8 2013-09-18T14:36:28 Enable unpack buffer support for initializing 2D textures in TexImage2D. TRAC #23843 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 88f18f45 2013-09-18T14:36:19 Use the context's PixelUnpackState as an argument to Texture's implementation of setImage and subImage. We need to access the current unpack buffer for our implementation of PBOs. TRAC #23840 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill abef6807 2013-09-05T16:54:19 Remove an unnecessary and non-compliant format check from the SubImage family of calls. We were overly restricting the user's input data for SubImage calls. TRAC #23834 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang 0bbd11c1 2013-08-21T14:42:01 Fix Texture2DArray calling Texture::set/subImage with invalid pointers when the pixels pointer is NULL. TRAC #23767 Author: Geoff Lang Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang e836cf2a 2013-08-05T14:12:37 Fixed a bug where height was used instead of width to calculate a mip size. TRAC #23669 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang ed573c25 2013-08-05T14:11:51 Fixed a bug where the parameters to gl::GetDepthPitch were passed in the wrong order. TRAC #23669 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang d5d8e393 2013-07-25T16:53:03 Added Renderbuffers for 3D and 2DArray textures. TRAC #23470 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 8040f57d 2013-07-25T16:49:54 Updated Renderbuffers, Textures and TextureStorageInterface to be aware of render targets which are based on miplevels and layers other than zero. TRAC #23470 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 4907f2c4 2013-07-25T12:53:57 The Texture class now stores the target instead of using a virtual method. TRAC #23470 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Jamie Madill f898990d 2013-07-19T16:36:58 Pass a SamplerState as a parameter to Texture::isSamplerComplete, instead of using the internal SamplerState. TRAC #23453 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Jamie Madill 07edd448 2013-07-19T16:36:58 Change the checks for texture completeness in Texture*::copySubImage to only check if the specified level is complete. This removes the dependency between copySubImage and isSamplerComplete, which makes operation with sampler objects simpler. TRAC #23453 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Jamie Madill eb3665c2 2013-07-19T16:36:57 Do not check the texture's filtering mode in Texture*::updateTexture, instead check the texture's dirty flags. With sampler objects, it becomes difficult to rely on the texture filtering mode state to determine if mipmapping is going to be enabled in the texture, as sampler object may or may not override the texture internal state. TRAC #23453 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Geoff Lang c82fc413 2013-07-10T14:43:42 Added support for TEXTURE_COMPARE_MODE and TEXTURE_COMPARE_FUNC sampler states. TRAC #23394 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang dce735c3 2013-06-04T10:21:18 Renamed the Blit class to Blit9. TRAC #23256 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
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 f6fb959e 2013-05-30T00:09:40 Replaced remaining uses of old texture conversion functions in gl objects. 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@2325 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 557aab05 2013-05-30T00:08:27 Texture image setting functions use the refactored texture conversion and loading functions. 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@2316 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 4ad58e08 2013-05-30T00:08:11 Texture::setImage methods now have an internal format parameter, if the internal format is unsized, a sized one is computed so that Texture classes always store sized internal formats. 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@2314 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 89200d93 2013-05-30T00:07:50 Split the floating point texture queries into individual methods and mark all support methods as const. 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@2312 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 37b8a91a 2013-05-30T00:04:21 Implemented mipmap generation for 3D textures. TRAC #22926 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2283 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 30aa1a9f 2013-05-30T00:03:13 Implemented mipmap generation for 2D array textures. TRAC #22927 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2276 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 644f766c 2013-05-30T00:02:07 Texture2DArray now uses dynamically allocated arrays to store Image objects. TRAC #22918 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2267 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 7625f798 2013-04-13T03:46:07 Created the Texture2DArray class. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2178 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 56074f33 2013-04-13T03:45:30 Image::redfine now takes a target parameter, Image11 creates an appropriate resource based off of the target. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2174 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 9599656a 2013-04-13T03:44:58 Created a gl::Texture3D class. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2169 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 0b3a8dfb 2013-04-13T03:44:51 Added the GL_TEXTURE_WRAP_R parameter. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2168 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com e5dcce75 2013-04-13T03:44:33 Updated Image::copy to have a zoffset parameter. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2166 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 4760c563 2013-04-13T03:42:30 Added depth parameters to all image loading functions. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2159 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 5016f8e4 2013-02-28T23:20:57 Removed lod level subtraction since TextureStorage::levelCount already subtracts the lod level. 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@1973 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com e2e9798b 2013-02-28T23:18:50 Only discard the storage texture when there is a mismatch with its mipmap chain. TRAC #20587 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1954 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 8a406684 2013-02-28T23:15:26 Don't discard texture storage when redefining and image to generate mip maps. TRAC #22632 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1935 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 6bb4886c 2013-02-28T23:09:34 Fix the conversion of textures to rendertargets to use the right number of mip levels if we already initialized storage. When a texture was initialized with glStorage2DEXT or similar, the conversion to RT could change the number of mips. TRAC #22560 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1894 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 29c36410 2013-01-25T21:53:40 Fix assert error triggered in D3D11 path when we redefine textures to GL_NONE. Instead internally convert them between GL_NONE and DXGI_FORMAT_UNKNOWN. TRAC #22463 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1769 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 664916b7 2013-01-25T21:50:32 Renderer::copyImage now uses the ANGLE rectangle structure instead of the windows one. 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@1747 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4d036457 2013-01-11T21:16:22 Remove all possible libEGL includes from libGLESv2 Trac #22394 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1715 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3c17ba65 2013-01-11T04:11:41 Removed the dirty parameters flag from Texture. TRAC #22248 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1699 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d8353dd8 2012-12-20T21:11:14 Removes extraneous D3D9-ims in TextureStorage code. TRAC #22300 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1615 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 87705f82 2012-12-20T21:10:45 Renames classes in the TextureStorage heirarchy for clarity TRAC #22300 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1613 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 34da397e 2012-12-20T21:10:29 Moves TextureStorage class to TextureStorage9, mostly. TRAC #22300 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1612 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4ba24067 2012-12-20T20:54:24 Migrate Image to Image9 and add an abstract base TRAC #22254 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1572 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com f721fdbd 2012-12-20T20:53:11 Moves GenerateMipmap function to the Renderer TRAC #22254 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1571 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c5c806d3 2012-12-20T20:52:53 Passes a base-class Renderer pointer to Image where needed, instead of Renderer9 TRAC #22254 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1570 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 244e1838 2012-12-20T20:52:35 Adds a function to the Renderer which will return a newly created Image. TRAC #22254 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1569 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d9ec9022 2012-12-20T20:52:16 Changes the Image array contained in Texture classes to an array of Image pointers. TRAC #22254 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1568 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d186dc7f 2012-11-28T19:40:16 Pass the RenderTarget, not the D3D surface, up the Renderbuffer heirarchy. TRAC #22094 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1449 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a27e05ba 2012-11-28T19:39:42 Split the swap chain into an abstract interface and a D3D9 implementation. TRAC #21926 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1445 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 31b13e1f 2012-11-28T19:34:30 Moves Image & Renderer into rx namespace TRAC #22002 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1414 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com de8a7fff 2012-11-28T19:34:13 Moves the Blitter into the Renderer's domain TRAC #22001 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1413 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 1d80eeec 2012-11-28T19:33:31 Moves copyToRenderTarget to Renderer TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1409 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ea32d48b 2012-11-28T19:33:18 Removes getDisplay and getContext calls TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1408 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a9571686 2012-11-28T19:33:08 Moves ConvertTextureInternalFormat to the Renderer TRAC #22000 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1407 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 70062c98 2012-11-28T19:32:30 Passes the Renderer to various objects at construction time. TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1406 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 370482e7 2012-11-28T19:32:13 Pass the Renderer to the ResourceManager at construction time. TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1404 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 76d3e6e0 2012-10-31T19:55:33 Rename renderer namespace to rx Trac #21999 Author: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1379 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3cef5391 2012-10-31T19:52:15 Alters the blitter's copy function so that you can pass a framebuffer to it directly. TRAC #21910 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1375 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0ad830bf 2012-10-31T19:52:12 Moves mipmap generation to texture storage and image objects. TRAC #21910 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1374 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 690d8aea 2012-10-31T19:52:08 Moves copyToRenderTarget operation into texture storage object. TRAC #21910 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1373 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 9d4346f0 2012-10-31T19:52:04 Eliminates getD3DTexture, instead returning the texture storage object. TRAC #21910 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1372 736b8ea6-26fd-11df-bfd4-992fa37f6226