src


Log

Author Commit Date CI Message
Jamie Madill 829f59e9 2013-11-13T19:40:54 Remove usages of the auto keyword from the translator. TRAC #22875 Change-Id: I3ecf30843a82962fbfa5c38f026425fa8acf4657 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill fcef3366 2013-11-13T19:37:19 Fix bug with nested struct uniforms. TRAC #22875 Change-Id: I204cea18a710f6b9206a578a69f1dbc1e13fbd71 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill c6a2dcf8 2013-10-31T13:54:01 Fix improper getSamplerState in Context::applyTextures. Introduced in cdf22f94acaf86. R=geofflang@chromium.org BUG= Review URL: https://codereview.appspot.com/20320043
Jamie Madill f07558ac 2013-10-31T11:16:22 Fix glGetUniform for non-square matrices. TRAC #22846 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
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 cdf22f94 2013-10-31T10:38:23 Don't apply textures that are currently bound to the framebuffer. BUG=496 Review URL: https://codereview.appspot.com/18450045
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
Jamie Madill d5ee05cc 2013-10-30T13:08:58 Silence a warning present in Release mode, with a lack of exported symbols in compilerdebug.obj. TRAC #24052 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
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 07bb8cf4 2013-10-24T17:49:44 Remove Texture::levelCount() and replace it with isValidLevel(). TRAC #23978 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill 51a94370 2013-10-24T17:49:43 Replace API queries of immutable texture level count with a specialized function. TRAC #23978 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 2ebab858 2013-10-24T17:49:42 Remove Texture::getStorage, which is no longer needed after the previous refactorings. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 884a4626 2013-10-24T17:49:41 Refactor storage management in Texture2DArray. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill e664e206 2013-10-24T17:49:40 Refactor storage management in Texture3D. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 3c0989c6 2013-10-24T17:49:39 Refactor storage management in TextureCube. TRAC #23976 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 73b5d06e 2013-10-24T17:49:38 Refactor texture storage management in the Texture2D. TRAC #23976 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 22f843a1 2013-10-24T17:49:36 Make a virtual method Texture::mipLevels to return the value of mip levels defined as in the GL spec. Also known as the "q" function. 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 85ea9abb 2013-10-10T13:50:34 Fixed the GL_FLOAT_32_UNSIGNED_INT_24_8_REV type having the incorrect number of bytes and allowed the depth stencil formats to specify that they have unused bits. 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 d9b9a508 2013-10-10T17:46:13 Instead of checking if a texture is mipmap complete before we update the storage, only update complete storage levels. TRAC #23996 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill aee7ad88 2013-10-10T16:07:32 Only update the currently active render target level in getRenderTarget, instead of the whole texture. Also add a few more ASSERTs to the texture level update methods. TRAC #23996 Signed-off-by: Geoff Lang 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
Jamie Madill bfcda81d 2013-10-22T13:07:33 Add a method to return the Texture serial of a Renderbuffer, or zero if this is a non-texture Renderbuffer. TRAC #24039 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 2e559bbc 2013-10-22T15:31:29 Do not allow context sharing between egl Displays. This is an explicit error according to the EGL specification. ANGLEBUG=487 BUG= Test=WebGL CTS R=shannonwoods@chromium.org,geofflang@chromium.org
Jamie Madill 16a1c072 2013-10-22T15:42:15 Expose the textureLod functiosn to GLES 3.00 shaders. We should have support for these methods, but they were not exposed to the shaders. TRAC #23991 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Geoff Lang 512a7b7b 2013-10-22T14:07:46 Regenerate project files. TRAC #24020 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang dd7234c5 2013-10-16T15:07:55 Remove un-referenced functions. TRAC #23785 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang eef52cc6 2013-10-16T15:07:39 Fix mis-printed type in event message. TRAC #23785 Signed-off-by: Jamie Madill 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 f02ec390 2013-10-18T17:11:07 Regenerate public project files.
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 ba4f10a3 2013-10-10T15:12:20 Support pixel unpack buffers in TexSubImage3D. TRAC #23847 Signed-off-by: Geoff Lang 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 065e1a32 2013-10-10T15:11:50 Add support for pixel unpack buffers to TexSubImage2D. TRAC #23845 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
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 8cc7d975 2013-10-10T15:51:55 Refactor the fast path for pixel unpack buffers, and fix a few validation gaps with texture completeness. TRAC #23997 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
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 6b9cb259 2013-10-17T10:45:47 Rename ParseHelper.cpp/h to ParseContext.cpp/h. TRAC #24002 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill ee7010d4 2013-10-17T10:45:47 Add support for querying major and minor GL version in ES3 contexts. TRAC #23989 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 455a6f5c 2013-10-17T10:45:46 Expose gl_MaxDrawBuffers to ESSL 3.00 shaders. Previously was only exposed in ESSL 1.00. TRAC #23990 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Geoff Lang e26b15a2 2013-10-17T14:18:42 Regenerate project files.
Geoff Lang 216644ba 2013-10-15T10:40:30 Regenerate project files.
Geoff Lang 31f0dc0a 2013-10-08T13:29:13 Merge a0bd8ef0aca9eab29a0e5a437b803c5d95a777c6 from master. Use ANGLE_TRANSLATOR_STATIC to enforce a static build of the translator in chromium. This prevents strange warnings from defining COMPONENT_BUILD=0. Also rename COMPILER_IMPLEMENTATION to ANGLE_TRANSLATOR_IMPLEMENTATION for better consistency in chromium. ANGLEBUG=477 R=zmo@chromium.org BUG=
Geoff Lang 5e5f990e 2013-10-08T11:46:54 Merge 7692ca41dbfe20e6acf3319a37aa38b8160f51c6 from master. Remove %(AdditionalDependencies) from gyp linker deps, and add full windows dependency library list. ANGLEBUG=477 BUG= R=zmo@chromium.org Review URL: https://codereview.appspot.com/14161043
Geoff Lang 8690da8b 2013-10-08T10:57:09 Merge 49cbc5768c15d930d5d8751f5263e9546a07d037 from master. Fix a typo introduced in "GCC Compiler Fixes". ANGLEBUG=478 BUG= R=shannonwoods@chromium.org Review URL: https://codereview.appspot.com/14155043
Geoff Lang 2b6008c9 2013-10-08T10:44:05 Merge 366229430ea056cf7f33917a4fa37b721512a42c from master. Create a static translator project and allow the previous translator project to be used in component builds.
Geoff Lang 7c697201 2013-10-07T17:18:14 Deleted manually maintained visual studio projects and replaced them with gyp generated ones.
Geoff Lang 6850947e 2013-10-07T17:06:30 Added a define that removes d3d includes from the common directory so that d3d9 headers are not included in the translator project.
Geoff Lang 39d5166d 2013-08-29T16:08:23 Moved the gyp libGLESv2 and libEGL projects into their own gyp files. Renamed build_angle.gpy* to angle.gyp* but kept build_angle.gyp for chrome compatability.
Geoff Lang 17732823 2013-08-29T13:46:49 Moved the compiler source files into directories based on their project and added a compiler.gypi to generate the compiler projects.
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
Jamie Madill 152ed093 2013-10-09T17:01:15 Do not dereference a NULL pointer when retrieving the base level image of an empty 2D array texture. TRAC #23957 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
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 d311019e 2013-09-24T11:52:47 Fix incorrect mip sizes for cube maps when creating them with TexStorage2D. TRAC #23913 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 01c21d28 2013-09-24T11:52:16 Fix incorrect targets for TexStorage2D with cube maps. TRAC #23913 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang d0f8e82b 2013-09-30T15:21:53 Implement META_ASSERT with static_assert if the compiler supports it. TRAC #23948 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
Jamie Madill c1f8b16b 2013-10-07T10:46:38 Move validation of API errors out of Texture*::generateMipmaps() to the API. TRAC #23959 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 35d1501b 2013-10-07T10:46:37 Clean up the validation logic in glGenerateMipmap by using the generic base format property methods. TRAC #23959 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang
Jamie Madill 33f9c2ef 2013-10-07T10:46:36 In GenerateMipmap, determine if texture is a compressed or depth texture via generic methods instead of from the typed class. Part of GenerateMipmap cleanups. TRAC #23959 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill d3d2a342 2013-10-07T10:46:35 Add methods to return the properties of the base level image of a texture. We can call these of any texture type. These methods are only well-defined for complete textures (IE, not cube maps with one face defined in one level). TRAC #23957 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Nicolas Capens ef2c2b83 2013-09-26T10:06:07 Eliminate bitfield enum members to avoid GCC compile error. BUG=448 R=shannonwoods@chromium.org Review URL: https://codereview.appspot.com/14302044
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
Geoff Lang 63b5f1fd 2013-09-23T14:52:14 Removed parameter validation from Texture::set* calls since validation is already done in ValidateTexParamParameters. TRAC #23908 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang d4f180b2 2013-09-24T13:57:44 Validate compressed texture dimensions based on the per-format compressed block sizes rather than hard-coded values. TRAC #23630 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang ce635695 2013-09-24T13:56:32 Context now returns maximum texture levels per texture type, updated validation to validate mip level based on the texture target. TRAC #23630 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Geoff Lang 784a8fd5 2013-09-24T12:33:16 Defer early-exit due to zero-sized copies until after all other validation for CopyTex*Image. TRAC #20925 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
Jamie Madill 1beb1db8 2013-09-18T14:36:28 Enable unpack buffer support for initializing 2D textures in TexImage2D. TRAC #23843 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill efb2a6ff 2013-09-24T10:22:42 Add the proper API errors for pixel unpack buffers. 1. For overflowing the currently bound pixel unpack buffer in TexImage and TexSubImage calls. 2. Enforce unpack buffer offset alignment for TexImage and TexSubImage calls. We'll have to check for currently mapped buffers when we implement map. TRAC #23842 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Jamie Madill 4f1a8639 2013-09-24T10:13:04 Add helper functions to determien if addition and mulutiplication of unsigned values will cause an overflow. TRAC #23842 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
Zhenyao Mo cc4ec64c 2013-09-23T14:57:10 Use the same mechanism to process int/float literals This also fixes the float overflow errno leaking bug. BUG= R=alokp@chromium.org Review URL: https://codereview.appspot.com/13368050
Zhenyao Mo ac44cd2b 2013-09-23T14:57:09 Add an option in ANGLE shader translator to initialize gl_Position to vec4(0.0, 0.0, 0.0, 1.0). This is to work around driver bugs where shader compile or program link would fail incorrectly if gl_Position is not set in vertex shader. At the moment at least Linux NVIDIA driver has this bug. ANGLEBUG=472 R=alokp@chromium.org, kbr@chromium.org Review URL: https://codereview.appspot.com/13509043
Zhenyao Mo a15f3e84 2013-09-23T14:57:08 Expose the packing function so we can check varyings packing per program ANGLEBUG=471 R=kbr@chromium.org Review URL: https://codereview.appspot.com/13322043
Zhenyao Mo f1d723c6 2013-09-23T14:57:07 Clamp numeric overflow rather than failing with an error BUG=249086 ANGLEBUG=468 TEST= R=alokp@chromium.org, kbr@chromium.org Review URL: https://codereview.appspot.com/13195043
Zhenyao Mo d2d340b0 2013-09-23T14:57:05 Add static_use to shader variable info query. BUG=249018 ANGLEBUG=465 R=kbr@chromium.org Review URL: https://codereview.appspot.com/13158043
Zhenyao Mo fa3c346f 2013-09-23T14:57:04 Build fix: not all types support precisions. Currently Angle translator made the wrong assumption that all variables have a precision, and ASSERT that. BUG=276031 TBR=alokp@chromium.org Review URL: https://codereview.appspot.com/13113044
Zhenyao Mo a5a1dfc6 2013-09-23T14:57:03 Support precision for sampler types. BUG= R=alokp@chromium.org Review URL: https://codereview.appspot.com/12833045
Alok Priyadarshi bc3f1ac6 2013-09-23T14:57:02 Minor refactoring of TSymbolTable. Used pointers for precision-stack entries as well to avoid unnecessarily re-allocating PrecisionStackLevel whenever the vector needs to resize. Added a scoped class to properly restore symbol-table level after each compile. R=kbr@chromium.org Review URL: https://codereview.appspot.com/12583047
Zhenyao Mo 74da9f2f 2013-09-23T14:57:01 Expose varying variables and also precision for all variables. ANGLEBUG=457 R=alokp@chromium.org, kbr@chromium.org Review URL: https://codereview.appspot.com/12487043
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
Alok Priyadarshi 0b67bfbf 2013-09-23T14:56:59 Print token string into the syntax error message. Bison calls yyerror("syntax error") when it cannot match any grammar rule. We used to append current token string to the error message, which got broken in r2202. This patch restores the original behavior. BUG=442 R=kbr@chromium.org Review URL: https://codereview.appspot.com/12876043