Граф коммитов

118 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Ehsan Akhgari 6099c9f67b Bug 1508472 - Part 1: First batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13046

--HG--
extra : moz-landing-system : lando
2018-11-27 10:08:58 +00:00
Jeff Gilbert d568b44c3c Bug 1478216 - Don't init tex images in FBAttachment::IsComplete. r=kvark
Also:
- Only init the base tex level for GenerateMipmap.
- Change ZeroTextureData warning into a perf warning.

Differential Revision: https://phabricator.services.mozilla.com/D9177
2018-10-24 15:59:11 -07:00
Jeff Gilbert 68b0ccbab3 Bug 1372157 - Fix IsFoo results in WebGL. r=kvark
Passes deqp/functional/gles3/lifetime.html.

Differential Revision: https://phabricator.services.mozilla.com/D8956
2018-10-24 13:52:16 -07:00
Gurzau Raul ff2bc5ca0b Backed out changeset 4b5b1ff23dd7 (bug 1372157) for failing at webgl-conf/generated/test_2_conformance2__vertex_arrays__vertex-array-object.html on a CLOSED TREE 2018-10-24 22:46:34 +03:00
Jeff Gilbert 4f57ad7f07 Bug 1372157 - Fix IsFoo results in WebGL. r=kvark
Passes deqp/functional/gles3/lifetime.html.

Differential Revision: https://phabricator.services.mozilla.com/D8956
2018-10-24 11:30:58 -07:00
Jeff Gilbert 4098f41704 Bug 1498070 - Simplify and cache framebuffer and texture completeness. - r=kvark
Net-removes 700LOC, too!

Differential Revision: https://phabricator.services.mozilla.com/D8325

--HG--
extra : moz-landing-system : lando
2018-10-17 04:18:15 +00:00
Jeff Gilbert b5299cdebb Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-09 14:35:01 -07:00
Dorel Luca 5ef9c6f716 Backed out changeset e8023a02b6c2 (bug 1478909) on dev's request 2018-08-09 04:58:04 +03:00
Jeff Gilbert 8e0436b208 Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-08 16:15:12 -07:00
Jeff Gilbert 5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Jeff Gilbert df8e8db803 Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jeff Gilbert ff584c03d1 Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak
MozReview-Commit-ID: HxWWPmD1Yzu
2017-12-19 22:28:49 -08:00
Chung-Sheng Fu e99b682659 Bug 1217290 - Remove WebGLContext impl members r=daoshengmu,jgilbert
MozReview-Commit-ID: DPrjaf9QHfP

--HG--
extra : rebase_source : 903236ca4a0e0cf76a631188dfa58dc28d7641e4
2017-07-27 15:48:58 +08:00
Samuel Vargas 107a8c4e5b Bug 1381610 - Check bindRenderbuffer called before framebufferRenderbuffer. r=jgilbert 2017-07-17 16:52:00 -04:00
Samuel Vargas 5f920739bc Bug 1373007 - WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported. r=jgilbert
--HG--
extra : source : 730c95f8ee15de130a015ce6dcc94f0735c4293e
extra : histedit_source : c8ec1ffa8fe52a0670cfa342af13e1ea47281b3f%2Cd159115a0c8586a4668ea88c7cb80202c30c26e9
2017-06-22 14:45:11 -07:00
Daosheng Mu 6a5f92eaca Bug 1348382 - Only allow 3D or 2D_ARRAY texture at FramebufferTextureLayer; r=ethlin,jgilbert
MozReview-Commit-ID: LVsvzC5p4li

--HG--
extra : rebase_source : 779da88d1cc4cf5b73ccae67f9843f153d32569b
2017-03-21 14:28:38 +08:00
Wes Kocher 0bceceb25c Backed out changeset 397a59f9c50d (bug 1348382) for getting r-'d a=backout
MozReview-Commit-ID: GIzqqaMfz5T

--HG--
extra : rebase_source : d7e12624d832412d9f4d5e52c5b2a6cf01960cf5
2017-03-21 19:03:22 -07:00
Daosheng Mu 0d869e4440 Bug 1348382 - Check texture image target format is valid at FramebufferTextureLayer validation; r=ethlin
MozReview-Commit-ID: LVsvzC5p4li

