Kelsey Gilbert
b04996924d
Bug 1037100 - Scoped.h removed because no outstanding uses. r=glandium,dom-storage-reviewers,jesup,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D201763
2024-02-14 06:41:58 +00:00
Paul Bone
6916e07b1a
Bug 1781728 - Fix code style r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D154525
2022-08-24 22:20:39 +00:00
Paul Bone
372e3ed4bf
Bug 1781728 - Clamp WebGL mipmap levels r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D154524
2022-08-24 22:20:39 +00:00
Marian-Vasile Laza
d0b3c95cc2
Backed out 2 changesets (bug 1781728) for causing bustages on WebGLTexture.cpp. CLOSED TREE
...
Backed out changeset 94e7a44f0d16 (bug 1781728)
Backed out changeset 985d9726a7f6 (bug 1781728)
2022-08-15 09:33:13 +03:00
Paul Bone
4bdb2927d4
Bug 1781728 - Fix code style r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D154525
2022-08-15 03:48:48 +00:00
Paul Bone
41c56a5ac2
Bug 1781728 - Clamp WebGL mipmap levels r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D154524
2022-08-15 03:48:47 +00:00
Kelsey Gilbert
7b50429065
Bug 1772403 - Warn once on LINEAR texture compare. r=gfx-reviewers,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D148171
2022-06-02 20:53:48 +00:00
Paul Bone
02ea297dcd
Bug 1743065 - Skip generating mipmaps with out-of-bounds base levels r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D138727
2022-02-18 05:39:01 +00:00
Kelsey Gilbert
aeeb1e199d
Bug 1750310 - Centralize and reuse pixelstorei pack/unpack handling. r=lsalzman
...
* Accept that finding an explicit unpack for a given stride might fail.
* Directly use the logic from the GLES spec for unpacking stride calculations.
* Use structuredSrcSize member.
* Calc explicit unpack based on dstStride, not srcStride.
Differential Revision: https://phabricator.services.mozilla.com/D136052
2022-02-12 02:20:42 +00:00
Kelsey Gilbert
ddb05ea412
Bug 1747299 - [UniqueBuffer] Use UniqueBuffer::Take instead of copy constructors for void*. r=gfx-reviewers,sotaro
...
Differential Revision: https://phabricator.services.mozilla.com/D134589
2021-12-25 00:31:48 +00:00
Jeff Gilbert
39129f8f9d
Bug 1696075 - Match spec for webgl sampling feedback detection. r=lsalzman
...
I lean really hard into using the precise variable names and language
from the spec here. Previously I had more qualitative/descriptive names,
but I found this to mostly cause confusion. When we're up to our waists
in spec edge cases like we are here, descriptive qualitative names can
just be deceptive, and lead to incorrect intuitions.
Differential Revision: https://phabricator.services.mozilla.com/D107016
2021-03-04 03:14:50 +00:00
Simon Giesecke
1c53236b70
Bug 1679272 - Include ScopeExit.h exactly where used. r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D98888
2020-12-07 14:25:59 +00:00
Simon Giesecke
971b645fe3
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Jeff Gilbert
62f6cc5d9c
Bug 1659225 - Apply UNPACK_ params only after init. r=lsalzman
...
+ Add asserts that we are infact in the default state.
Differential Revision: https://phabricator.services.mozilla.com/D87964
2020-08-23 06:09:33 +00:00
Jeff Gilbert
f25a4cdbe8
Bug 1607940 - IPC TexImage. r=lsalzman,nika,handyman
...
Differential Revision: https://phabricator.services.mozilla.com/D83291
2020-07-21 22:57:01 +00:00
Simon Giesecke
0cc5c6e63f
Bug 1052940 - Make Maybe<T> only declare copy/move operations if T is copyable/movable. r=froydnj,jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D68172
--HG--
extra : moz-landing-system : lando
2020-03-27 14:10:45 +00:00
Jeff Gilbert
e1d0fe64bb
Bug 1477756 - Client-side bindings mirror for precise CC, and merge similar codepaths. r=handyman
...
* Context loss using RAII
* Move Program reflection Client-side
Depends on D54018
Differential Revision: https://phabricator.services.mozilla.com/D54019
--HG--
extra : moz-landing-system : lando
2020-01-08 22:19:16 +00:00
David Parks
198fa063c2
Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman
...
Splits WebGLContext into ClientWebGLContext and HostWebGLContext. The Client enables the JS-control of a WebGL context in a content procecss while the Host executes the WebGL graphics operations (via a WebGLContext that maintains much of the existing code) in the compositor process. At this point, the cross-process behavior is disabled -- this series of patches is an incremental step toward that final goal.
Differential Revision: https://phabricator.services.mozilla.com/D54018
--HG--
extra : moz-landing-system : lando
2020-01-08 22:19:14 +00:00
Greyson Gilbert
20a52c4874
Bug 1564293 - Allow efficient slicewise upload of 3D textures r=jgilbert
...
Before this patch any partial upload to a texture would incur
a zeroing of the texture first to prevent leakage of information.
The texture now tracks, for each image not fully initialized,
which z-slices have been initialized, and only zeroes the rest
of the slices when the texture is used.
Differential Revision: https://phabricator.services.mozilla.com/D37843
--HG--
extra : moz-landing-system : lando
2019-07-30 23:32:29 +00:00
Brindusan Cristian
339a4ceab8
Backed out changeset ac0666e2b27c (bug 1564293) for build bustages on WebGLFramebuffer.cpp:883:26. CLOSED TREE
2019-07-26 12:04:54 +03:00
Greyson Gilbert
a22343ae66
Bug 1564293 - Allow efficient slicewise upload of 3D textures r=jgilbert
...
Before this patch any partial upload to a texture would incur
a zeroing of the texture first to prevent leakage of information.
The texture now tracks, for each image not fully initialized,
which z-slices have been initialized, and only zeroes the rest
of the slices when the texture is used.
Differential Revision: https://phabricator.services.mozilla.com/D37843
--HG--
extra : moz-landing-system : lando
2019-07-26 06:43:02 +00:00
Greyson Gilbert
5ab46fc0a3
Bug 1535809 - Add warning on use of implicitly enabled extensions r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D36431
--HG--
extra : moz-landing-system : lando
2019-07-09 05:21:30 +00:00
Jeff Gilbert
8dac7ad935
Bug 1558339 - Clamp TEXTURE_[BASE,MAX]_LEVEL for drivers. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D36672
--HG--
extra : moz-landing-system : lando
2019-07-02 23:39:47 +00:00
Jeff Gilbert
bbb1e5a221
Bug 1533522 - Truncate Buffer/Texture on GL_OOM. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D34982
--HG--
extra : moz-landing-system : lando
2019-06-14 03:26:18 +00:00
Jeff Gilbert
5c3e425117
Bug 1540357 - Force -Werror for and fix implicit int truncation in dom/canvas. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D25495
--HG--
extra : moz-landing-system : lando
2019-04-02 17:00:41 +00:00
Jeff Gilbert
52d58f2a74
Bug 1533527 - Forbid non-size_t calls to malloc and calloc. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D22627
2019-03-18 13:47:18 -07:00
Andreea Pavel
5a60df453a
Backed out changeset 5f7ea2187fa6 (bug 1533527) for build bustages on a CLOSED TREE
2019-03-10 03:50:15 +02:00
Jeff Gilbert
8235aa9f56
Bug 1533527 - Forbid non-size_t calls to malloc and calloc. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D22627
--HG--
extra : moz-landing-system : lando
2019-03-09 17:40:54 +00:00
jgilbert@mozilla.com
a5ef1cc2e1
Bug 1372177 - ArrayBufferView error enum depends on func. r=lsalzman
...
MozReview-Commit-ID: 34X7yTEE3Ia
Differential Revision: https://phabricator.services.mozilla.com/D18482
--HG--
extra : moz-landing-system : lando
2019-02-02 10:04:43 +00:00
Jeff Gilbert
4e6082275f
Bug 1503813 - RefreshSwizzle must rebind its texture. r=lsalzman
...
MozReview-Commit-ID: Ek1UIJjwQFH
Differential Revision: https://phabricator.services.mozilla.com/D17035
--HG--
extra : moz-landing-system : lando
2019-01-22 22:17:56 +00:00
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
e4fcfa0ef8
Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark
2018-10-10 18:13:13 -07:00
Coroiu Cristina
9a1a60c7fb
Backed out 7 changesets (bug 1494809) for build bustage at build/src/dom/canvas/WebGLTextureUpload.cpp on a CLOSED TREE
...
Backed out changeset 89e092c992ae (bug 1494809)
Backed out changeset 076aed819da6 (bug 1494809)
Backed out changeset 101b4c98aad8 (bug 1494809)
Backed out changeset a2612f006753 (bug 1494809)
Backed out changeset be2ec3c05d10 (bug 1494809)
Backed out changeset 6106836daf58 (bug 1494809)
Backed out changeset e98c2a51aa8f (bug 1494809)
--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html
2018-10-10 08:15:09 +03:00
Jeff Gilbert
f4f78de480
Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark
2018-10-09 21:39:16 -07: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
c95b959d03
Bug 1481283 - Use SamplingState for both WebGLTexture and WebGLSampler state. r=kvark
...
Differential Revision: https://phabricator.services.mozilla.com/D2795
--HG--
extra : moz-landing-system : lando
2018-08-07 19:12:09 +00:00
Andi-Bogdan Postelnicu
0a0c20c544
Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert
...
--HG--
extra : rebase_source : 4cd1872292439fbcc68c7739e5ef768eb3966c91
2018-07-06 10:56:24 +03: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
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02: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