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
13e2d73059
Bug 1492580 - Repair CONTEXT_LOST handling. r=lsalzman
...
Simplify error handling in GLContext.
Modernize context loss handling in GLContext.
Remove various unused parts.
Fix WebGLContext's context loss/restoration.
MozReview-Commit-ID: Lu2hi5HnP8x
Differential Revision: https://phabricator.services.mozilla.com/D12496
--HG--
extra : moz-landing-system : lando
2018-11-27 04:23:19 +00: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
dd4766f2a3
Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
...
The WG rejected this extension.
--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html
2018-10-10 18:13:14 -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
1e459429ff
Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
...
The WG rejected this extension.
--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html
2018-10-09 21:39:17 -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
Boris Zbarsky
0ba35d199f
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Jeff Gilbert
d9815e3cac
Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
...
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.
MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08:00
Jeff Gilbert
db4f0399df
Bug 1427668 - Fixes and spew. - r=daoshengmu
...
MozReview-Commit-ID: 9NPkWsh2rxE
2018-01-05 15:27:56 -08: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
Samuel Vargas
901459a071
Bug 1325113 - Implement support for WEBGL_compressed_texture_s3tc_srgb - r=jgilbert,qdot
...
MozReview-Commit-ID: mI4dlB2lK
2017-06-08 14:54:37 -07:00
Aryeh Gregor
af57d2df0f
Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug
...
Other browsers do not support any of these (IIRC), telemetry reports
essentially zero usage, and supporting them is contrary to the DOM spec.
Notes on specific events:
CommandEvent and SimpleGestureEvent: These are not supposed to be
web-exposed APIs, so I hid the interfaces from web content too
(necessary to avoid test_all_synthetic_events.html failures).
DataContainerEvent: This was a non-standard substitute for CustomEvent
that seemed to have only one user, so I removed it entirely and switched
the user (MozillaFileLogger.js) to CustomEvent.
ScrollAreaEvent: This is entirely non-standard, but we apparently expose
it deliberately to web content, so I didn't see any reason to remove it
from createEvent.
SimpleGestureEvent and XULCommandEvent: Can still be created from
createEvent(), but not by content.
TimeEvent: This is still in because it has no constructor, so there's no
other way to create it. Ideally we'd update the SMIL spec to add a
constructor. I did remove TimeEvents.
MozReview-Commit-ID: 7Yi2oCl9SM2
--HG--
extra : rebase_source : 199ab921acfc531b8b85e77f90fcd799b03c887b
2017-04-20 15:45:37 +03:00
Daosheng Mu
037683ca3e
Bug 1349055 - Stencil clear value needs to mask to be an unsigned integer; r=jgilbert
...
MozReview-Commit-ID: 48PE2bHh87L
--HG--
extra : rebase_source : d4637249f8356cf4c9803047575759698a496b89
2017-03-28 10:18:38 +08:00
Tom Tromey
9b663e797b
Bug 1060419 - make WebGLContextUtils.cpp use VsprintfLiteral, r=froydnj
...
MozReview-Commit-ID: JhwopeIpUMo
--HG--
extra : rebase_source : 8540864ed969ad038e996b22d78ec3b4f1ba3cb8
2016-12-09 13:48:22 -10:00
Jeff Gilbert
195cc8411d
Bug 1335296 - Expand about:support WebGL information. - r=qdot,daoshengmu,jrmuizel
...
MozReview-Commit-ID: 166aNL6VSOa
2017-02-02 16:50:19 -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
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
Tooru Fujisawa
13783142a7
Bug 1289050 - Part 5.1: Use ASCII variants of JS_ReportWarning in dom/canvas. r=jwalden,jgilbert
2016-09-30 12:34:45 +09:00
Tooru Fujisawa
ba7a576409
Bug 1289050 - Part 5: Use ASCII variant of JS_ReportWarning. r=jwalden
2016-08-14 20:39:29 +09:00
Jeff Gilbert
9e7f59719d
Bug 1286348 - Reintroduce support for UNPACK_{FLIP_Y,PREMULTIPLY_ALPHA}. - r=mtseng
...
MozReview-Commit-ID: 2KGHc3I2HzT
2016-07-13 02:16:14 -07:00
eyim
b0ca07b635
Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
...
MozReview-Commit-ID: FjLA9xNH3zD
--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Jeff Gilbert
b2883162ea
Bug 1258036 - Separate global state checks from fb-specific checks. - r=jrmuizel
2016-05-31 14:44:46 -07:00
Jeff Gilbert
084156ef40
Bug 1186688 - Remove cached state check for DrawBuffer maximums, since it's invalid with min-cap mode. - r=jrmuizel
2016-04-25 17:50:43 -07:00
Boris Zbarsky
e3b2de6aa9
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Jeff Gilbert
c6dad7bd09
Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel
2016-02-12 19:31:58 -08:00
Jeff Gilbert
19d84fb0fe
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-24 20:15:29 -08:00
Phil Ringnalda
71a6f5da62
Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures
2015-11-23 21:55:59 -08:00
Jeff Gilbert
87397c265b
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-23 19:27:13 -08:00
Jeff Gilbert
187dfafc29
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-24 12:21:05 -07:00
Phil Ringnalda
449e9119b4
Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
...
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
8d443901df
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-22 16:49:25 -07:00
Jeff Gilbert
0b43ed5707
Bug 1206907 - GenerateWarning should output to Web Console, not Browser Console. - r=bholley
2015-09-22 15:51:01 -07:00
Jeff Gilbert
f0e28e9429
Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish
2015-08-03 14:34:46 -07:00
Jeff Gilbert
2e4a1c88ee
Bug 1182371 - Misc WebGL cleanup. - r=kamidphish
2015-07-14 17:37:28 -07:00
Boris Zbarsky
40b8fd3ec6
Bug 1173638. Make the constructors for Error and its subtypes get their filenames/linenumbers from the saved stack, not manually. r=fitzgen,bholley
...
The changes in webgl code are to ensure that we're in a reasonable compartment
while reporting a warning via the JS engine.
2015-06-15 20:05:49 -04:00
Dan Glastonbury
781e652a3f
Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert
...
--HG--
rename : dom/canvas/WebGLTimerQuery.h => dom/canvas/WebGL2ContextState.cpp
2015-06-11 15:12:05 +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
6aad5f01c4
Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert
...
--HG--
rename : dom/canvas/WebGLTimerQuery.h => dom/canvas/WebGL2ContextState.cpp
2015-06-11 12:26:23 +10:00
JerryShih
fe1981cb51
Bug 1150310 - Only check stencil LSB 8bit value. r=jgilbert
...
--HG--
extra : rebase_source : 78dbe41efd129eea38d80415e14105a38bbf8f8d
2015-06-09 00:46:00 -04:00
Dan Glastonbury
bdc3ac4601
Bug 1167504 - Part 7: Remove BindableName - Buffer. r=jgilbert
2015-06-10 13:52:07 +10:00
Dan Glastonbury
e1b36d0a84
Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert
2015-06-10 13:24:18 +10:00
Dan Glastonbury
90a7ccba6d
Bug 1167504 - Part 1: Remove BindableName - Framebuffer. r=jgilbert
2015-06-10 13:24:16 +10:00
Dan Glastonbury
8646fecbf1
Bug 1159117: Remove assert causing crash. CLOSED TREE
2015-05-28 13:14:27 +10:00