--HG--
extra : rebase_source : 8d71296d2ea091497f34e10313a5413446f8da48
2017-03-21 14:28:38 +08:00
Jeff Gilbert a719834c77 Bug 1330022 - Remove trivial ValidateUniformMatrixTranspose virtual. - r=kvark
Removing a file reshuffled our unified builds, so this includes the fixes that required as well.
MozReview-Commit-ID: 7ZIoG2xIlS9
2017-02-13 15:37:57 -08:00
Sebastian Hengst 2e61c07a59 Backed out changeset cd91d6b1b500 (bug 1330022) 2017-02-10 23:31:47 +01:00
Jeff Gilbert 19c60a97a2 Bug 1330022 - Remove trivial ValidateUniformMatrixTranspose virtual. - r=kvark
Removing a file reshuffled our unified builds, so this includes the fixes that required as well.
MozReview-Commit-ID: 7ZIoG2xIlS9
2017-02-10 13:31:10 -08:00
Jeff Gilbert 4da6480883 Bug 1329815 - GeneratePerfWarning and warn on completed-FB invalidation. - r=kvark
MozReview-Commit-ID: C9J3qdnsaZF
2017-01-17 17:44:56 -08:00
kvark 1628c95538 Bug 1325685 - Ensure the cube attachment is complete. r=jgilbert
--HG--
extra : rebase_source : 470d4986bb6a552a56b39c6b44aabb41916acb9b
2017-01-10 09:32:00 -05:00
Jeff Gilbert ccb6840964 Bug 1326385 - Handle undefined images in BlitFramebuffer. - r=kvark
MozReview-Commit-ID: 3FjzETVL0AZ
2017-01-02 02:29:24 -08:00
Jeff Gilbert 0b065a7b71 Bug 1325301 (flattened) - Validate attribute base types match data base types. - r=bz,daoshengmu
Flattened with:
* Clean up generic vertex attribs. - r=bz,daoshengmu
* Remove EnsureAttrib() and friends. - r=daoshengmu
* Simplify EnumName behavior and usage and add ErrorInvalidEnumArg(). - r=daoshengmu
2016-12-29 02:46:46 -08:00
Jeff Gilbert 6cff55278b Bug 1325733 (flattened) - Mark read/draw calls better. - r=daoshengmu
Includes:
* ANGLE needs to call clear twice even on larger targets. - r=daoshengmu
2016-12-29 02:45:13 -08:00
Jeff Gilbert f74960ccbf Bug 1325333 - Check type of buffer to be cleared by Clear[Buffer]. - r=daoshengmu
MozReview-Commit-ID: 8A37aTeW25t
2016-12-29 02:45:08 -08:00
Jeff Gilbert 3f9fc7d30d Bug 1325516 (flattened) - Misc fixes and simplify IMPL_COLOR_READ_FORMAT/TYPE and ensure that we only return valid ones. - r=daoshengmu 2016-12-25 13:44:49 -08:00
Jeff Gilbert 02fcc3f257 Bug 1325468 - An unspecified fb attachment should have a COLOR_ENCODING of LINEAR. - r=daoshengmu
MozReview-Commit-ID: BhrlgFln2sZ
2016-12-25 13:44:35 -08:00
Jeff Gilbert dc3a2d1239 Bug 1325311 - Only test BlitFramebuffer feedback for masked bits. - r=daoshengmu
MozReview-Commit-ID: 8CAvVwK7V3m
2016-12-25 13:44:33 -08:00
Jeff Gilbert 6091cfeb6e Bug 1312865 - ClearBuffer and similar funcs should mirror Clear's behavior. - r=daoshengmu
MozReview-Commit-ID: 4Gm5aNZ1PXX
2016-12-25 13:44:26 -08:00
Jeff Gilbert 2df2270570 Bug 1324157 - Check dst colorDrawBuffers against src in BlitFramebuffer. - r=lenzak800
MozReview-Commit-ID: 1vzUTG4RD5
2016-12-16 18:46:18 -08:00
vincentliu 00226773fe Bug 1320613 - Add nullptr check for attach. r=jgilbert,
From 8f9578b8bebfdad04ca38eecd5fe0807b725e810 Mon Sep 17 00:00:00 2001
 ethlin
