src/libGLESv2/renderer/Renderer11.cpp


Log

Author Commit Date CI Message
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 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 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 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 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 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 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 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 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 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
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 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 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 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 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 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
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