Jeff Gilbert
49926cf5f0
Bug 1617326 - Fix WebGL CTS/conformance2/extensions/* on Windows. r=lsalzman
...
* Multiview detach shouldn't check for INVALID_VALUE.
* Forbid blitting to multiview.
* GetSamplerParameter(ANISOTROPIC) should work, modulo enabledness.
Differential Revision: https://phabricator.services.mozilla.com/D63743
--HG--
extra : moz-landing-system : lando
2020-02-23 04:22:54 +00:00
Razvan Maries
b5b83a0cb5
Backed out changeset e4c9e943a369 (bug 1617326) for Mochitest perma failures on test_2_conformance2__extensions__ext-texture-filter-anisotropic.html.
2020-02-23 01:27:14 +02:00
Jeff Gilbert
cf873c7ace
Bug 1617326 - Fix WebGL CTS/conformance2/extensions/* on Windows. r=lsalzman
...
* Multiview detach shouldn't check for INVALID_VALUE.
* Forbid blitting to multiview.
* GetSamplerParameter(ANISOTROPIC) should work, modulo enabledness.
Differential Revision: https://phabricator.services.mozilla.com/D63743
--HG--
extra : moz-landing-system : lando
2020-02-22 20:51:09 +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
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
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
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
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
886fe4b600
Bug 1217290 - Refine WebGLContext members r=daoshengmu,jgilbert
...
MozReview-Commit-ID: BjZCM1ygZ4k
--HG--
extra : rebase_source : eec6bbad8c6e27cb2e2c270194e6f1d50e83d16a
2017-07-27 15:49:21 +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
ac2df6af8a
Bug 1325476 - Use helper for Parameter[fi] funcs instead of maybeFloat/IntParam. - r=daoshengmu
...
MozReview-Commit-ID: 3jGFXfDNkPt
2016-12-25 13:44:38 -08:00
Jeff Gilbert
51d744aa93
Bug 1320030 - Simplify marking and deletion checks. - r=ethlin
2016-12-07 01:35:28 -08:00
Jeff Gilbert (:jgilbert)
05977e6cde
Bug 1318507 - Update sampler entrypoints to be non-nullable, and drop trivial WebGLContextUnchecked usages. - r=ethlin
...
MozReview-Commit-ID: 2dWKDFbAK6a
2016-11-22 23:59:26 -08:00
JerryShih
ba521880fb
Bug 1290032 - return null for InvalidEnum. r=jgilbert
...
--HG--
extra : rebase_source : ae3d4fda39bee8441105b593a2d2c6b2c4003e29
2016-07-28 17:37:00 +02:00
Ethan Lin
0931d35c4c
Bug 1285086 - Turn on WebGLSampler. r=jgilbert
...
--HG--
extra : histedit_source : 9a788a293cbf8fc373c9bf7dbce7596f845e460d
2016-07-21 07:31:00 -04:00
Morris Tseng
6e90a4c6fc
Bug 1230089 - If sampler is bound, use parameter of sampler. r=jgilbert
...
--HG--
extra : commitid : JF12eiQS7m8
2016-01-21 14:49:41 +08:00
Jeff Gilbert
110371f3f7
Bug 1232864 - Cauterize and release WebGL 2 to Nightly. - r=jrmuizel
2015-12-16 14:56:24 -08:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Jeff Gilbert
2e4a1c88ee
Bug 1182371 - Misc WebGL cleanup. - r=kamidphish
2015-07-14 17:37:28 -07:00
Dan Glastonbury
bcd4a3d26c
Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert
2015-06-11 15:12:10 +10:00
Phil Ringnalda
e9695717ce
Backed out 12 changesets (bug 1170855) for Windows build bustage
...
CLOSED TREE
Backed out changeset 47070f494c9e (bug 1170855)
Backed out changeset 86e3fb3a2295 (bug 1170855)
Backed out changeset 49284df5294e (bug 1170855)
Backed out changeset ae7c769cb78d (bug 1170855)
Backed out changeset 1fbb0ef29363 (bug 1170855)
Backed out changeset 1fd9140044be (bug 1170855)
Backed out changeset cca48a1bc6ef (bug 1170855)
Backed out changeset 835570bc63bf (bug 1170855)
Backed out changeset 4ee1883ffc65 (bug 1170855)
Backed out changeset c666d71f4899 (bug 1170855)
Backed out changeset 046422ea849f (bug 1170855)
Backed out changeset d38fb3aea20a (bug 1170855)
2015-06-10 20:47:07 -07:00
Dan Glastonbury
77b3bd3050
Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert
2015-06-11 12:26:27 +10:00
Dan Glastonbury
e6e4f1da2d
Bug 1167504 - Part 3: Remove BindableName - Sampler. r=jgilbert
2015-06-10 13:24:18 +10:00
Dan Glastonbury
f73cc0ce95
Bug 1048720 - [WebGL2] Implement WebGL2Sampler. r=jgilbert
...
--HG--
extra : source : 361e31698c4a6074f3195502b468502d38aa82e8
2014-10-27 09:40:37 +10:00
Dan Glastonbury
bdf0470856
Bug 1002302 - WebGL2 - Stub WebGL 2.0 WebIDL, WebGL 2.0 Objects, and functions in WebGL2Context.; r=jgilbert,bjacob,smaug
...
--HG--
extra : rebase_source : a7f9510b34a9f43afc0418c50b8821928c2a4262
extra : source : 89c2a61cd4c543c78b9bf0963f0227488fa27802
2014-09-18 08:08:41 +10:00