Log

Author Commit Date CI Message
daniel@transgaming.com 58ae0f6f 2013-02-01T06:37:10 Update ANGLE_texture_compression_dxt git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1822 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 9bb0bace 2013-02-01T03:32:19 Added an ANGLE instancing sample to a new folder in samples. This sample will show a user how to use the ANGLE-specific extensions for geometry instancing. TRAC #22452 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1819 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 2d619cd3 2013-02-01T03:20:20 Rename ANGLE_multiple_render_targets to EXT_draw_buffers Trac #21120 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1813 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com bbb05953 2013-02-01T03:20:16 Updates to MRT extension. Trac #21120 01/30/2013 dgkoch add issue 6 and clear interactions renamed to EXT_draw_buffers based on feedback changed resolution of issue 3. git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1812 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 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
apatrick@chromium.org 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 14fcb33a 2013-01-25T21:56:40 Roll gyp dependency to 1564. This is to fix the standalone gyp build. It couldn't handle changes made in r1721. This is the latest version. Review URL: https://codereview.appspot.com/7204049 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1792 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com aa7c6c1f 2013-01-25T21:54:50 Document GetIntegerv errors in ANGLE_framebuffer_blit. git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1778 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com b71c65ca 2013-01-25T21:54:44 Updates for ANGLE_multiple_render_targets git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1777 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 0b7f7cfb 2013-01-25T21:53:45 Add .opensdf files to .gitignore. 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@1770 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 29c36410 2013-01-25T21:53:40 Fix assert error triggered in D3D11 path when we redefine textures to GL_NONE. Instead internally convert them between GL_NONE and DXGI_FORMAT_UNKNOWN. TRAC #22463 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1769 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 338ffa82 2013-01-25T21:51:51 Add ipch folders and debug.txt to .gitignore. TRAC #22441 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1756 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 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
shannon.woods@transgaming.com 9d971ffd 2013-01-25T21:50:53 Implemented Renderer11::copyImage. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1749 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com f3d82079 2013-01-25T21:50:43 Created a basic position and texcoord vertex and helper method in renderer11 utils. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1748 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 664916b7 2013-01-25T21:50:32 Renderer::copyImage now uses the ANGLE rectangle structure instead of the windows one. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1747 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 2570c34d 2013-01-25T21:50:22 Renamed the passthrough pixel shader to PS_PassthroughRGBA. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1746 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 2a0a39e4 2013-01-25T21:50:15 Implemented Image11::isRenderableFormat. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1745 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 183408d0 2013-01-25T21:50:07 RenderTarget11 now stores a shader resource. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1744 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 858d32fa 2013-01-25T21:49:59 Texture storage now has deferred creation of all render targets and shader resources. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1743 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 5c25ed2f 2013-01-25T21:49:51 Reorganized the getter methods of SwapChain11 and added a method to get the offscreen texture shader resource. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1742 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com f2685e5f 2013-01-25T21:49:42 Removed the levels parameter from initializeSRV since it is the same as mMipLevels. TRAC #22358 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1741 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 8204334b 2013-01-25T21:49:34 Fix and extend essl_to_hlsl to support DX11 HLSL. TRAC #22330 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1740 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com fb256be9 2013-01-25T21:49:25 Use the DX11 syntax for GLSL samplers and textures. TRAC #22330 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1739 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com b73964e3 2013-01-25T21:49:14 Pass the desired HLSL version down to the HLSL generator. TRAC #22330 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1738 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com bd8c10c4 2013-01-25T21:15:03 Move the get maximum point size logic to Renderer9. Trac #22413 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1737 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 4b472353 2013-01-25T21:14:56 TextureStorage11 classes now store a render target to each mip level. Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1736 736b8ea6-26fd-11df-bfd4-992fa37f6226
apatrick@chromium.org 8daaf165 2013-01-22T22:33:33 Remove dependency on DirectX SDK. Review URL: https://codereview.appspot.com/7135062 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1723 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 98100d41 2013-01-11T21:19:54 Update version to 1717 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1717 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com dd6ad22c 2013-01-11T21:16:47 Fix a few unnecessary uses of Renderer9 Trac #22394 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1716 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4d036457 2013-01-11T21:16:22 Remove all possible libEGL includes from libGLESv2 Trac #22394 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1715 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 204677af 2013-01-11T21:16:09 Cleanup extraneous D3D9_REPLACE comments Trac #22394 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Blit.cpp and Renderer9.h/.cpp will remain d3d9-specific. Remove various unused includes and a typedef. git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1714 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ed36abd8 2013-01-11T21:15:58 Move dirty DX constant tracking from Context to the Renderers. TRAC #22308 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1713 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com f06e539a 2013-01-11T21:15:50 Initialize uninitialized pointers in SwapChain11 to NULL. This could cause invalid calls in the destructor in debug builds. TRAC #22393 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1712 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3d90e602 2013-01-11T04:58:39 Change line ending type on compiled shaders and delete now empty shader folder git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1711 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 9a3b5956 2013-01-11T04:14:50 Update version to 1710 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1710 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ca1ac1f1 2013-01-11T04:13:05 Add D3D version and shader models to renderer string reported by GetString. It looks like this now: ANGLE (NVIDIA Quadro 600 Direct3D9Ex vs_3_0 ps_3_0) I also noticed that the strings returned by GetString are not all static so I fixed that as well. Review URL: https://codereview.appspot.com/7068058 Author: apatrick@chromium.org <apatrick@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> Manual merge from Master by daniel@transgaming.com git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1709 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4fd1f989 2013-01-11T04:12:58 Implemented DX11 GL_TRIANGLE_FAN emulation, using a scratch index buffer. TRAC #22345 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1708 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 773ff745 2013-01-11T04:12:51 Build fix. BUG= TEST=build fine in Linux Review URL: https://codereview.appspot.com/7071056 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1707 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 6c1203f8 2013-01-11T04:12:43 In generated shaders, output +INF and -INF as largest single precision floating point number. C++ streams seem to use the representation 1.$ for INF and that isn't valid syntax in GLSL or HLSL. Also preserve the sign of INF in constant expressions that divide by zero. I can't figure out what to do about 0/0 because the shader models we are using do not support NaN. Treating it as +INF as before. Review URL: https://codereview.appspot.com/7057046 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1706 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 79bb950e 2013-01-11T04:12:37 Update Copyright years on the LICENSE file git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1705 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 7629bb6c 2013-01-11T04:12:28 Disable GL_OES_standard_derivatives when ps_2_x or later is not available. BUG=392 Review URL: https://codereview.appspot.com/7027051 Author: bsalomon@google.com (manual merge from master by daniel@transgaming.com) git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1704 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b3077d08 2013-01-11T04:12:09 Upstream various build fixes from WebKit to ANGLE to make updating ANGLE in WebKit easier. a) http://trac.webkit.org/changeset/127747 b) http://trac.webkit.org/changeset/128539 c) http://trac.webkit.org/changeset/122870 - Specifically, items #3 and #4 in this changeset's commit message. Review URL: https://codereview.appspot.com/7040045 Author: maxvujovic@gmail.com ------ Upodate preprocessor.vcxproj to reflect changes in r1640. Review URL: https://codereview.appspot.com/7061044 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1703 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b35da7af 2013-01-11T04:12:04 Make angle compile on Win64 BUG=http://crbug.com/166496 BUG=http://crbug.com/167187 Landing this for Justin Schuh: https://codereview.appspot.com/7011048/ Review URL: https://codereview.appspot.com/7040045 Conflicts: src/common/version.h git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1702 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4167cc91 2013-01-11T04:11:53 Incorporated BSD-licensed changes implementing array bounds clamping. BUG=none TEST=ran associated WebKit layout tests in Chromium Review URL: https://codereview.appspot.com/6999052 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1701 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 761630a9 2013-01-11T04:11:47 Optimize copyVertexData. TRAC #2237 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1700 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3c17ba65 2013-01-11T04:11:41 Removed the dirty parameters flag from Texture. TRAC #22248 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1699 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e33c8bfa 2013-01-11T04:11:33 Moved applied texture and sampler caching from Context into the Renderers. TRAC #22248 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1698 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 1e1b5e91 2013-01-11T04:11:27 Release leaked SRVs in TextureStorage11. TRAC #22231 Signed-off-by: Jamie Madill Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1697 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d5df4e8c 2013-01-11T04:11:21 D3D11 device context clears and flushes the state to release internal references before destruction. TRAC #22231 Signed-off-by: Jamie Madill Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1696 736b8ea6-26fd-11df-bfd4-992fa37f6226