src/libGLESv2/renderer/Renderer11.cpp


Log

Author Commit Date CI Message
daniel@transgaming.com 1ef09672 2013-01-11T04:10:37 Completed D3D11 line loop rendering. TRAC #22344 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1691 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 2eb7ab71 2013-01-11T04:10:21 Renderer11::readPixels queries the RenderTarget11 for the correct subresource to read from. TRAC #22368 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1688 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e76b64b2 2013-01-11T04:10:08 Implemented support for DX11 integer and boolean uniforms. TRAC #22364 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1686 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a390e1ee 2013-01-11T04:09:39 Implemented support for DX11 driver uniforms by assigning fixed register slots. TRAC #22369 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1682 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 7fbf486e 2013-01-11T04:09:22 Fixed applied index buffer offset not being cached. TRAC #22371 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1679 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ee42a0a0 2013-01-11T04:09:15 Implemented Renderer11::readPixels. TRAC #22247 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1678 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c9a501dc 2013-01-11T04:08:46 Implements Renderer11::createRenderTarget TRAC #22340 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1673 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c06ccb23 2013-01-11T04:08:34 Made the D3D objects returned by RenderStateCache into weak pointers. TRAC #22339 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1671 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 36670db6 2013-01-11T04:08:22 Adds Renderer11::createTexture functions. TRAC #22336 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1669 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0785fad3 2013-01-11T04:08:10 Implemented Renderer11::setTexture. TRAC #22252 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1667 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0f9b3209 2013-01-11T04:08:05 Fixed a typo in an error message. TRAC #22251 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1666 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 54de24f9 2013-01-11T04:07:59 Implemented Renderer11::setSamplerState. TRAC #22251 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1665 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 22ada2cb 2013-01-11T04:07:12 DX11 index buffer offset is in bytes. TRAC #22332 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1657 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 9f7ede67 2013-01-11T04:07:06 Fixed the number of vertices for DrawIndexed to draw. TRAC #22332 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1656 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e9cf5e74 2013-01-11T04:06:55 Patch fixes that should have made it into prior patch for renderable migration. TRAC #22211 Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1654 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b1c208f9 2013-01-11T04:06:49 Migrates textures to render targets with copyToRenderTarget in DX11. TRAC #22211 Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1653 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 2275f915 2012-12-20T21:13:22 Eliminated D3DConstantTable. TRAC #22326 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1634 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com da8d3801 2012-12-20T21:12:55 Implemented support for DX11 sampler uniforms. TRAC #22242 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1630 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e6d12e9d 2012-12-20T21:12:47 Implemented support for DX11 uniform arrays. TRAC #22239 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1629 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 873f28aa 2012-12-20T21:12:42 Implemented basic applying of uniform values for DX11. TRAC #22239 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1628 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d0f82bc4 2012-12-20T21:11:42 Fixed a bug in Renderer11::clear where the wrong render target is fetched. TRAC #22246 Author: Geoff Lang Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1619 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c5114301 2012-12-20T21:11:36 Implemented Renderer11::drawElements. TRAC #22246 Author: Geoff Lang Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1618 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 413d2711 2012-12-20T21:11:04 Moves creation of renderer-specific texture storage objects to the renderer. TRAC #22300 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1614 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 87705f82 2012-12-20T21:10:45 Renames classes in the TextureStorage heirarchy for clarity TRAC #22300 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1613 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c5431eb2 2012-12-20T21:10:15 Implemented Renderer11::applyVertexBuffer and Renderer11::applyIndexBuffer. TRAC #22238 Author: Geoff Lang Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1610 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 11c2af55 2012-12-20T21:10:01 Implemented IndexBuffer11. TRAC #22237 Author: Geoff Lang Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1608 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0b6d7741 2012-12-20T21:09:47 Added an IndexBuffer creation method to Renderer. TRAC #22237 Author: Geoff Lang Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1606 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 2c4d070c 2012-12-20T21:08:51 Implemented VertexBuffer11. TRAC #22227 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1598 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ab1c1462 2012-12-20T21:08:30 Provide a stub for Renderer11::applyUniforms. TRAC #22245 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1596 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a8aac672 2012-12-20T21:08:00 Creates Image11 class TRAC #22208 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1592 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3f255b48 2012-12-20T21:07:35 Added vertex buffer creation methods to renderer. TRAC #22226 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1588 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 88853c50 2012-12-20T20:56:40 Don't expose DX constants as GL uniforms. TRAC #22245 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1583 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 12985188 2012-12-20T20:56:31 Combine dx_Depth and dx_FrontCCW into dx_DepthFront. TRAC #22245 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1582 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e4991416 2012-12-20T20:55:34 Move program binary serial caching to renderer Trac #22249 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1576 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 9a067375 2012-12-20T20:55:24 Ensure state caching variables are handled consistently in markAllStateDirty Trac #22249 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1575 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com f721fdbd 2012-12-20T20:53:11 Moves GenerateMipmap function to the Renderer TRAC #22254 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1571 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 244e1838 2012-12-20T20:52:35 Adds a function to the Renderer which will return a newly created Image. TRAC #22254 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1569 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d55e8c1b 2012-11-28T21:07:02 Scissor test state is set as part of the Renderer::setScissor method. TRAC #22206 Moved scissorTest out of RasterizerState. Fixes buffer-offscreen-test and buffer-preserve-test CTS regressions. Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1549 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 31240487 2012-11-28T21:06:41 Changed D3DConstant table, IndexDataManager,VertexDataManager and vertexconversion namespaces. TRAC #22198 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1548 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 25e16afc 2012-11-28T21: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
daniel@transgaming.com d4cf251e 2012-11-28T21: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
daniel@transgaming.com d4b2db25 2012-11-28T21: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
daniel@transgaming.com c52be63d 2012-11-28T21: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
daniel@transgaming.com 7b18d0c4 2012-11-28T21: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
daniel@transgaming.com 18adad0c 2012-11-28T21: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
daniel@transgaming.com da495a11 2012-11-28T21: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
daniel@transgaming.com 0b03b06c 2012-11-28T21: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
daniel@transgaming.com a2f9fbe3 2012-11-28T21: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
daniel@transgaming.com 071ee6a6 2012-11-28T21: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
daniel@transgaming.com 04af90f0 2012-11-28T21: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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
daniel@transgaming.com 38380883 2012-11-28T19:36:39 Add stubs for missing virtual method implementations. 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@1426 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d084c620 2012-11-28T19:36:05 Added an abstract Renderer::clear method. TRAC #22041 Unimplemented in Renderer11 and Renderer9 only forces the depth stencil state to reset. Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1423 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 493d4f87 2012-11-28T19:35:45 Added abstract methods to Renderer for state setting. TRAC #22041 Added abstract methods for setting rasterizer, blend, depth stencil, render targets and scissors on Renderer. Implemented methods on Renderer9 using the state setting from Context as a reference and new members for storing prevously set state to minimize graphics device calls. Implemented methods on Renderer11 with the UNIMPLEMENTED notice. Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1421 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 31b13e1f 2012-11-28T19:34:30 Moves Image & Renderer into rx namespace TRAC #22002 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1414 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 8c7b1a9d 2012-11-28T19:34:06 IDXGISwapChain1::Present1 supports a sync interval of 0 to 4 for all devices. TRAC #22056 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1412 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 65e65377 2012-11-28T19:33:50 Test for valid back buffer and depth stencil formats. TRAC #22056 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1411 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ad6aee7d 2012-11-28T19:33:42 Add stubs for missing virtual method implementations. TRAC #22056 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1410 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 25072f67 2012-11-28T19:31:32 Implement texture dimension limits and 32-bit index queries. TRAC #22056 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1400 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c1e26341 2012-11-28T19:31:16 Create a Direct3D 11 device, if enabled and available. TRAC #21925 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1399 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 1d6aff2b 2012-11-28T19:30:42 Add a Renderer11 class for the d3d11 backend. Trac #21925 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1396 736b8ea6-26fd-11df-bfd4-992fa37f6226