src/libGLESv2/renderer


Log

Author Commit Date CI Message
Jamie Madill cd65ae16 2013-12-17T15:20:14 Trigger lost device on an error in D3D9 Present. This fixes device remove handling on AMD systems, as well as notifying the app layer there may have been an internal problem during Present. BUG=313210 Change-Id: I843ffb3946dd9ef34fbd24b3a46a7b97e3c0fd16 Reviewed-on: https://chromium-review.googlesource.com/179140 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/180450 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
Geoff Lang 3b866b6c 2013-09-30T15:21:00 Clear11 will not clear channels that are not supposed to exist in the render target's format. Change-Id: I9c2bb927ec63d67d315893d44f199ceab4b5df82 Reviewed-on: https://chromium-review.googlesource.com/176856 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang c142e9da 2013-09-30T15:19:47 Renderer classes now set their blend states to mask out channels that do not exist in the render target. Change-Id: Ia49bf8de07bbdfa31275ec9835de28adc3717485 Reviewed-on: https://chromium-review.googlesource.com/176855 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang f8c2f5cb 2013-12-05T13:52:33 Fix indices not being offset to the bound vertex buffer when drawing indexed points in D3D9. bug=angle:535 Change-Id: I5b86874cddbd3b90fe141e94085f5a4afb9f3db3 Reviewed-on: https://chromium-review.googlesource.com/179101 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang 34256ed8 2013-09-30T15:15:52 Image and RenderTarget classes now initialize their textures if required. Change-Id: I2cce6f4ffdc7e2a6c23c50d663c6316f9b125880 Reviewed-on: https://chromium-review.googlesource.com/176854 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang 0c99b1b0 2013-09-30T15:07:43 Add functions to check if texture data initialization is required. Change-Id: I54c3b90780c304d6001b9e52278672981c96cb83 Reviewed-on: https://chromium-review.googlesource.com/176853 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang 2916b30e 2013-11-28T13:41:10 Removed extra AddRef and Release calls on D3D11 objects. Change-Id: I5918c67735658912663c79e964b8edfb288784a3 Reviewed-on: https://chromium-review.googlesource.com/178450 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Jamie Madill fa3d9f30 2013-12-03T16:58:17 Fix swapchain resize errors when sizing to 0 width or height. BUG=angle:519 Change-Id: I3d3d0746b2b3027d04c91cc5fdcd301930e3b22a Reviewed-on: https://chromium-review.googlesource.com/178439 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
Jamie Madill 88f779dd 2013-12-03T10:57:56 Fix device removed handling for systems which do not immediately allow recreating a new device. On Intel systems there's a cool-down period when you must wait before recreating the device. BUG=313210 Change-Id: I22cdf41eecf0eae5058b59e1b0863173d604d606 Reviewed-on: https://chromium-review.googlesource.com/178437 Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Jamie Madill a049fe1e 2013-12-02T13:14:57 Add NULL init for swizzle SRVs with eglBindTexImage textures. Change-Id: I8a1069013f37988632db07359d65f8215041978e Reviewed-on: https://chromium-review.googlesource.com/178431 Reviewed-by: Geoff Lang <geofflang@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Nicolas Capens <nicolascapens@chromium.org> Commit-Queue: Nicolas Capens <nicolascapens@chromium.org> Tested-by: Nicolas Capens <nicolascapens@chromium.org>
Geoff Lang 42477a43 2013-09-17T17:07:02 Renderer11 now generates swizzles and invalidates the cached swizzles. Change-Id: If5c998a91195942297beeb26a0ec635ff6a466ea Reviewed-on: https://chromium-review.googlesource.com/177035 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang e2e0ce0c 2013-09-17T17:05:08 Context now detects if a texture needs to be swizzled and calls Renderer::generateSwizzles. Change-Id: I89f30e028b1d6ec384536cdbeedd91bb98359e8f Reviewed-on: https://chromium-review.googlesource.com/178440 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang 644bbf24 2013-09-17T17:02:43 Added a swizzle cache to TextureStorage11. Change-Id: Iebf297ef5b8560bb468428fc369eb3df8f43ec11 Reviewed-on: https://chromium-review.googlesource.com/177032 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
Geoff Lang 00f6bc32 2013-09-20T14:59:06 Add GetSwizzle*Format functions to formatutils11. Change-Id: Idcd4aa5fd18c1629168ba7cdd41e8fb3f6c3ead3 Reviewed-on: https://chromium-review.googlesource.com/177031 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Geoff Lang ed883f54 2013-09-10T17:20:54 Added a swizzleTexture method to Blit11. Change-Id: I0af836f761893c8928a84d138a6b2d07a3e04da6 Reviewed-on: https://chromium-review.googlesource.com/176989 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
Jamie Madill 3c9eeb97 2013-11-04T11:09:26 Disable optimizations for shaders with conditional discard in D3D9, and only use expanded short-circuiting conditionals for expressions with potential side-effects. Conservatively assume aggreate and selection operators have side effects for now. BUG= ANGLEBUG=486 R=geofflang@chromium.org, kbr@chromium.org, nicolas@transgaming.com, shannonwoods@chromium.org Review URL: https://codereview.appspot.com/14441075 Conflicts: src/common/version.h src/compiler/translator.vcxproj src/compiler/translator.vcxproj.filters src/compiler/translator/OutputHLSL.cpp src/libGLESv2/ProgramBinary.cpp src/libGLESv2/Shader.cpp src/libGLESv2/Shader.h Change-Id: Iaf9f10b5de7b33c927ef032f3c4fe9d5095f64dd
Jamie Madill 5a60b739 2013-11-26T09:49:23 Ensure stream source frequency for stream 0 is set to 1 in swapRect for D3D9. This prevents D3D errors which we could see when using the Debug runtime. BUG=321834 Change-Id: I1dd66d9d80def5e558fc13c218fde9c4047ab2b4
Jamie Madill b7935e51 2013-11-20T15:47:47 Proper handling of D3D9Ex device removed. BUG=313210 Change-Id: I85dae10bc2ec38a1e9c09f318b8f6b9196466d60
Shannon Woods 1293cf4b 2013-11-21T18:33:44 Merge "Renamed some Blit11 types and methods to imply they are for blitting (as opposed to swizzleing)." into es3proto
Geoff Lang 453aaba4 2013-11-20T11:02:23 Don't let mBufferSize fall out of sync with the actual buffer size. Pervents unnecessary buffer re-creations. Change-Id: Ie40300865dcd7830fe8eafbccfaa3edad46c7b52
Geoff Lang 26533604 2013-09-09T16:41:42 Renamed some Blit11 types and methods to imply they are for blitting (as opposed to swizzleing).
Geoff Lang 95f9f986 2013-10-21T17:09:19 Remove use of DXGI_FORMAT_R32G32B32_FLOAT as a backing format for GL_LUMINANCE32F_EXT. TRAC #24036 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 89bf4bff 2013-10-31T10:32:46 Fixed a bug where the vertex data manager was not caching the current value attributes properly. ANGLEBUG=489 Review URL: https://codereview.appspot.com/18670043
Geoff Lang 1ec57f80 2013-10-16T11:43:23 Add support for GL_EXT_color_buffer_float. TRAC #23794 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill 6b7440ca 2013-10-24T17:49:47 Remove TextureStorage::GetActualLevelCount. TRAC #23978
Jamie Madill 4cfff5f3 2013-10-24T17:49:46 Modify texture storage classes to store a base and max level, instead of a range of levels. TRAC #23978 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill b16b8ed7 2013-10-24T17:49:45 Add helper functions for returning the dimensions of a level in a texture storage. TRAC #23978 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 169d1118 2013-10-24T17:49:37 Rename Texture and Image methods which operate on storage objects to refer to storage instead of textures. TRAC #23961 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 2db197cd 2013-10-24T17:49:35 Use a consistent naming scheme for the cube map face index variables in Texture.cpp. TRAC #23961 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill d4589c97 2013-10-24T17:49:34 Simplify passing the texture usage parameters through the texture classes. Avoid passing a raw GLenum when possible. TRAC #23961 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill e83d1a93 2013-10-24T17:49:33 Change Texture::convertToRenderTarget to ensureRenderTarget, which tries to convert a storage to a RT if it isn't already. TRAC #23961 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang 632192dd 2013-10-04T13:40:46 Added support for EXT_texture_rg in D3D9 and D3D11. TRAC #22423 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 4133f5c2 2013-10-10T13:51:18 24bit depth formats need to flip the depth and stencil bits when loading. TRAC #23540 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 88f9cbf2 2013-10-18T14:33:37 SwapChain11 now stores a SRV of it's depth stencil. TRAC #24025 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill ba597af9 2013-10-22T13:12:15 Re-enable hazard warnings for setting render targets that are currently bound as SRVs. We can manually unset applied textures in SetRenderTargets. This should fix the spurious warnings while still showing a warning on error cases. TRAC #24039 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang 005df41f 2013-10-16T14:12:50 Use GLenum instead of GLint to store internal format variables. TRAC #23785 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill 2a6f956d 2013-10-18T17:25:45 Move the PBO unpack shaders to the proper folder. These were not properly merged with the project changes. TRAC #24028 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Geoff Lang 036aa49b 2013-10-09T16:23:30 Disable warnings about size_t conversion and fix ambiguous template parameters in 64 bit builds. TRAC #23409 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill 53683053 2013-10-10T15:30:15 Support the "fast path" (GPU copies) for pixel unpack buffers in TexImage3D. TRAC #23846 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill a2d4e55d 2013-10-10T15:12:01 Add support for pixel unpack buffers to TexImage3D. TRAC #23846 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill 4461f097 2013-10-10T15:10:39 Add support for the "fast path" (GPU copy) pixel unpack buffers in TexImage2D. TRAC #23844 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 171ca0ea 2013-10-10T15:10:31 Refactor direct buffer storage to only create two backing buffers, for constant buffers and all other bindings. This simplifies the logic used in retrieving the ID3D11Buffer. TRAC #23844 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill c8c102b5 2013-10-10T15:10:24 Add a helper method to return the native format backing a GL texture type. TRAC #23844 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 0e0510fd 2013-10-10T15:46:23 Place the method responsible for checking for fast pixel unpack buffer support into the Renderer. TRAC #23997 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 851a4f66 2013-10-10T15:15:36 Add precompiled D3D11 shaders for pixel unpack buffers. TRAC #23844 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang d47e0fcc 2013-08-29T11:40:43 Split the d3d9 and d3d11 backends into folders and updated the gyp file to use a python script to generate the file lists for the libGLESv2 and libEGL projects.
Geoff Lang 401a0bc5 2013-10-16T13:20:49 Fix D3D9 attributes being marked as requireing conversion when they did not. R=jmadill@chromium.org,shannonwoods@chromium.org Review URL: https://codereview.appspot.com/14737043
Jamie Madill 71cc91fc 2013-09-18T12:51:22 Remove an assert statement to do with uniforms and element indexes. This assert could trigger false positives on sampler types. We should eventually replace our uniform handling logic with something more consistent with D3D11's "everything is a constant buffer" model. TRAC #23749 Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens
Geoff Lang 5925a4e4 2013-10-10T10:16:47 Only check for missmatched HWND process IDs if swap chain creation fails. R=shannonwoods@chromium.org,zmo@chromium.org,jmadill@chromium.org Review URL: https://codereview.appspot.com/14540050
Shannon Woods bfc93bba 2013-10-09T11:36:53 Use cube textures as 2D texture arrays in rendertarget SRVs This fixes mipmapping for renderable cube textures in D3D11. Signed-off-by: Geoff Lang Signed-off-by: Jamie Madill
Geoff Lang f5ef21cd 2013-10-03T11:20:48 Add a define to force off the vertical sync for profiling. TRAC #23973 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang d1e9a9a6 2013-09-30T15:22:57 Add missing ES3 unsized internal formats and properly return 1 for alpha in integer formats with no alpha channel. TRAC #23949 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang f6d6901c 2013-10-07T12:10:37 Fall back to LoadLibrary if preloading d3d compiler modules fails. TRAC #23985 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang b04b708c 2013-09-30T15:54:57 Refactored the generate_shaders.bat script to use a function to compile the shaders and have the option of creating debug shaders. TRAC #23907 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Al Patrick 3c6344e7 2013-09-23T14:57:00 add TRACE_EVENT to ANGLE (reland) Tracing code the same as previous CL: https://codereview.appspot.com/12699047/ Setup code simplified, and follows the GetProcAddress model of other gl functions. R=shannonwoods@google.com
Jamie Madill ba615196 2013-09-24T14:07:39 Normalize line endings of tracked files in the repository. TRAC #23896 Signed-off-by: Shannon Woods
Jamie Madill 402bdcca 2013-09-24T13:01:24 Re-generate our compiled shaders with the new version of FXC. TRAC #23838 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill cc9aa0f5 2013-09-04T11:10:22 Support the Windows 8 SDK version of fxc by default in generate_shaders.bat. TRAC #23838 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill a21eea36 2013-09-18T14:36:25 Add pixel unpack buffer stubs to the Renderer classes. TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 89a0bf50 2013-09-18T14:36:24 Add initial implementation for PixelTransfer11, which will enable GPU buffer to texture and texture to buffer copies. This is necessary for fast implementation of ES3 PBOs. TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill d3f0f1ec 2013-09-20T13:31:08 Expose and generalize Clear11's CompareStates function, and add methods for equality test and initialization. TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 10b411df 2013-09-18T14:36:23 Add a helper method to gl::RenderTarget to return the extents of the texture (width/height/depth). TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill c2da55cc 2013-09-18T14:36:22 Make CompilePS a shared utility method in the d3d11 namespace, and add methods for vertex and geometry shaders. TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill bdfa2289 2013-09-18T14:36:21 Move and adjust the name of the Blit11 local functions to be consistent with our coding style. TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Al Patrick 978911ca 2013-08-15T12:43:29 InputLayoutCache only hashes input layout keys up to last used element. R=geofflang@chromium.org Review URL: https://codereview.appspot.com/12676043 Conflicts: src/common/version.h src/libGLESv2/libGLESv2.vcxproj src/libGLESv2/renderer/InputLayoutCache.cpp
Jamie Madill 0fd7786d 2013-09-09T16:24:06 Change the backing for integer 32-bit three-channel textures internally to four components. On some systems three-channel int textures are not renderable in D3D11. TRAC #23822 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 5b085dc3 2013-08-30T13:21:11 Add a field to uniforms to track which element within a register the uniform should be uploaded to. This is necessary to support HLSL-backed uniform structs. TRAC #23750 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens
Geoff Lang 921968ca 2013-09-04T16:59:22 Worked around an issue that causes a TDR timeout when Blit11::copyDepthStencil is called repeatedly. TRAC #23650 Author: Geoff Lang Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 125deab6 2013-08-09T13:34:16 Moved the clipping of blit rectangles to bounds or scissors into the Renderers since rounding to integers can cause errors when stretching in ES3. TRAC #23650 Author: Geoff Lang Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
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 b2f3d05c 2013-08-13T12:49:27 Replaced the custom component type and SRGB bool with GLenums. TRAC #23474 Author: Geoff Lang Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill 9b4f3849 2013-08-26T15:29:30 Fix using the incorrect vertex count in instancing drawing using the streaming buffer. This could cause visual corruption from reading past the end of initialized vertex data. R=geofflang@chromium.org, shannonwoods@chromium.org ANGLEBUG=467 Review URL=https://codereview.appspot.com/12937045 Test=WebGL CTS 1.0.2
Geoff Lang 79031cb5 2013-08-12T12:55:17 TextureStorage11::updateSubresourceLevel will now use the blitter if it is updating a depth stencil texture. TRAC #23531 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
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 5724442b 2013-08-09T15:35:44 Removed checks for DXGI_FORMAT_R32G32B32_FLOAT support since GL_RGB32F is converted to DXGI_FORMAT_R32G32B32A32_FLOAT. TRAC #23651 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 5b61c696 2013-08-02T15:02:59 Load 1 into the alpha channel of RGB integer formats instead of 0. TRAC #23651 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 444419fd 2013-08-05T14:15:41 Fixed the rounding of the source lookup in Blit11's copy depth stencil. TRAC #23669 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang fdf06948 2013-08-06T10:41:05 Split the overflow check into explicit multiplication and addition overflow checks. TRAC #23671 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang b23fc091 2013-08-06T10:43:14 Change the offset variable to an unsigned int since it cannot be negative and is assigned to streamOffset which is an unsigned int. TRAC #23671 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Shannon Woods 78568ba9 2013-08-08T14:15:08 Releases a resource that was leaking. TRAC #23656 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens
Geoff Lang 8040f57d 2013-07-25T16:49:54 Updated Renderbuffers, Textures and TextureStorageInterface to be aware of render targets which are based on miplevels and layers other than zero. TRAC #23470 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 9b8f92ea 2013-07-30T15:23:30 Remove uses of the HASH_MAP define since unordered_map is already used in several places. TRAC #23618 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 1294924f 2013-07-29T15:22:42 Fixed a bug where cube depth stencils used the wrong format and didn't set the D3D11_DEPTH_STENCIL_VIEW_DESC::Flags member. TRAC #23608 Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 1c3192ef 2013-07-22T13:59:24 Emulate RGB32F textures with DXGI_FORMAT_R32G32B32A32_FLOAT so that sampling is always supported. Trac #23523 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang f23eb28c 2013-07-22T10:52:19 Cache the index ranges at the gl::Buffer and rx::IndexBuffer levels so that ranges do not need to be re-calculated for direct buffers. Issue #451 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 4d782730 2013-07-22T10:44:18 RenderTarget11::get* calls no longer add references to the D3D resources. Issue #451 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 4c09586e 2013-07-22T10:43:36 Cache applied primitive topology. Issue #451 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang c6354ee5 2013-07-22T10:40:07 Cache applied constant buffers. Issue #451 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Geoff Lang 1f53cab0 2013-07-22T10:37:22 Cache applied vertex buffers and input layout. Issue #451 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
Jamie Madill cd055f81 2013-07-26T11:55:15 Add state for the new fence sync objects in ES3. TRAC #23446 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Jamie Madill fb9a7409 2013-07-26T11:55:01 Move the API parameter validation out of Fence.cpp to libGLESv2.cpp. TRAC #23446 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Jamie Madill 09752369 2013-07-26T11:54:57 Move the GL_NV_fence-specific stuff stuff out of the Fence implementation class to gl::Fence. This will allow us to re-use the same Fence implementation for GLES 3 Fence Sync objects. TRAC #23446 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Jamie Madill 9ccc7e58 2013-07-19T17:06:04 Remove some accidentally committed compiled shaders. TRAC #23573 Authored-by: Jamie Madill
Jamie Madill dc35604b 2013-07-19T16:36:57 Add state for sampler objects. TRAC #23453 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Geoff Lang c82fc413 2013-07-10T14:43:42 Added support for TEXTURE_COMPARE_MODE and TEXTURE_COMPARE_FUNC sampler states. TRAC #23394 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
Jamie Madill 707dbd7e 2013-07-10T15:13:39 Fix the internal conversion of DXGI DEPTH_COMPONENT32F formats to be DEPTH_COMPONENT_OES in GLES 2 contexts. TRAC #23483 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill
Jamie Madill d6cb2443 2013-07-10T15:13:38 Add a client version parameter to several D3D11-specific texture format queries. TRAC #23483 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill