src/libGLESv2


Log

Author Commit Date CI Message
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 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 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 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
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 8a8b24c7 2012-11-28T19:36:26 Fixed issues with state force flag initialization and applyRenderTarget placement. TRAC #22041 Fixed the state force flags being incorrectly initialized in Renderer9's destructor, they are now in the constructor. Renderer::applyRenderTarget is now correctly called fromt he begining of Context::applyRenderTarget instead of the end. Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1425 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 2e258644 2012-11-28T19:36:18 Removed the dirty state flags from Context. TRAC #22041 Renderers will now be minimizing state changes themselves. Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1424 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 f39967e1 2012-11-28T19:35:56 Context now uses the new structures storing state. TRAC #22041 Context now uses the new structures for holding rasterizer, blend, depth stencil and scissor state andcalls the new set methods on the Renderer interface to set state. Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1422 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 1e34fde5 2012-11-28T19:35:35 Added a rectangle structure for holding viewport/scissor information. TRAC #22041 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1420 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com c8b8f283 2012-11-28T19:35:28 Added structures for rasterizer, blend and depth stencil state. TRAC #22041 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1419 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d0db3508 2012-11-28T19:35:20 Moved the Color struct to AngleTypes.h. TRAC #22041 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1418 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ef19da5a 2012-11-28T19:35:08 Renamed EnumTypes.h to angletypes.h. TRAC #22041 Updated the include guard and documentation and updated all locations where EnumTypes.h was included. Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1417 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com feae9b34 2012-11-28T19:34:56 Adds conversion functions for DXGI-to-GL texture and renderbuffer formats. TRAC #22065 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1416 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 682a37c5 2012-11-28T19:34:44 Renames es2dx and dx2es namespaces to something better. TRAC #22002 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1415 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 de8a7fff 2012-11-28T19:34:13 Moves the Blitter into the Renderer's domain TRAC #22001 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1413 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 1d80eeec 2012-11-28T19:33:31 Moves copyToRenderTarget to Renderer TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1409 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ea32d48b 2012-11-28T19:33:18 Removes getDisplay and getContext calls TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1408 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a9571686 2012-11-28T19:33:08 Moves ConvertTextureInternalFormat to the Renderer TRAC #22000 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1407 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 70062c98 2012-11-28T19:32:30 Passes the Renderer to various objects at construction time. TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1406 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 16418b11 2012-11-28T19:32:22 Passes pointer to Renderer to Framebuffer at construction. TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1405 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 370482e7 2012-11-28T19:32:13 Pass the Renderer to the ResourceManager at construction time. TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1404 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ad62987f 2012-11-28T19:32:06 Eliminates usage of Display from Context::makeCurrent. TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1403 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 03d39094 2012-11-28T19:31:59 Pass the Renderer to the Context at construction time TRAC #22000 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1402 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 222ee081 2012-11-28T19:31:49 Contain DX9 back buffer and depth stencil surface formats. TRAC #22056 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1401 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 ae4f4d4b 2012-11-28T19:31:06 Moved Renderer creation/destruction out of Context.cpp into Renderer.cpp. TRAC #21925 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1398 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com cfa8efdf 2012-11-28T19:30:55 Moved declarations of EGL dependencies to main.h. TRAC #21925 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1397 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
daniel@transgaming.com 4f0af574 2012-10-31T19:55:46 Misc fixes to renderer Trac #22003 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1380 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 76d3e6e0 2012-10-31T19:55:33 Rename renderer namespace to rx Trac #21999 Author: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1379 736b8ea6-26fd-11df-bfd4-992fa37f6226