src/libGLESv2/renderer/Renderer9.cpp


Log

Author Commit Date CI Message
Geoff Lang da507fea 2013-08-20T12:01:42 Refactored the ClearParameters type and moved Renderer11's clear logic into a Clear11 helper class. TRAC #23475 Author: Geoff Lang Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang de14d607 2013-08-14T12:28:33 Fixed a bug where the frontFace shader constant would not be updated if the drawMode or frontFace changed but not the viewport. TRAC #23719 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang a36ead4a 2013-08-02T11:54:08 Updated VertexBuffer's getSpaceRequired and storeVertexAttributes methods to return bools and fixed some validation of parameters to prevent under and overflows. TRAC #23643 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang ea228635 2013-07-30T15:17:12 Use SafeRelease and SafeDelete to make sure released objects are NULL and will cause proper errors if referenced again. TRAC #23617 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 57e713e8 2013-07-31T17:01:58 Fix additional overflow and underflow issues with triangle fans and line loops. Issue #444 Signed-off-by: Shannon Woods Signed-off-by: Chris Evans Author: Geoff Lang
Geoff Lang eadfd57b 2013-07-09T15:55:07 Protect against integer overflows when generating index buffers for line loop and triangle fan drawing. Issue 444 Signed-off-by: Jamie Madil Signed-off-by: Shannon Woods Author: Geoff Lang
Shannon Woods 52f1e7ef 2013-07-08T10:32:17 Implements queriability for internal format sample counts. TRAC #23273 Authored-by: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens
Shannon Woods ddb785c2 2013-07-08T10:32:13 Fixes a typo in the spelling of GetTextureFormat. TRAC #23273 Authored-by: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens
Jamie Madill 57a8972e 2013-07-02T11:57:03 Add implementation for Vertex Array Object state. TRAC #23390 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Authored-by: Jamie Madill
Jamie Madill a857c36b 2013-07-02T11:57:02 Refactor VertexAttribute to split the "current value" for generic attributes into its own class. VAOs in GLES 3 do not store the current values, so these must be handled separately from other Vertex Attribute data. TRAC #23390 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Authored-by: Jamie Madill
Geoff Lang 685806d6 2013-06-12T11:16:36 Seperated the blit depthstencil parameters in the blit methods. TRAC #23321 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 758d5b21 2013-06-11T11:42:50 Refactored validation to glBlitFramebufferANGLE and implemented glBlitFramebuffer. TRAC #23211 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang a2d97f13 2013-06-11T11:44:02 RenderTarget11 now always attempts to create an SRV if the format exists and specifies the bind parameters based on which formats are available. TRAC #23211 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang dce735c3 2013-06-04T10:21:18 Renamed the Blit class to Blit9. TRAC #23256 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 697ad3ed 2013-06-04T10:11:28 Replaced switches in Renderer::readPixels with calls to color reading and writing functions. TRAC #23256 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 2a64ee44 2013-05-31T11:22:40 Templated the Color structure so it can be used for the new integer and unsigned integer color types. TRAC #23256 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang d42cf4ed 2013-06-05T16:09:17 D3D9 will now use D3DFMT_R5G6B5 textures when GL_RGB565 is requested if the device supports it. TRAC #23279 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 0e120e3d 2013-05-29T10:23:55 Added a Renderer::getMaxSupportedFormatSamples method to query the max support samples for a specific internal texture format. TRAC #23212 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 61e49a5c 2013-05-29T10:22:58 Added Functions for gathering all referenced D3D and DXGI formats. Renderers now use these functions to generate the multisample support maps. TRAC #23212 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
shannonwoods@chromium.org 6e4f2a6b 2013-05-30T00:15:19 Add adapter LUID to EGL vendor string. This is so Chrome can create another D3D device on the same adapter that can share resources with ANGLE's D3D device. Review URL: https://codereview.appspot.com/9225046 SVN URL: https://code.google.com/p/angleproject/source/detail?r=2210 TRAC #23166 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Merged-by: Jamie Madill Author: apatrick@chromium.org git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2367 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 1bddfb98 2013-05-30T00:11:29 Pass uniform buffers active bound to uniform blocks of the active program to HLSL/D3D constant buffers. TRAC #22892 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2339 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 2b544223 2013-05-30T00:11:12 Ensure we have enough space in our reported max uniform buffer counts for our dedicated internal constant buffers. TRAC #22892 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2337 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 755012f4 2013-05-30T00:09:32 Replaced remaining uses of old texture conversion functions in rx objects. TRAC #22972 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2324 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 89200d93 2013-05-30T00:07:50 Split the floating point texture queries into individual methods and mark all support methods as const. TRAC #22972 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2312 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 38676dc1 2013-05-30T00:06:52 Refactor Uniform::[vp]sRegisterIndex to unsigned integers. TRAC #22858 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2305 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannonwoods@chromium.org 33e798f5 2013-05-30T00:05:05 Add and implement Renderer::getMaxUniformBufferSize(), returning the maximum uniform buffer/block size. TRAC #22852 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2289 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com a98a8111 2013-04-13T03:45:57 Added GL_MAX_ARRAY_TEXTURE_LAYERS. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2177 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 6c86bd5f 2013-04-13T03:45:45 Created the TextureStorageInterface2DArray class. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2176 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com c1fdf6ba 2013-04-13T03:44:41 Added parameters for maximum 3D texture size. Renamed maximum 2D texture size methods and variables. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2167 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 414e82af 2013-04-13T03:44:05 Added 3D versions of Renderer::copyToRenderTarget and Renderer::copyImage. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2165 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 2058d64a 2013-04-13T03:42:50 Added 3D texture classes for TextureStorage and TextureStorageInterface. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2161 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 491b0477 2013-04-13T03:41:29 Revert device lost display mode changed handling in the D3D9 path. See https://codereview.appspot.com/8038044 TRAC #22882 Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2151 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 3f72ce35 2013-04-13T03:36:43 Added getter methods to renderer for checking maximum uniform and transform feedback buffers. TRAC #22753 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2109 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 8bce3f59 2013-04-13T03:35:32 Add SwapChain::recreate for dealing with certain cases of lost devices. See https://code.google.com/p/angleproject/source/detail?r=1993 TRAC #22826 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2107 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com df933573 2013-04-13T03:35:25 When CheckDeviceStats returns S_PRESENT_MODE_CHANGED, reset display mode and retest for device lost. Unless the display mode is reset, CheckDeviceLost can keep returning S_PRESENT_MODE_CHANGED, potentially masking a device lost on account of a GPU hang, causing ANGLE to fail to report context lost. Review URL: https://codereview.appspot.com/7381061 TRAC #22720 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2106 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 6b731911 2013-04-13T03:35:19 Fix a warning in the cast of Renderer9::mDeviceCaps.MaxAnisotropy. See http://code.google.com/p/angleproject/source/detail?r=2000 TRAC #22826 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2105 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 676dc8f9 2013-04-13T03:35:13 Fast path for BGRA to RGBA readPixels conversions. From http://code.google.com/p/angleproject/source/detail?r=1999 TRAC #22825 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2104 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com dcf33d53 2013-04-13T03:33:11 Advertise ES3 renderable in available configs TRAC #22806 Signed-off-by: Geoff Lang Signed-off-by: Jamie Madill Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2089 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com 89ae1133 2013-04-13T03:28:43 Remove the old single-color-attachment calls from gl::Framebuffer, preferring the new multiple-attachment versions. TRAC #22656 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2066 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods%transgaming.com@gtempaccount.com b290ac17 2013-04-13T03:28:15 Added getMaxRenderTargets() to Renderer, for a runtime-specific value for the maximum simulatenous render targets. We will report this as our maximum draw buffer and color attachment count. TRAC #22656 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2062 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 83065899 2013-02-28T23:19:07 Revert the change to treat S_PRESENT_MODE_CHANGED always as device lost on D3D9. See: https://codereview.appspot.com/7398052/ TRAC #22492 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1957 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 42832a65 2013-02-28T23:18:38 Scale the vertex coordinates when the viewport has been clamped. TRAC #22649 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1952 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com d438fd49 2013-02-28T23:17:45 Use ArraySize to determine size of static arrays. TRAC #22558 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1943 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com e1602ae7 2013-02-28T23:17:38 Fall back to drawing indexed points without indices in d3d9. TRAC #22633 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1942 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com bdf2d80f 2013-02-28T23:16:20 Add precompiled header support for the libGLESv2 project. TRAC #22518 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1938 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 486d9e9b 2013-02-28T23:15:41 Remove a lot of unnecessary include files and break include chains. This should speed up incremental compile times when modifying headers, by reducing the number of dependencies. TRAC #22518 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1937 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com d8136cbb 2013-02-28T23:14:44 Validate the number of uniform vectors. TRAC #22571 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1928 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com a4ba59c6 2013-02-28T23:14:38 Add handling for certain cases of D3D9Ex device lost. This will allow us to handle TDR restarts on newer machines. We still don't handle D3DERR_DEVICEREMOVED. TRAC #22492 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1927 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com d3d4208e 2013-02-28T23:14:31 Use optimization level 0 for D3D11. TRAC #22516 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1926 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 4e91d566 2013-02-28T23:12:09 Isolate D3DCompiler.h include to just the cpp files that need it, instead of every file that uses the renderer. TRAC #22499 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1905 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com d2811d68 2013-02-28T23:11:19 Break some of the include chains that cause unneeded dependencies between headers. TRAC #22499 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1904 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 2494c97a 2013-02-28T23:10:03 Store integer and boolean uniforms in 4-element vectors. TRAC #22428 Signed-off-by: Geoff Lang Signed-off-by: Jamie Madill Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1897 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com cd714ef2 2013-02-28T23:09:50 Store boolean uniforms as 32-bit integers. TRAC #22428 Signed-off-by: Geoff Lang Signed-off-by: Jamie Madill Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1896 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com a14ecf36 2013-02-28T23:09:42 Eliminate unused DX11 driver uniforms. TRAC #22428 Signed-off-by: Geoff Lang Signed-off-by: Jamie Madill Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1895 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 8d2f086a 2013-02-28T23:09:19 Only advertise postSubBuffer extension if we can actually present less than the whole buffer. This is not available in D3D11, though it is added in D3D11.1. TRAC #22506 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1892 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com a1229a3a 2013-02-28T23:08:40 Index data manager uses direct buffers for indices if possible. TRAC #22297 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1887 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 76655416 2013-02-28T23:08:09 gl::Buffer now uses an rx::BufferStorage to store the data. TRAC #22297 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1883 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 4e52b635 2013-02-28T23:08:01 Added a BufferStorage creation method to renderer. TRAC #22297 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1882 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 8ce2f8f8 2013-02-28T23:07:10 Implement larger bounds for viewports and scissor rectangles in D3D11. This fixes a bug where we would not allow the application to draw outside the viewport, which is valid. TRAC #22497 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1875 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com ea4a0c66 2013-02-28T23:06:29 Changed the rectangle arguments of Renderer11::blitRect from pointers to const references since they are never null or modified. TRAC #22416 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1869 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 779aa261 2013-02-28T23:04:58 Enclose error(GLint) and error(EGLint) into gl and egl namespaces. This should generate a compile time error if we try to call the wrong function. TRAC #22411 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1856 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com eb049e2c 2013-02-28T23:04:49 Move the call to notify device lost to the Renderer. TRAC #22411 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1855 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com f5f59491 2013-02-28T23:04:40 Enclose isDeviceLostError and checkDeviceLost in their corresponding d3d9/d3d11 namespaces. TRAC #22411 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1854 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com cfe787e7 2013-02-28T23:03:35 Added a fence creation method to Renderer. TRAC #22418 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1844 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 50df6c5f 2013-02-28T23:02:49 Added query creation methods to Renderer. TRAC #22418 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1839 736b8ea6-26fd-11df-bfd4-992fa37f6226
apatrick@chromium.org 8b400b1e 2013-01-30T21:53:40 Do not use dynamic_cast if RTTI is disabled. Review URL: https://codereview.appspot.com/7250043 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1808 736b8ea6-26fd-11df-bfd4-992fa37f6226
shannon.woods@transgaming.com 0b236e2e 2013-01-25T21:57:07 Removed the programBinary argument from Renderer::setViewport. TRAC #22478 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1796 736b8ea6-26fd-11df-bfd4-992fa37f6226
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 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 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 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 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 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 bd8c10c4 2013-01-25T21:15:03 Move the get maximum point size logic to Renderer9. Trac #22413 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1737 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 204677af 2013-01-11T21:16:09 Cleanup extraneous D3D9_REPLACE comments Trac #22394 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Blit.cpp and Renderer9.h/.cpp will remain d3d9-specific. Remove various unused includes and a typedef. git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1714 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 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 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 669c9959 2013-01-11T04:08:16 Cached texture and event support on Renderer9. TRAC #22232 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1668 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 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 f956186f 2012-12-20T21:12:07 Collapsed register indexes into one. TRAC #22293 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1623 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 34da397e 2012-12-20T21:10:29 Moves TextureStorage class to TextureStorage9, mostly. 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@1612 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 1e3a8041 2012-12-20T21:09:55 Integrated new IndexBuffer into IndexDataManager and Renderer9. 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@1607 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 50cc7251 2012-12-20T21:09:23 Renamed IndxBuffer to IndexBufferInterface. 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@1603 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b6e55102 2012-12-20T21:08:14 Move setting the uniforms to the Renderer implementation. 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@1594 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