---
 dom/canvas/WebGLFramebuffer.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2016-12-06 14:34:39 -10:00
Jeff Gilbert 51d744aa93 Bug 1320030 - Simplify marking and deletion checks. - r=ethlin 2016-12-07 01:35:28 -08:00
Chih-Yi Leu 3494f49ecc Bug 1316327 - Iterate through defined ColorBuffers from mResolvedCompleteData instead of mColorBuffers. r=jgilbert 2016-11-29 21:47:00 -05:00
Jeff Gilbert (:jgilbert) bc823bdc70 Bug 1316530 - Normalized int/uint count as fixed, and should be treated like floats in BlitFramebuffer. - r=ethlin
MozReview-Commit-ID: FBV0qTDk4pS
2016-11-16 20:44:28 -08:00
Petr Sumbera 8d9f7a34d1 Bug 1315686 - Rename DS to avoid macro conflict on Solaris. - r=jgilbert
MozReview-Commit-ID: 7rLiD8Ux9VN
2016-11-09 19:01:47 -08:00
Jeff Gilbert 9527a1fad7 Bug 1303879 - Refresh DrawBuffers and ReadBuffer to handle GL4.0 and below. - r=mtseng
GL4.0 and below requires that framebuffers are incomplete if any DrawBuffers/ReadBuffer-selected
buffers have no image attached.

MozReview-Commit-ID: 8SFiy2tvgPT
2016-09-22 19:13:20 -07:00
Jeff Gilbert 29c556989a Bug 1303879 - Explicitly nuke attachment points. - r=mtseng
MozReview-Commit-ID: Gd9tFq3ZAtm
2016-09-22 19:13:19 -07:00
Jeff Gilbert 9cf1f83f01 Bug 1303879 - Use explicit ctors. - r=mtseng
MozReview-Commit-ID: Hs4V81pFAc8
2016-09-22 19:13:19 -07:00
Jeff Gilbert 98e4b9e9f2 Bug 1303879 - Disallow NONE GetFramebufferAttachmentParameter. - r=mtseng
MozReview-Commit-ID: GizkMvHb7FG
2016-09-22 19:13:18 -07:00
Jeff Gilbert 1f4f2d7e46 Bug 1303879 - fb->ReadBuffer(BACK) is INVALID_OP. - r=mtseng
MozReview-Commit-ID: F3T4qZcETr5
2016-09-22 19:13:18 -07:00
Jeff Gilbert 3cdd326b85 Bug 1303879 - FramebufferTexture2D doesn't always accept DEPTH_STENCIL. - r=mtseng
MozReview-Commit-ID: 4f4r3CtmPde
2016-09-22 19:13:17 -07:00
Jeff Gilbert 15fd350886 Bug 1303879 - Refactor framebuffer funcs and completeness caching. - r=mtseng
MozReview-Commit-ID: Hi3uEwpmWF4
2016-09-22 19:13:17 -07:00
Jeff Gilbert 5ca4e283fa Bug 1303878 - Fix todos in WebGL. - r=mtseng
MozReview-Commit-ID: D15kLfHERAI
2016-09-22 19:13:16 -07:00
JerryShih a9bb41be63 Bug 1288351 - Handle gl.getFramebufferAttachmentParameter() FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE query for DS format. r=jgilbert 2016-07-21 18:37:00 -04:00
Jeff Gilbert 274060010c Bug 1136494 - Add WebGLTexture::IsFeedback. - r=mtseng
MozReview-Commit-ID: 9kyomMFgDmS
2016-07-18 00:19:19 -07:00
Jeff Gilbert 8a8e457903 Bug 1136508 - Removed unused READ_BUFFER out-var from ValidateCurFBForRead. - r=mtseng
MozReview-Commit-ID: 4qOQNbMkfUX
2016-07-13 11:58:29 -07:00