|
771ca2a1
|
2013-02-28T23:14:52
|
|
Fix regression in point sprite geometry shader scaling.
Broken in #22428.
TRAC #22551
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1929 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d8136cbb
|
2013-02-28T23:14:44
|
|
Validate the number of uniform vectors.
TRAC #22571
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1928 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a4ba59c6
|
2013-02-28T23:14:38
|
|
Add handling for certain cases of D3D9Ex device lost.
This will allow us to handle TDR restarts on newer machines. We still don't handle D3DERR_DEVICEREMOVED.
TRAC #22492
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1927 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d3d4208e
|
2013-02-28T23:14:31
|
|
Use optimization level 0 for D3D11.
TRAC #22516
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1926 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
31c4f235
|
2013-02-28T23:14:18
|
|
Fix D3D11 errors where the application passes in QNAN to glPolygonOffset or for the viewport bounds.
TRAC #22565
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1924 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ce3128ad
|
2013-02-28T23:14:13
|
|
Fix using polygonOffsetUnits in place of polygonOffsetFactor in the D3D11 path.
TRAC #22565
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1923 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
51cb88e4
|
2013-02-28T23:14:07
|
|
Use actualFormat instead of internalFormat for checking if we can do a fast copy in Image11::copy.
TRAC #22586
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1922 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a7c7bc49
|
2013-02-28T23:14:02
|
|
Add the proper data offset in Image11::copy, for the slow pixel copy method.
TRAC #22586
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1921 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2c53e478
|
2013-02-28T23:13:56
|
|
Clear the Geometry Shader state in Renderer11::maskedClear.
TRAC #22569
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1920 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
|
|
50ea993e
|
2013-02-28T23:13:40
|
|
Fixed the alpha blend mask not being initialized for masked clears.
TRAC #22590
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1917 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
09f326b0
|
2013-02-28T23:13:34
|
|
Implemented Renderer11:getDXT1/3/5TextureSupport.
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@1916 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
|
|
a24d646b
|
2013-02-28T23:13:14
|
|
Added a utility function to determine required texture size alignments.
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@1913 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fd86c2ce
|
2013-02-28T23:13:07
|
|
Change the max reported viewport size to be the same as the maximum texture size in D3D11.
This fixes a regression in the WebGL conformance test "drawingbuffer-test".
TRAC #22582
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1912 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
cfdfd463
|
2013-02-28T23:13:01
|
|
Fix the y offset of Renderer11::copytexture to correct the inverted output image.
Was breaking the WebGL conformance test copy-tex-image-and-sub-image.
TRAC #22589
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1911 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
09bf2a79
|
2013-02-28T23:12:54
|
|
Use Map/Unmap instead of UpdateSubResource for uniforms.
TRAC #22480
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1910 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
315b6403
|
2013-02-28T23:12:46
|
|
Renamed and reorganized the vertex conversion tables in VertexBuffer9.
TRAC #22552
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1909 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
|
|
955014de
|
2013-02-28T23:12:24
|
|
Added utility functions for converting depth stencil DXGI_FORMATs.
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@1907 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4e91d566
|
2013-02-28T23:12:09
|
|
Isolate D3DCompiler.h include to just the cpp files that need it, instead of every file that uses the renderer.
TRAC #22499
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1905 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d2811d68
|
2013-02-28T23:11:19
|
|
Break some of the include chains that cause unneeded dependencies between headers.
TRAC #22499
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1904 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b01158b2
|
2013-02-28T23:10:59
|
|
Change filter organization for the Renderer source files, further subdivided between 9 and 11.
TRAC #22499
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1903 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8d8814b7
|
2013-02-28T23:10:53
|
|
Remove D3D9 header included in the D3D11 path, and some references to D3DERR.
TRAC #22499
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1902 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a9a509e0
|
2013-02-28T23:10:44
|
|
Fixed a bug where the streaming buffer would not get space reserved if a higher index static buffer was invalidated.
TRAC #22543
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1901 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
709fee97
|
2013-02-28T23:10:37
|
|
Refactored calculation if a vertex buffer can do direct storage into a helper function.
TRAC #22543
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1900 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
15de0f9b
|
2013-02-28T23:10:31
|
|
Moved duplicate code.
TRAC #22428
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1899 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
13979a6c
|
2013-02-28T23:10:18
|
|
Optimized applying DX11 uniforms with memcpy.
TRAC #22428
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1898 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2494c97a
|
2013-02-28T23:10:03
|
|
Store integer and boolean uniforms in 4-element vectors.
TRAC #22428
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1897 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
cd714ef2
|
2013-02-28T23:09:50
|
|
Store boolean uniforms as 32-bit integers.
TRAC #22428
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1896 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a14ecf36
|
2013-02-28T23:09:42
|
|
Eliminate unused DX11 driver uniforms.
TRAC #22428
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1895 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
28e7ba01
|
2013-02-28T23:09:28
|
|
Fix clearing the geometry shader state in copytexture, and errors generated by a BGRA backbuffer format.
TRAC #22545
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1893 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8d2f086a
|
2013-02-28T23:09:19
|
|
Only advertise postSubBuffer extension if we can actually present less than the whole buffer.
This is not available in D3D11, though it is added in D3D11.1.
TRAC #22506
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1892 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0bbb08d9
|
2013-02-28T23:09:11
|
|
Fix the SwapChain11::swapRect x and y coordinates to reference the lower left corner at (0,0).
TRAC #22506
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1891 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3e3da583
|
2013-02-28T23:09:03
|
|
Allow zero sized system window FBO to be declared complete, and let the application use them for rendering.
TRAC #22548
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1890 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8c6d9df2
|
2013-02-28T23:08:57
|
|
Ensure we do not try to create a swapchain with dimensions smaller than 1x1.
TRAC #22548
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1889 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2df7d8e1
|
2013-02-28T23:08:49
|
|
Fix a regression when drawing point sprites with a non-one-valued w coordinate.
TRAC #22551
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1888 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a1229a3a
|
2013-02-28T23:08:40
|
|
Index data manager uses direct buffers for indices if possible.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1887 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
db1899ce
|
2013-02-28T23:08:33
|
|
VertexDataManager now supports direct buffers when vertex conversion is not needed.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1886 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d212e620
|
2013-02-28T23:08:25
|
|
VertexBuffer has a new abstract method to determine if conversion is required for a given attribute type.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1885 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4587fee9
|
2013-02-28T23:08:18
|
|
Added an identity flag to VertexBuffer11's conversions.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1884 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
76655416
|
2013-02-28T23:08:09
|
|
gl::Buffer now uses an rx::BufferStorage to store the data.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1883 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4e52b635
|
2013-02-28T23:08:01
|
|
Added a BufferStorage creation method to renderer.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1882 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
70c856f6
|
2013-02-28T23:07:53
|
|
Created a BufferStorage11 class.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1881 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b91187c6
|
2013-02-28T23:07:45
|
|
Created a BufferStorage9 class.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1880 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1dc3956e
|
2013-02-28T23:07:37
|
|
Created a BufferStorage abstract class.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1879 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9cdced65
|
2013-02-28T23:07:31
|
|
Implemented Renderer11::getFloat*TextureSupport.
TRAC #22502
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1878 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
43ccf3f8
|
2013-02-28T23:07:19
|
|
Fix a regression with point sprites where the geometry shader state was not properly updated.
This was breaking the ES2 point sprites conformance test.
TRAC #22544
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1876 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8ce2f8f8
|
2013-02-28T23:07:10
|
|
Implement larger bounds for viewports and scissor rectangles in D3D11.
This fixes a bug where we would not allow the application to draw outside the viewport, which is valid.
TRAC #22497
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1875 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b3560255
|
2013-02-28T23:07:04
|
|
Add a simple Range type to represent an integer 1D range.
TRAC #22497
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1874 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1abd7974
|
2013-02-28T23:06:58
|
|
Enable anisotropic filtering support on the D3D11 path.
TRAC #22504
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1873 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c71ca75a
|
2013-02-28T23:06:50
|
|
Add support for resizing the window without recreating the swap chain in D3D11.
TRAC #22406
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1872 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
07765506
|
2013-02-28T23:06:43
|
|
Don't convert normalized integer types, they are interpreted as floating-point in the shader.
TRAC #22440
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1871 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
291266b4
|
2013-02-28T23:06:37
|
|
Implemented Renderer11::getLuminance*TextureSupport
TRAC #22503
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1870 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ea4a0c66
|
2013-02-28T23:06:29
|
|
Changed the rectangle arguments of Renderer11::blitRect from pointers to const references since they are never null or modified.
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@1869 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1e1deda4
|
2013-02-28T23:06:23
|
|
Implemented Renderer11::blitRect for render targets.
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@1868 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
|
|
d67f9ce0
|
2013-02-28T23:06:09
|
|
Added a helper Renderer11::resolveMultisampledTexture method.
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@1866 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c25537e7
|
2013-02-28T23:06:03
|
|
Fixed a rounding bug in copyTexture and removed a redundant parameter blend state setting.
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@1865 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ae84f738
|
2013-02-28T23:05:57
|
|
RenderTarget11 now creates multisampled render targets.
TRAC #22417
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1864 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b3f4be07
|
2013-02-28T23:05:52
|
|
RenderTarget11 converts the format again for mActualFormat to match RenderTarget9.
TRAC #22417
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1863 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
88fbd0fe
|
2013-02-28T23:05:46
|
|
Added a Renderer11::getNearestSupportedSamples method.
TRAC #22417
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1862 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
df2fd572
|
2013-02-28T23:05:40
|
|
Implemented Renderer11::getMaxSupportedSamples.
TRAC #22417
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1861 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
30f52c6c
|
2013-02-28T23:05:34
|
|
Preserve the D3D11 offscreen texture contents when the swap chain is reset (ie from window resize).
TRAC #21929
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1860 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ae813836
|
2013-02-28T23:05:28
|
|
Move the code related to creating and resetting offscreen texture resources to its own method.
TRAC #21929
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1859 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
211fa2ed
|
2013-02-28T23:05:23
|
|
Only allocate offscreen texture resources when we need them, not every time we reset the swapchain.
This fixes a memory leak that caused the swapchain to initialize unbounded amounts of resources.
TRAC #21929
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1858 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
|
|
eb049e2c
|
2013-02-28T23:04:49
|
|
Move the call to notify device lost to the Renderer.
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@1855 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f5f59491
|
2013-02-28T23:04:40
|
|
Enclose isDeviceLostError and checkDeviceLost in their corresponding d3d9/d3d11 namespaces.
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@1854 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dd2524c4
|
2013-02-28T23:04:33
|
|
Fix regressions in the unit tests related to setting gl_PointSize, and using other draw modes.
This had two regressions, using gl_PointSize and drawing triangles, and drawing points and triangles
with the same binary program.
TRAC #22526
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1853 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
43db7955
|
2013-02-28T23:04:28
|
|
Use the D3D11 adapter LUID for our adapter identifier check in ProgramBinary.
TRAC #22498
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1852 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
|
|
25950eac
|
2013-02-28T23:04:15
|
|
Fix the order of the channels in readPixelColor, which was messing up BGRA to RGBA readPixels.
TRAC #22529
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1850 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ad74a4b1
|
2013-02-28T23:04:09
|
|
Enabled vsync in SwapChain11.
TRAC #22505
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1849 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
be58aa08
|
2013-02-28T23:03:55
|
|
Created Fence11.
TRAC #22420
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1847 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8b7606aa
|
2013-02-28T23:03:47
|
|
Created Query11.
TRAC #22419
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1846 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5defc5c0
|
2013-02-28T23:03:41
|
|
Integrated the new rx::Fence class into gl::Fence.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1845 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
cfe787e7
|
2013-02-28T23:03:35
|
|
Added a fence creation method to Renderer.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1844 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dbbe605a
|
2013-02-28T23:03:25
|
|
Created Fence9.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1843 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
baaa196f
|
2013-02-28T23:03:13
|
|
Created an abstract rx::Fence class.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1842 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
938ac8d7
|
2013-02-28T23:03:06
|
|
Fixed some circular includes.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1841 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b32e1987
|
2013-02-28T23:02:59
|
|
gl::Query now uses the abstract rx::Query.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1840 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
50df6c5f
|
2013-02-28T23:02:49
|
|
Added query creation methods to Renderer.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1839 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
23f3332a
|
2013-02-28T23:02:42
|
|
Created Query9.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1838 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bfbec45a
|
2013-02-28T23:02:34
|
|
Created an abstract rx::QueryImpl class.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1837 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
09fd9458
|
2013-02-28T23:02:28
|
|
Add support for derivative instructions in D3D11.
TRAC #22424
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1836 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bdf787fc
|
2013-02-01T03:20:36
|
|
Implemented Renderer11::sync.
TRAC #22351
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1816 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fe324641
|
2013-02-01T03:20:11
|
|
Fix D3D11 instancing support check to test against the current feature level.
TRAC #22414
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1811 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
|
|
0b236e2e
|
2013-01-25T21:57:07
|
|
Removed the programBinary argument from Renderer::setViewport.
TRAC #22478
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1796 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
03951cf9
|
2013-01-25T21:57:01
|
|
Implemented D3D11 non-pow2 texture support.
TRAC #22425
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1795 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2ac02d5e
|
2013-01-25T21:56:54
|
|
Fixed rounding error in SwapChain11::swapRect vertex coordinates.
#22472
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1794 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
00032cb2
|
2013-01-25T21:56:30
|
|
Implement instancing support in D3D11.
TRAC #22414
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1791 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a9b96d0d
|
2013-01-25T21:56:18
|
|
Include windows.h from one place to ensure that min and max macros are not defined.
These conflict with the STL functions of the same name.
This is to make the standalone ANGLE gyp build work again.
Review URL: https://codereview.appspot.com/7211043
Also includes r1729 which adds the missing new file.
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1790 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
51817d40
|
2013-01-25T21:55:57
|
|
Fix an issue with instanced drawing in the D3D9 path.
TRAC #22447
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1787 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3e773bb4
|
2013-01-25T21:55:47
|
|
Implement gl_PointSize point sprite emulation using D3D11 geometry shaders.
TRAC #22412
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1786 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e0e8987b
|
2013-01-25T21:55:40
|
|
Refactor gl_FragCoord and gl_PointCoord usage in ProgramBinary::linkVaryings.
TRAC #22412
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1785 736b8ea6-26fd-11df-bfd4-992fa37f6226
|