kc3-lang/angle

Branch :


Log

Author Commit Date CI Message
50aadb05 2012-11-28 21:06:11 Moved D3DConstantTable, IndexDataManager, VertexDataManager and vertexconversion files. TRAC #22198 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1547 736b8ea6-26fd-11df-bfd4-992fa37f6226
25e16afc 2012-11-28 21:05:57 Move HLSL compilation to Renderer. TRAC #22205 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1546 736b8ea6-26fd-11df-bfd4-992fa37f6226
be281b08 2012-11-28 21:05:48 Move constant table retrieval out of compileToBinary. TRAC #22205 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1545 736b8ea6-26fd-11df-bfd4-992fa37f6226
d4cf251e 2012-11-28 21:05:41 Implemented Renderer11::drawArrays. TRAC #22153 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1544 736b8ea6-26fd-11df-bfd4-992fa37f6226
97b59305 2012-11-28 21:05:34 Fixed setting write masks when not alpha blending. TRAC #22153 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1543 736b8ea6-26fd-11df-bfd4-992fa37f6226
617048e8 2012-11-28 21:05:22 Fixed the semantic for SM4+ vertex output position. TRAC #22153 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1542 736b8ea6-26fd-11df-bfd4-992fa37f6226
d4b2db25 2012-11-28 21:05:15 Implement Renderer11::applyShaders. TRAC #22153 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1541 736b8ea6-26fd-11df-bfd4-992fa37f6226
e097047e 2012-11-28 21:05:07 Implemented SwapChain11::swapRects. TRAC #21930 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1540 736b8ea6-26fd-11df-bfd4-992fa37f6226
91dca6af 2012-11-28 21:04:56 Added a SM4 pass through shader. TRAC #21930 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1539 736b8ea6-26fd-11df-bfd4-992fa37f6226
567b9cfd 2012-11-28 21:04:46 SwapChain11 is now created with the correct dimensions. TRAC #21930 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1538 736b8ea6-26fd-11df-bfd4-992fa37f6226
c8c70adc 2012-11-28 21:04:37 Renamed SwapChain11's textures and views. TRAC #21930 Renamed SwapChain11's textures and views to better represent if they are for the back buffer or offscreen texture. Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1537 736b8ea6-26fd-11df-bfd4-992fa37f6226
c52be63d 2012-11-28 21:04:28 Apply the input topology. TRAC #22151 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1536 736b8ea6-26fd-11df-bfd4-992fa37f6226
7b18d0c4 2012-11-28 21:04:10 Store the shader bytecode in ShaderExecutable to pass it to CreateInputLayout. 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@1535 736b8ea6-26fd-11df-bfd4-992fa37f6226
18adad0c 2012-11-28 21:04:03 Create and set a basic vertex buffer. TRAC #22153 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1534 736b8ea6-26fd-11df-bfd4-992fa37f6226
da495a11 2012-11-28 21:03:56 Create and set a basic input layout. TRAC #22153 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1533 736b8ea6-26fd-11df-bfd4-992fa37f6226
0b03b06c 2012-11-28 21:03:49 Implement applyPrimitiveType for Renderer11. TRAC #22153 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1532 736b8ea6-26fd-11df-bfd4-992fa37f6226
a2f9fbe3 2012-11-28 21:03:40 Implemented Renderer11::loadExecutable. 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@1531 736b8ea6-26fd-11df-bfd4-992fa37f6226
813bb788 2012-11-28 21:03:30 Add ShaderExecutable11 files. 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@1530 736b8ea6-26fd-11df-bfd4-992fa37f6226
071ee6a6 2012-11-28 21:03:21 Implemented Renderer11::compileToExecutable. 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@1529 736b8ea6-26fd-11df-bfd4-992fa37f6226
04af90f0 2012-11-28 21:03:09 Load the compiler module for D3D11. 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@1528 736b8ea6-26fd-11df-bfd4-992fa37f6226
c5693159 2012-11-28 21: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
77fbf973 2012-11-28 21: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
28e3692d 2012-11-28 21: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
1f57d18a 2012-11-28 21: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
54e67548 2012-11-28 21: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
e9c71b4a 2012-11-28 21: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
80fc3326 2012-11-28 21: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
816c7f37 2012-11-28 21: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
32cb08f4 2012-11-28 21: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
4c4ce233 2012-11-28 21: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
3a0ef480 2012-11-28 21: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
237bc7e5 2012-11-28 21: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
e2f7b6b3 2012-11-28 21: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
04f1b33c 2012-11-28 21: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
7b6b83ea 2012-11-28 21: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
536dd6e9 2012-11-28 21: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
70a219bc 2012-11-28 21: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
4f0f65ee 2012-11-28 21: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
4f6024ad 2012-11-28 20: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
c0ccbd83 2012-11-28 20: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
36038547 2012-11-28 20: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
f0516cfd 2012-11-28 20: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
95892416 2012-11-28 20: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
5531890f 2012-11-28 20: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
a9c71424 2012-11-28 20: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
c68fa87f 2012-11-28 20: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
a418ef12 2012-11-28 20: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
59d9ab14 2012-11-28 20: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
d2fb490e 2012-11-28 20: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
d5d10197 2012-11-28 20: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
27290c1b 2012-11-28 20: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
1f811f55 2012-11-28 20: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
9549bead 2012-11-28 20: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
dedd1a0f 2012-11-28 20: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
97400dd3 2012-11-28 20: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
91207b79 2012-11-28 20: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
41cb9428 2012-11-28 20: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
4a186ed8 2012-11-28 20: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
e569fc52 2012-11-28 20: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
5367004c 2012-11-28 20: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
2c1d0abe 2012-11-28 20: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
0393e5b5 2012-11-28 20: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
084a257e 2012-11-28 20: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
7436971e 2012-11-28 20: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
414c9168 2012-11-28 20: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
5fbf177c 2012-11-28 20: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
b6b27bc4 2012-11-28 20: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
965bcd2e 2012-11-28 20: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
b64ed282 2012-11-28 20: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
f2423659 2012-11-28 20: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
d733bb88 2012-11-28 20: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
32fdf822 2012-11-28 20: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
def9f0f3 2012-11-28 20: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
67094ee4 2012-11-28 20: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
92025f56 2012-11-28 20: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
1dd557ae 2012-11-28 19: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
5dc3b8b4 2012-11-28 19: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
7cfb53f3 2012-11-28 19: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
0aa3b5a2 2012-11-28 19: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
8d06f978 2012-11-28 19: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
7d738a27 2012-11-28 19: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
c23f4611 2012-11-28 19: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
07b925c5 2012-11-28 19: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
e3e826d4 2012-11-28 19: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
dc94956c 2012-11-28 19: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
e06bda99 2012-11-28 19: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
220e79a6 2012-11-28 19: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
ae39ee28 2012-11-28 19: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
c43a6055 2012-11-28 19: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
b323df03 2012-11-28 19: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
844ad78d 2012-11-28 19:41:28 Revision 5 of ANGLE_MRT git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1457 736b8ea6-26fd-11df-bfd4-992fa37f6226
a60160b0 2012-11-28 19: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
3ca082cc 2012-11-28 19: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
3884e2c2 2012-11-28 19: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
83e80ee4 2012-11-28 19: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
b743e1d7 2012-11-28 19: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
164dfa42 2012-11-28 19: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
d62d7142 2012-11-28 19: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
d186dc7f 2012-11-28 19: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
d2b4702a 2012-11-28 19: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