src


Log

Author Commit Date CI Message
daniel@transgaming.com c5693159 2012-11-28T21:03:02 Use SV_Target semantic for gl_Color when compiling for Shader Model 4+. TRAC #22191 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1527 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 77fbf973 2012-11-28T21:02:55 Skip applying uniforms for the D3D11 renderer (unimplemented for now), to make ProgramBinary back-end independent. TRAC #22191 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1526 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 28e3692d 2012-11-28T21:02:47 Remove getRenderer9 from Display Trac #22200 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1525 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 1f57d18a 2012-11-28T21:02:38 Remove unnecessary d3d9.h includes Trac #22200 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1524 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 54e67548 2012-11-28T21:02:31 Implemented Renderer11::clear for basic clear operations. TRAC #22150 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1523 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e9c71b4a 2012-11-28T21:02:23 Fixed an incorrect return value. TRAC #22149 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1522 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 80fc3326 2012-11-28T21:02:13 Implemented Renderer11::applyRenderTargets. TRAC #22149 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1521 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 816c7f37 2012-11-28T21:02:01 Added getter methods to RenderTarget11 for the render target and depth stencil views. TRAC #22149 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1520 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 32cb08f4 2012-11-28T21:01:50 Removed the mRenderTargetDesc member from Context. TRAC #22145 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1519 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4c4ce233 2012-11-28T21:01:40 Added an ignoreViewport parameter to Renderer::setViewport. TRAC #22145 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1518 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3a0ef480 2012-11-28T21:01:20 Refactored Renderer::setDepthStencilState to no longer require the stencil size parameter. TRAC #22145 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1517 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 237bc7e5 2012-11-28T21:01:06 Refactored Renderer::setRasterizerState to no longer need a depthSize parameter. TRAC #22145 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1516 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e2f7b6b3 2012-11-28T21:00:51 Refactored Renderer::setViewport to no longer take render target size arguments. TRAC #22145 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1515 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 04f1b33c 2012-11-28T21:00:40 Refactored Renderer::setScissor to no longer require render target size. TRAC #22145 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1514 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 7b6b83ea 2012-11-28T21:00:30 Added currently set render target information to Renderer11. TRAC #22145 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1513 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 536dd6e9 2012-11-28T21:00:18 Release Blob after creating executables. Trac #22155 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1512 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 70a219bc 2012-11-28T21:00:08 Fix line endings on a number of files git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1511 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4f0f65ee 2012-11-28T21:00:00 Get rid of ShaderExecutable9 usage in ProgramBinary Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1510 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4f6024ad 2012-11-28T20:59:52 Make shaderExecutable::getConstantTable virtual Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Should be temporary until we figure out what we're doing in ProgramBinary for d3d11 shaders git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1509 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c0ccbd83 2012-11-28T20:59:37 Add a get*Function method to the ShaderExecutable interface Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens This allows ProgramBinary::save to avoid knowing about D3D9 shaders git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1508 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 36038547 2012-11-28T20:59:26 Fix pointer type for GUID in ProgramBinary::load Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1507 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com f0516cfd 2012-11-28T20:59:18 Inline the Renderer9::compilerShaderSource function Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1506 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 95892416 2012-11-28T20:59:09 Store ShaderExecutables on the ProgramBinary instead of d3d9 shaders Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Also hooks up binary loading to the loadExecutable function. The other notable change is that getVertex/Pixel shader no longer add reference counts to the returned objects. git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1505 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5531890f 2012-11-28T20:58:58 Add loadExecutable function to Renderer Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens factored out of compileToExecutable as we also need this when loading binaries from disk. git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1504 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a9c71424 2012-11-28T20:58:45 Move compileToBinary to Renderer Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens The body of compileToBinary was moved to Renderer9 and the ProgramBinary simply calls compileToExecutable which does both the compilation to binary and creation of the shaders which are then wrapped into a ShaderExecutable and then returned. git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1503 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c68fa87f 2012-11-28T20:58:32 Remove the ConstantTable member variables Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Since we no longer keep them as member variables, we need to make sure we delete them before leaving the function. This made it necessary to reflow some of the logic. We can now attempt more parts of linking even if it will ultimately fail, but sometimes the partial link information is useful (ie for attributes). git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1502 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a418ef12 2012-11-28T20:58:22 Explicitly pass constant tables to linkUniforms Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1501 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 59d9ab14 2012-11-28T20:58:14 Explicitly pass the constant tables to the defineUniform function Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1500 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d2fb490e 2012-11-28T20:58:06 Remove default parameter from ProgramBinary::defineUniform and make it explicit Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1499 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d5d10197 2012-11-28T20:57:55 Add ShaderExecutable and ShaderExecutable9 classes to encapsulate back-end specific shader-isms. Trac #22155 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Shannon Woods & Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1498 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 27290c1b 2012-11-28T20:57:47 Use convenience function for downcasting the renderer. TRAC #22016 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1497 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 1f811f55 2012-11-28T20:57:39 Silence unimplemented asserts and implement retrieving adapter information. TRAC #22072 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1496 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 9549bead 2012-11-28T20:57:23 Retrieve the shader model number instead of a shader model 3 support boolean. TRAC #22072 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1495 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com dedd1a0f 2012-11-28T20:57:11 Eliminate D3D9 from Context. TRAC #22016 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1494 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 97400dd3 2012-11-28T20:57:00 Clean up passing around translated index data. TRAC #22016 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1493 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 91207b79 2012-11-28T20:56:43 Move the index data manager and draw calls into the renderer implementation. TRAC #22016 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1492 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 41cb9428 2012-11-28T20:56:34 Remove Intel specific workaround. TRAC #22179 Reverts https://codereview.appspot.com/6460100 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1491 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4a186ed8 2012-11-28T20:56:15 Moved VertexDeclarationCache to its own header and source file. TRAC #22016 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1490 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e569fc52 2012-11-28T20:56:02 Move blitter creation / destruction to device specific initialization / release. TRAC #22016 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1489 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5367004c 2012-11-28T20:55:51 Implemented Renderer11::setViewport. TRAC #22148 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1488 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 2c1d0abe 2012-11-28T20:55:42 Removed clear implementation from Context. TRAC #22125 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1487 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0393e5b5 2012-11-28T20:55:33 Implemented Renderer9::clear. TRAC #22125 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1486 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 084a257e 2012-11-28T20:55:17 Changed the Renderer::clear method parameters to use the new ClearParameters structure. TRAC #22125 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1485 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 7436971e 2012-11-28T20:55:09 Added clear type enum and clear parameters structure. TRAC #22125 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1484 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 414c9168 2012-11-28T20:54:57 Moves checkDeviceLost to renderer9_utils.h TRAC #22141 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1483 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5fbf177c 2012-11-28T20:54:43 Moves applyShaders to Renderer TRAC #22154 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1482 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b6b27bc4 2012-11-28T20:54:30 Adds RenderTarget11 type TRAC #22134 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1481 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 965bcd2e 2012-11-28T20:54:14 Removes getSurface function from base RenderTarget TRAC #22134 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1480 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b64ed282 2012-11-28T20:54:02 Adds makeRenderer9/11 functions TRAC #22134 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1479 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com f2423659 2012-11-28T20:53:50 Moves creation of RenderTargets to the renderer. TRAC #22134 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1478 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d733bb88 2012-11-28T20:53:40 Adds makeSwapChain9/11 functions. TRAC #22134 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1477 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 32fdf822 2012-11-28T20:53:30 Fixes line endings on SwapChain9 and SwapChain11 TRAC #22134 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1476 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com def9f0f3 2012-11-28T20:53:20 Add applyVertexBuffer stub for D3D11 renderer. TRAC #22016 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1475 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 67094ee4 2012-11-28T20:53:04 Move the vertex data manager and vertex declaration cache from Context to Renderer9. TRAC #22016 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1474 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 92025f56 2012-11-28T20:52:54 Pull Context dependencies out of applyVertexBuffer(). TRAC #22016 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1473 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 1dd557ae 2012-11-28T19:44:00 Fixed bug with scissor rectangles Y values being clamped incorrectly. TRAC #22167 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1472 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5dc3b8b4 2012-11-28T19:43:49 Don't call gl::output unless perf is enabled. gl::output allocates a pretty large stack buffer, so it has to call _chkstk. This is rather slow, so avoid calling gl::output if perf and tracing are disabled. BUG= Review URL: https://codereview.appspot.com/6843043 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1471 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 7cfb53f3 2012-11-28T19:43:41 Update version. tbr=kbr Review URL: https://codereview.appspot.com/6826081 Conflicts: src/common/version.h git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1470 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0aa3b5a2 2012-11-28T19:43:24 Implement user-defined name hashing. ANGLEBUG=315 Review URL: https://codereview.appspot.com/6818109 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1469 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 8d06f978 2012-11-28T19:43:16 Update version. Review URL: https://codereview.appspot.com/6818111 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1468 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 7d738a27 2012-11-28T19:43:08 Remove dependency on d3dcompiler import library. It is now loaded with LoadLibrary. Added compile time option of having ANGLE enumerate various versions of d3dcompiler_nn.dll that the application can preload before eglInitialize(). Review URL: https://codereview.appspot.com/6816074 Author: Al Patrick (applied to branch) git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1467 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c23f4611 2012-11-28T19:42:57 Interface design for user-defined name hashing. 1) We use BuiltInResources to pass the hash function to ANGLE, deciding whether we applies hash function or not. 2) We use 64 bits hashing function, because 64 bits is 16 bytes using hex representation, plus the "webgl_" prefix, we can keep the names under 128 (WebGL allows 5 levels of nesting in structures). If chooseing 128 bits, we will go beyond 128 characters, and some drivers can't handle that safely. ANGLEBUG=315 Review URL: https://codereview.appspot.com/6822077 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1466 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 07b925c5 2012-11-28T19:42:50 Use D3D compiler optimization level 3. The is to try and fix some three.js lighting issues. It appears optimization level 0 has a loop unrolling bug. The compiler returns success but the shader does not work. All other optimization levels work. http://crbug.com/153105. Repro here: http://alteredqualia.com/tmp/tests/angle-issues/webgl_materials_normalmap_test.html Both heads should look the same. Review URL: https://codereview.appspot.com/6821060 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1465 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e3e826d4 2012-11-28T19:42:35 Fixed some warnings on GCC Mozilla has recently made using NULL as integer an error (via -Werror=conversion-null GCC flag), which caused ANGLE to no longer compile on mingw in Mozilla tree. The ones that may not be obvious are removal of some <0 checks. They are not needed because they were done on unsigned types. Author: Jacek Caban http://codereview.appspot.com/6679049 (With changes to apply to dx11proto branch) git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1464 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com dc94956c 2012-11-28T19:42:26 Removed the setRenderTarget and setDepthStencil methods from the Renderers. TRAC #22124 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1463 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e06bda99 2012-11-28T19:42:18 Context::applyRenderTargets now uses Renderer::applyRenderTargets. TRAC #22124 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1462 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 220e79a6 2012-11-28T19:42:11 Implemented Renderer9::applyRenderTarget using Context::applyRenderTarget's code. TRAC #22124 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1461 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ae39ee28 2012-11-28T19:42:02 Renderer::applyRenderTarget now returns a success/failure bool. TRAC #22124 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1460 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c43a6055 2012-11-28T19:41:51 Created a Renderer9::markAllStateDirty method and moved state initialization into it. TRAC #22124 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1459 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b323df03 2012-11-28T19:41:36 Invalidate client window area when resetting swap chain Resizing a window larger results in the newly exposed region being invalidated but the old region is treated as valid. This can result in the old region no longer updating. This has been observed on Windows 7 64-bit with Aero theme using NVIDIA GeForce GTS 250 and driver version 301.42. Invalidate the entire client window area when resetting the swap chain so that it updates properly. Original bug report: https://bugreports.qt-project.org/browse/QTBUG-27822 Review: http://codereview.appspot.com/6812076/ Author: Jonathan Liu git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1458 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a60160b0 2012-11-28T19:41:15 Implemented SwapChain11 initialization. TRAC #21928 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1456 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3ca082cc 2012-11-28T19:41:07 Context now uses Renderer::setViewport. TRAC #22116 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1455 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3884e2c2 2012-11-28T19:41:00 Context now uses a Rectangle struct for storing viewport. TRAC #22116 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1454 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 83e80ee4 2012-11-28T19:40:53 Add an abstract Renderer::setViewport method and implemented it for Renderer9. TRAC #22116 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1453 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b743e1d7 2012-11-28T19:40:45 Removed unused Display member of Context. TRAC #22116 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1452 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 164dfa42 2012-11-28T19:40:39 Fixes the include guards on RenderTarget9 TRAC #22140 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1451 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d62d7142 2012-11-28T19:40:28 Removes calls from Context to retrieve d3d9 surfaces TRAC #22094 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1450 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d186dc7f 2012-11-28T19:40:16 Pass the RenderTarget, not the D3D surface, up the Renderbuffer heirarchy. TRAC #22094 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1449 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d2b4702a 2012-11-28T19:40:10 Adds a function to Framebuffer to retrieve depth OR stencilbuffer. TRAC #22094 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1448 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 8614fbac 2012-11-28T19:40:02 Adds RenderTarget pointer to TextureStorage. TRAC #22094 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1447 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c682d95b 2012-11-28T19:39:55 Remove SwapChain.cpp from the GYP project. TRAC #21926 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1446 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a27e05ba 2012-11-28T19:39:42 Split the swap chain into an abstract interface and a D3D9 implementation. TRAC #21926 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1445 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 6c872174 2012-11-28T19:39:33 Adds renderer functions for rendertarget operations. TRAC #22093 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1444 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 48ab81ce 2012-11-28T19:39:21 Use ANGLE's rect instead of D3D's in blitFramebuffer. TRAC #22093 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1443 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 39cee2e7 2012-11-28T19:39:14 Stores render target description without D3D9 reliance. TRAC #22093 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1442 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c497ebae 2012-11-28T19:39:06 Moved the static initializers of RenderStateCache's constants to the top of the cpp file. TRAC #22129 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1441 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5503fd03 2012-11-28T19:38:57 Implemented Renderer11::setDepthStencilState. TRAC #22044 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1440 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 53926ff1 2012-11-28T19:38:50 Added depth stencil state caching to the RenderStateCache. TRAC #22044 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1439 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 08c331d4 2012-11-28T19:38:39 Moved the stencilRef and stencilBackRef back to Context's state structure. TRAC #22044 stencilRef and stencilBackRef are now set through the setDepthStencilState on Renderer. Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1438 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c820c123 2012-11-28T19:38:30 Added utility functions for gl to D3D11 depth stencil states. TRAC #22044 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1437 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com dcf1e676 2012-11-28T19:38:19 Implemented Renderer11::setRasterizerState and Renderer11::setScissorRectangle. TRAC #22043 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1436 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ed453e07 2012-11-28T19:38:11 Added Rasterizer state caching to the RenderStateCache. TRAC #22043 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1435 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com fa34b340 2012-11-28T19:38:01 Added a utility function for gl to D3D11 rasterizer states. TRAC #22043 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1434 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com f8ba1091 2012-11-28T19:37:53 Implemented Renderer11::setBlendState using the new RenderStateCache. TRAC #22042 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1433 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0673d79e 2012-11-28T19:37:44 Added a RenderStateCache class for caching D3D11 blend, depth stencil and rasterizer states. TRAC #22042 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1432 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b58cb9b6 2012-11-28T19:37:33 Added a third party library: MurmurHash3. TRAC #22042 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1431 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 6b147718 2012-11-28T19:37:24 Added utility functions for gl to d3d11 blend states. TRAC #22042 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1430 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 042d1b4c 2012-11-28T19:37:09 Adds RenderTarget wrapper class for surfaces and views. TRAC #22092 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1429 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4df38ce8 2012-11-28T19:37:03 Adds function to convert depth *and* backbuffer formats. TRAC #22092 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1428 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b9bb2793 2012-11-28T19:36:49 Make egl::Surface independent of the Renderer implementation. TRAC #21926 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1427 736b8ea6-26fd-11df-bfd4-992fa37f6226