|
ee8d3c82
|
2013-04-13T03:27:26
|
|
Make position the first vertex output varying on DX9 again to work around an NVIDIA driver issue.
TRAC #22688
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2055 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
25b5f1d1
|
2013-03-01T00:59:21
|
|
Fix warning as error in Renderer.cpp.
Review URL: https://codereview.appspot.com/7420046
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1981 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4e4b1967
|
2013-03-01T00:59:13
|
|
Fix build_angle.gypi so libGLESv2 and libEGL can find precompiled.h.
Review URL: https://codereview.appspot.com/7450045
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1980 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
78c669d2
|
2013-02-28T23:24:04
|
|
Update build revision
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1977 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0efef90c
|
2013-02-28T23:21:09
|
|
Updated the error handling of compressed image sizes based on the ANGLE_texture_compression_dxt spec.
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@1975 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f548ff2a
|
2013-02-28T23:21:03
|
|
Fixed a bug where the texture would not be marked as dirty if mLodOffset was not 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@1974 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
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
|
|
cabb17c5
|
2013-02-28T23:20:45
|
|
Made Image11::getStagingTexture private and removed the undefined Image11::updateStagingTexture method.
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@1971 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
|
|
2507278c
|
2013-02-28T23:20:33
|
|
Added a utility function to determine if a dxgi format is compressed.
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@1969 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
86758653
|
2013-02-28T23:20:26
|
|
Convert(Min/Max)Lod now takes into account the lod offset so that it always falls within the min and max.
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@1968 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fff89b3a
|
2013-02-28T23:20:15
|
|
Build fix for qt-wk2
Review URL: https://codereview.appspot.com/7381049
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1966 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8e02e356
|
2013-02-28T23:20:08
|
|
Fix ANGLE patching/building issues.
1) Remove an empty file: this causes patch apply failures when updating WebKit side ANGLE.
2) Fix a 64-to-32 conversion issue.
3) Append a change to Tokenizer.l that's left out in a previous CL. (cpp is already updated).
Review URL: https://codereview.appspot.com/7378051
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1965 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
eb68fd0e
|
2013-02-28T23:20:01
|
|
This pulls in mvujovic's build fix in WebKit ANGLE.
Original patch: http://trac.webkit.org/changeset/139665
Review URL: https://codereview.appspot.com/7392044
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1964 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
550cd098
|
2013-02-28T23:19:54
|
|
Add support for extension EXT_draw_buffers.
Review URL: https://codereview.appspot.com/7308107
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1963 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
18bd2ecf
|
2013-02-28T23:19:46
|
|
Fix signed / unsigned warning in ParseHelper.cpp.
Review URL: https://codereview.appspot.com/7330046
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1962 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6b04e1b9
|
2013-02-28T23:19:41
|
|
Fixed one remaining 64-bit truncation issue missed in the last CL.
BUG=396
Review URL: https://codereview.appspot.com/7323055
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1961 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d64b3dab
|
2013-02-28T23:19:26
|
|
Fixed 64-bit integer truncation issues in shader translator.
This is an incompatible API change, but one which is necessary in
order to improve correctness of the code. The API version in
ShaderLang.h is updated and, unfortunately, the define renamed to
something less ambiguous due to conflicts on some Android buildbots.
Temporary patches in Chromium and WebKit will be landed separately to
support this upgrade.
BUG=403,404,405,406,407,408,409
Review URL: https://codereview.appspot.com/7300058
Conflicts:
include/GLSLANG/ShaderLang.h
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1960 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
45886d6e
|
2013-02-28T23:19:20
|
|
Fix a 64-bit error in ProgramBinary::load
ProgramBinary::save writes a size_t, so ProgramBinary::load needs
to read it as the same type.
Landed for jschuh.
Original review: https://codereview.appspot.com/7304057/
Review URL: https://codereview.appspot.com/7310052
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1959 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d25a6b36
|
2013-02-28T23:19:13
|
|
Check that the incoming type to a default precision qualifier statement is valid.
Fixes new WebGL conformance tests
shader-with-illegal-default-precision.frag.html and
shader-with-illegal-default-precision.vert.html per
http://www.khronos.org/bugzilla/show_bug.cgi?id=781 . Also ran WebGL
1.0.1 conformance tests; no regressions.
BUG=none
Review URL: https://codereview.appspot.com/7302043
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1958 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
83065899
|
2013-02-28T23:19:07
|
|
Revert the change to treat S_PRESENT_MODE_CHANGED always as device lost on D3D9.
See: https://codereview.appspot.com/7398052/
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@1957 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e16e651f
|
2013-02-28T23:19:02
|
|
Place each info log message on a new line.
TRAC #22635
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1956 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a09c70f0
|
2013-02-28T23:18:56
|
|
Provide an error message when uniform linking fails.
TRAC #22635
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1955 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
cf103f36
|
2013-02-28T23:18:45
|
|
Implemented Renderer11::getDepthTextureSupport.
TRAC #22587
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1953 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
42832a65
|
2013-02-28T23:18:38
|
|
Scale the vertex coordinates when the viewport has been clamped.
TRAC #22649
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1952 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
38e87885
|
2013-02-28T23:18:32
|
|
Fixed a bug where a static buffer could sometimes be used if it had not had data written to it.
TRAC #22665
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1951 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
|
|
888d0c4c
|
2013-02-28T23:18:21
|
|
Revert changes to markAllStateDirty that cleared D3D11 shader resources.
TRAC #22642
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1949 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
236be77d
|
2013-02-28T23:18:15
|
|
Disable two D3D11 warnings that would sometimes spam the output log for certain WebGL content.
These warnings identified when we set a render target that was bound as a shader resource, and were benign.
TRAC #22642
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1948 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
047dc625
|
2013-02-28T23:18:08
|
|
Only allow direct vertex buffers binding with attribute with 4 byte aligned offsets.
TRAC #22647
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1947 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0693fc37
|
2013-02-28T23:18:03
|
|
Fix D3D11 errors from specifying the order of FragCoord, PointCoord, etc different between GS and PS.
TRAC #22646
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1946 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
157c655f
|
2013-02-28T23:17:57
|
|
Ensure nested ternary operator unfolding uses a new scope to avoid redefinition of the same temporary variable.
TRAC #22629
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1945 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
10aadb2d
|
2013-02-28T23:17:52
|
|
Only retrieve the precision of integer and floating-point types.
TRAC #22635
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1944 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d438fd49
|
2013-02-28T23:17:45
|
|
Use ArraySize to determine size of static arrays.
TRAC #22558
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1943 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e1602ae7
|
2013-02-28T23:17:38
|
|
Fall back to drawing indexed points without indices in d3d9.
TRAC #22633
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1942 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d5a91b90
|
2013-02-28T23:17:30
|
|
Validate matching uniform precisions.
TRAC #22635
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1941 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fe3c0ef0
|
2013-02-28T23:17:22
|
|
Store the precision of uniforms.
TRAC #22635
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1940 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
be211b37
|
2013-02-28T23:17:16
|
|
Clamp the depth passed from glClearDepthf to (0,1) in Renderer11::clear.
This fixes potential out of range D3D11 errors.
TRAC #22643
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1939 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
|
|
0d94d1f7
|
2013-02-28T23:15:32
|
|
Add a new header for some constants from Context.h.
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@1936 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
cb4cc5a7
|
2013-02-28T23:15:21
|
|
Clear all applied texture resources in Renderer11::markAllStateDirty.
This fixes some D3D11 warnings about having the current render target bound to a shader resource view.
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1934 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
276337cb
|
2013-02-28T23:15:16
|
|
Pass through the PSIZE semantic all the way to the fragment shader in D3D11, fixing a register error.
In some cases when the app would draw triangles, and writes to gl_PointSize, the vertex shader would
output PSIZE and the pixel shader would not read it as an input.
TRAC #22561
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1933 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0a71ecfb
|
2013-02-28T23:15:10
|
|
Fix the D3D11 errors being produced about using wrong input layout register signatures.
This was caused by using the same input layout for vertex shaders with different input signatures.
TRAC #22561
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1932 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0b60014b
|
2013-02-28T23:15:04
|
|
Sort the elements of the D3D11 input layouts before we store them in the cache.
This prevents a D3D11 error complaining that the input layout
uses a different ordering of the vertex elements than the vertex shader.
TRAC #22561
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1931 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4f4215f7
|
2013-02-28T23:14:58
|
|
Make some getter functions in ProgramBinary const.
TRAC #22561
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1930 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
9cbce920
|
2013-02-28T23:14:24
|
|
Don't split loops on Shader Model 4+.
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@1925 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
|
|
01a5cf98
|
2013-02-28T23:13:51
|
|
Expand GL sampler arguments to a texture and sampler argument for D3D11.
TRAC #22593
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1919 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
|
|
cb332ab3
|
2013-02-28T23:12:18
|
|
Declare vertex varyings which have not been written, to allow successful linking.
TRAC #22581
Signed-off-by: Jamie Madill
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1906 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
|