|
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
|
|
6d79257d
|
2013-02-28T23:07:25
|
|
Added a utility function for determining the size of an array.
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@1877 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
|
|
7e6649e4
|
2013-02-01T03:21:45
|
|
Update version to r1818
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1818 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
97b16d16
|
2013-02-01T03:20:42
|
|
Do not hash mapping field names of a reserved struct.
With this fixed, Chrome behaves the same on WebGL conformance tests 1.0.2 with/without --enable-shader-name-hashing
BUG=
TEST=WebGL conformance tests
Review URL: https://codereview.appspot.com/7229043
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1817 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
|
|
d5903cac
|
2013-02-01T03:20:31
|
|
Fix mat2 packing to use 2 rows as per spec.
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1815 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
75cb689b
|
2013-02-01T03:20:26
|
|
Fix a memory out-of-bound visit bug.
So len could equal = max_len, and at this point name[len] is out of the range.
BUG=
TEST=
Review URL: https://codereview.appspot.com/7223045
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1814 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
|
|
a820c309
|
2013-01-25T22:04:42
|
|
Updated version number to 1801
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1801 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e36fddfc
|
2013-01-25T21:57:50
|
|
Attempt different fix for unknown #pragma on Linux.
BUG=none
TEST=compiled on Linux and Mac OS
Review URL: https://codereview.appspot.com/7133076
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1800 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bef0e5b7
|
2013-01-25T21:57:43
|
|
Changed optimization level to D3DCOMPILE_OPTIMIZATION_LEVEL1. With
this optimization level, it appears that array index clamping can be
enabled on Windows without destabilizing WebGL content.
Tested this change with array index clamping enabled with MapsGL, a
previous failing test from AlteredQualia, many Three.js demos, the
Julia Set tutorial from acko.net, the WebGL 1.0.1 conformance suite,
and other content; all worked.
BUG=none
Review URL: https://codereview.appspot.com/7197054
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1799 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1d432bb5
|
2013-01-25T21:57:28
|
|
Incorporated patch from haixia@ changing the default implementation of
array index clamping to use the clamp intrinsic. This works more
reliably on pure OpenGL ES devices and on Windows.
Added a mechanism in ShBuiltInResources to choose the strategy for
array index clamping.
BUG=none
TEST=various out-of-bounds array indexing tests and various WebGL content
Review URL: https://codereview.appspot.com/7194051
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1798 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2f8524d3
|
2013-01-25T21:57:17
|
|
Fixed compiler warning on Linux resulting in build failures.
BUG=none
TEST=compiled on Linux
Review URL: https://codereview.appspot.com/7201056
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1797 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
|
|
2001a0cc
|
2013-01-25T21:56:47
|
|
Remove DXSDK_DIR from search paths.
Chrome now builds ANGLE against the Windows 8 Platform SDK.
Move the include and lib search paths to common.gypi so that downstream projects can specify the location of the Platform SDK or alternatively use the DirectX SDK instead.
Review URL: https://codereview.appspot.com/7193052
Conflicts:
src/common/version.h
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1793 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
|
|
55e4b4f5
|
2013-01-25T21:56:11
|
|
Use TEXT macro to define ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES macro.
This is to make the standalone gyp build work again.
Review URL: https://codereview.appspot.com/7199046
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1789 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e91615cb
|
2013-01-25T21:56:03
|
|
Treat return statements in loops as loop discontinuities.
This is so that texture2D is converted to texture2DLod in loops with return statements. HLSL does not seem to allow gradient operations in loops with return statements. It considers them to be breaks.
Review URL: https://codereview.appspot.com/7131057
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1788 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
|
|
5bcf7dfb
|
2013-01-25T21:55:33
|
|
Move the call to packVaryings outside of 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@1784 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
69ff7766
|
2013-01-25T21:55:24
|
|
Add a new internal enum for shader type, instead of re-using GL enums.
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@1783 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
962d4be9
|
2013-01-25T21:55:18
|
|
Fix a missing variable initialization in ProgramBinary.
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@1782 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
190f882b
|
2013-01-25T21:55:13
|
|
Make other angle targets compile on Win64
Addendum to https://codereview.appspot.com/7011048/
BUG=391, chromium:166496, chromium:167187
Landing for jschuh
Original patch: https://codereview.appspot.com/7075044/
Review URL: https://codereview.appspot.com/7190044
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1781 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
24966731
|
2013-01-25T21:55:08
|
|
Add comments to ArrayBoundsClamper about why 'clamp'
was not used to do the bounds clamping.
BUG=397
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1780 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
da1ed36a
|
2013-01-25T21:54:57
|
|
Reorganized new sources from recently applied patch into third_party directory.
Review URL: https://codereview.appspot.com/7105049
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1779 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
76cd88c5
|
2013-01-25T21:54:36
|
|
Avoid calling getContext() for resource limits.
TRAC #22243
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1776 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
28d268ea
|
2013-01-25T21:54:26
|
|
Increase the varying register count to what the feature level supports.
TRAC #22243
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1775 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4e48204a
|
2013-01-25T21:54:18
|
|
Increase DX11 uniform count to 1024.
TRAC #22243
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1774 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
254317da
|
2013-01-25T21:54:09
|
|
Retrieve the maximum uniform register count from the renderer.
TRAC #22243
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1773 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c60c5215
|
2013-01-25T21:54:01
|
|
Implemented D3D11 offscreen texture share handle support.
Chrome uses this to for composited rendering. Currently Chrome uses a BGRA texture format
for surface sharing, so we must create our offscreen textures this way.
See EGL_ANGLE_query_surface_pointer, EGL_ANGLE_surface_d3d_texture_2d_share_handle,
EGL_ANGLE_d3d_share_handle_client_buffer.
TRAC #22410
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1772 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bec04bf4
|
2013-01-25T21:53:52
|
|
Implement proper BGRA extension support on D3D11.
See GL_EXT_texture_format_BGRA8888.
TRAC #22410
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1771 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
21ba6478
|
2013-01-25T21:53:32
|
|
Only update a constant buffer when any of its uniforms are dirty.
TRAC #22327
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1768 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5929ef27
|
2013-01-25T21:53:24
|
|
Reuse the constant buffers of the shader executable.
TRAC #22327
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1767 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
358e88d7
|
2013-01-25T21:53:11
|
|
Add constant buffers to ShaderExecutable11.
TRAC #22327
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1766 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5fb979d5
|
2013-01-25T21:53:04
|
|
Use a single set of constant buffers for the driver uniforms.
TRAC #22327
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1765 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
46a5b87f
|
2013-01-25T21:52:57
|
|
Store DX11 driver uniforms in a separate constant buffer.
TRAC #22327
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1764 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2b132f42
|
2013-01-25T21:52:47
|
|
Implements generateMipmap for CPU-side textures
TRAC #22350
Author: Shannon Woods
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1763 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c8cd7f61
|
2013-01-25T21:52:40
|
|
Implements Image::copy for nonrenderable textures.
TRAC #22349
Author: Shannon Woods
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1762 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fdeacb81
|
2013-01-25T21:52:34
|
|
Adds a function to get the texture resource of a framebuffer's color render target.
TRAC #22349
Author: Shannon Woods
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1761 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7d4b482a
|
2013-01-25T21:52:27
|
|
Since we can't create a swap chain for another process' window, error out gracefully.
Was triggered from Chrome trying to use a Windows XP path on the DX11 side of things.
TRAC #22438
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1760 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
34f507ce
|
2013-01-25T21:52:15
|
|
Implemented masked clearing in Renderer11.
TRAC #22343
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1759 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
81c5ef9b
|
2013-01-25T21:52:08
|
|
Reordered the logic of Renderer11::clear to determine earlier if a masked clear is required.
TRAC #22343
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1758 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
233fe954
|
2013-01-25T21:51:57
|
|
Added support for vertex texure fetch in DX11 mode.
Trac #22354
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1757 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5f77c557
|
2013-01-25T21:51:44
|
|
Fixed a gl_FrontFacing regression.
TRAC #22426
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1755 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e688e651
|
2013-01-25T21:51:36
|
|
Remove the ResourceLimits.h reference, which was causing the translator_common to always rebuild.
Also tinker with the deps a bit to allow for more parallelism during the build process.
TRAC #22437
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1754 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4526236b
|
2013-01-25T21:51:27
|
|
Eliminate the D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY flag.
TRAC #22426
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1753 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
41ba5e0f
|
2013-01-25T21:51:20
|
|
Use SV_IsFrontFace to implement gl_FrontFacing on DX11.
TRAC #22426
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1752 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8587f41f
|
2013-01-25T21:51:14
|
|
Convert all vertex data to floating-point.
TRAC #22426
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1751 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
|