|
79031cb5
|
2013-08-12T12:55:17
|
|
TextureStorage11::updateSubresourceLevel will now use the blitter if it is updating a depth stencil texture.
TRAC #23531
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
ea228635
|
2013-07-30T15:17:12
|
|
Use SafeRelease and SafeDelete to make sure released objects are NULL and will cause proper errors if referenced again.
TRAC #23617
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
1294924f
|
2013-07-29T15:22:42
|
|
Fixed a bug where cube depth stencils used the wrong format and didn't set the D3D11_DEPTH_STENCIL_VIEW_DESC::Flags member.
TRAC #23608
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
4d782730
|
2013-07-22T10:44:18
|
|
RenderTarget11::get* calls no longer add references to the D3D resources.
Issue #451
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
d6cb2443
|
2013-07-10T15:13:38
|
|
Add a client version parameter to several D3D11-specific texture format queries.
TRAC #23483
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Authored-by: Jamie Madill
|
|
b0c75cc9
|
2013-06-04T17:13:27
|
|
Added support for copying GL_RG, GL_RED and integer texture formats in Blit11.
TRAC #23256
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
b86b979d
|
2013-06-04T16:32:05
|
|
Refactored the Renderer11::copyTexture method into a Blit11 class.
TRAC #23256
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
b13f866e
|
2013-06-04T13:30:19
|
|
Disambiguate getRenderTarget calls.
TRAC #22705
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Nicolas Capens
|
|
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
|
|
d38d66e4
|
2013-05-30T00:09:16
|
|
Updated the RenderTarget and TextureStorage classes to use new texture format 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@2322 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
adc56358
|
2013-05-30T00:09:08
|
|
Texture storage classes determine the bind flags through the new helper methods.
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@2321 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
06d4e84f
|
2013-05-30T00:04:42
|
|
Add a roundUp math utility function that rounds an integral value up to a nearest multiple.
TRAC #22852
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2286 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
7b61d5ce
|
2013-05-30T00:04:12
|
|
Renderer11::copyTexture can now copy 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@2282 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
15a8b1f6
|
2013-05-30T00:03:54
|
|
TextureStorage11_3D can generate render targets for the entire texture now as well as each layer.
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@2280 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7faf3ec7
|
2013-05-30T00:03:45
|
|
RenderTargets now store a depth value.
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@2279 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
6c86bd5f
|
2013-04-13T03:45:45
|
|
Created the TextureStorageInterface2DArray 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@2176 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
96973378
|
2013-04-13T03:45:39
|
|
Added a TextureStorage11_2DArray 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@2175 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
63b3b8f9
|
2013-04-13T03:43:26
|
|
Removed some extra overloads of TextureStorage::getRenderTarget and added a method to get the render target of a Texture3D layer.
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@2164 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2058d64a
|
2013-04-13T03:42:50
|
|
Added 3D texture classes for TextureStorage and TextureStorageInterface.
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@2161 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|