Commit graph

204 commits

Author SHA1 Message Date
Kearwood (Kip) Gilbert
199db0ebbc Bug 1296745 - Clean up WebGLContext r=jgilbert
MozReview-Commit-ID: B6xazNgeJ9A

--HG--
extra : rebase_source : b011fed21cebb0c5b9bf5eea4e2b58b4a85e83b6
2016-08-19 14:44:37 -07:00
Jeff Gilbert
02edeadd27 Bug 1290634 - Remove unnecessary respecifyTexture arg from ZeroTextureData. - r=mtseng
MozReview-Commit-ID: 52VirsA4eCQ
2016-08-12 17:48:11 -07:00
Kearwood (Kip) Gilbert
434f167559 Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00
Ethan Lin
d775ae4e6e Bug 1260599 - Enable EXT_disjoint_timer_query extension on ANGLE. r=jgilbert
--HG--
extra : rebase_source : cd31f7ff2daa4fec743726fd2e1a04ca83820b5b
2016-07-17 19:37:00 +02:00
Benoit Girard
fbfff14ea5 Bug 1289813 - split out safe mode from FEATURE_FAILURE_WEBGL_DISABLED. r=jrmuizel
MozReview-Commit-ID: Jmp911jYjix

--HG--
extra : rebase_source : 825eaae61c3a685ff2853eba3820a02087779dd5
2016-07-29 14:28:51 -04:00
Carsten "Tomcat" Book
7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Benoit Girard
fecbc5166c Bug 1288746 - Handle missing WebGL failure IDs. r=jrmuizel
MozReview-Commit-ID: 3kdr8Dwinqm

--HG--
extra : rebase_source : dea04b6d4288e305bb3bb2b8f3965e8f1f713ef9
2016-07-22 13:26:05 -04: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
Jeff Gilbert
c98755a4a2 Bug 1285676 - Use actual bit depths for depth and stencil. - r=ethlin
MozReview-Commit-ID: FX3Ev3noJ6U
2016-07-11 13:10:18 -07:00
Jeff Gilbert
381a9f281a Bug 1265676 - Fix other callsites. - r=ethlin
MozReview-Commit-ID: EgLMZajmRnD
2016-07-08 15:25:58 -07:00
kearwood
694ce1cf8d Bug 1284324 - Implement Canvas Layer mirrors r=bas
- When a canvas layer is set to mirror, it copies the
  texture from the canvas rather than changing the
  texture factory with Morph().
- This is useful when a canvas content will be sent to
  multiple devices simultaneously, such as a VR HMD
  and a 2d monitor mirror.
- This is used by the WebVR 1.0 API, in Bug 1250244

MozReview-Commit-ID: JfMSockO2uz

--HG--
extra : rebase_source : ba9633f7cb9a622efb8389d834b4232205c72755
2016-07-04 13:11:07 -07:00
Jeff Gilbert
a35321385c Bug 1268638 - Redo backend selection dance for WebGL. - r=jrmuizel
MozReview-Commit-ID: EW8vDujwn4x
2016-07-01 13:15:37 -07:00
Jeff Gilbert
96dc6afb76 Bug 1268638 - Bitrot.
MozReview-Commit-ID: QJjb2PW5C4
2016-07-01 13:15:31 -07:00
Jeff Gilbert
e266a0fe97 Bug 1268638 - Disable native GL for webgl1, but allow in webgl2. - r=jrmuizel
MozReview-Commit-ID: FZJcIGsKb62
2016-07-01 13:15:25 -07:00
Jeff Gilbert
1ceea00332 Bug 1268638 - Use FailureReason struct. - r=jrmuizel
MozReview-Commit-ID: 4jxtXlToNZS
2016-07-01 13:15:20 -07:00
Jeff Gilbert
cd59689cf5 Bug 1268638 - WGL without DXGLInterop2 is perf caveat. - r=jrmuizel
MozReview-Commit-ID: 9AkBtzzGj6l
2016-07-01 13:15:14 -07:00
Jeff Gilbert
2dee86caa5 Bug 1268638 - Add webgl.disable-wgl. - r=jrmuizel
MozReview-Commit-ID: BjtMv8RKKMH
2016-07-01 13:15:02 -07:00
Jeff Gilbert
e417babf90 Bug 1268638 - Update WebGL creation to allow non-blacklisted native-gl. - r=jrmuizel
Also support accumulating a list of WebGL failure reasons.

MozReview-Commit-ID: I9p0BBrBJ5V
2016-07-01 13:14:51 -07:00
Jeff Gilbert
cb4677e853 Bug 1280507 - Simplify context loss handler. - r=jrmuizel
Use a self-referential RefPtr instead of manual AddRef/Release.
Reuse DisableTimer for when a worker is dead.

MozReview-Commit-ID: E1Cv9M7rbe2
2016-06-30 12:39:12 -04:00
Phil Ringnalda
141b0f62f3 Back out 9b419a38b9c9 (bug 1280507) for breaking offscreencanvas on Windows (even more than its usual broken state) 2016-06-27 22:48:17 -07:00
peter chang
24e5309e4d Bug 1281991 - Clean up WebGLSync objects before WebGL context lost, r=jgilbert
MozReview-Commit-ID: 8JnoRPetpKQ

--HG--
extra : rebase_source : dafaaa68f640b7b71bcdc0028a70cabb65270e08
2016-06-23 17:01:36 +08:00
Jeff Gilbert
bd1dee4c86 Bug 1280507 - Simplify context loss handler. - r=jrmuizel
Use a self-referential RefPtr instead of manual AddRef/Release.
Reuse DisableTimer for when a worker is dead.

MozReview-Commit-ID: E1Cv9M7rbe2
2016-06-27 20:36:28 -04:00
Carsten "Tomcat" Book
db11a4525e Backed out changeset 8dd927ca1cd1 (bug 1268638)
--HG--
extra : rebase_source : 8909933919f95877e7d61269955770c4532209db
2016-06-23 09:47:26 +02:00
Carsten "Tomcat" Book
dbb5d860d9 Backed out changeset c62305b23556 (bug 1268638)
--HG--
extra : rebase_source : f55a7ac7f723a9b5cb8d255e2d27d88a2f79ba4e
2016-06-23 09:47:25 +02:00
Carsten "Tomcat" Book
c03c1349bc Backed out changeset 419dea4c5e66 (bug 1268638)
--HG--
extra : rebase_source : 4ae663e429c37764db7176b5bd548a8d1c85dc21
2016-06-23 09:47:23 +02:00
Carsten "Tomcat" Book
440b19b445 Backed out changeset ca314c9d5249 (bug 1268638)
--HG--
extra : rebase_source : d15fcba45320c9d5730da7dd01fc57b6703de03b
2016-06-23 09:47:22 +02:00
Carsten "Tomcat" Book
a896cc25ca Backed out changeset 55f389b590b7 (bug 1268638)
--HG--
extra : rebase_source : 148700074878399bb64f4bcb76ea0096eb85e85e
2016-06-23 09:47:21 +02:00
Carsten "Tomcat" Book
60a9e9ce21 Backed out changeset 4171ff387666 (bug 1268638)
--HG--
extra : rebase_source : c57ffe49af64d35f69a5b186b2edef66b3223319
2016-06-23 09:47:20 +02:00
Carsten "Tomcat" Book
98a34f02db Backed out changeset a89314380aea (bug 1268638)
--HG--
extra : rebase_source : 512c7ab8052a1a5111b99ced39befd1c3bd13006
2016-06-23 09:47:20 +02:00
Jeff Gilbert
5c7f301a40 Bug 1268638 - Redo backend selection dance for WebGL. - r=jrmuizel
MozReview-Commit-ID: EW8vDujwn4x
2016-06-22 17:47:41 -07:00
Jeff Gilbert
619c297be6 Bug 1268638 - Bitrot.
MozReview-Commit-ID: QJjb2PW5C4
2016-06-22 17:47:41 -07:00
Jeff Gilbert
d7d6af3388 Bug 1268638 - Disable native GL for webgl1, but allow in webgl2. - r=jrmuizel
MozReview-Commit-ID: FZJcIGsKb62
2016-06-22 17:47:41 -07:00
Jeff Gilbert
5cab53a36f Bug 1268638 - Use FailureReason struct. - r=jrmuizel
MozReview-Commit-ID: 4jxtXlToNZS
2016-06-22 17:47:41 -07:00
Jeff Gilbert
748d83a0ff Bug 1268638 - WGL without DXGLInterop2 is perf caveat. - r=jrmuizel
MozReview-Commit-ID: 9AkBtzzGj6l
2016-06-22 17:47:41 -07:00
Jeff Gilbert
c0c4eadce1 Bug 1268638 - Add webgl.disable-wgl. - r=jrmuizel
MozReview-Commit-ID: BjtMv8RKKMH
2016-06-22 17:47:41 -07:00
Jeff Gilbert
c60ef0f24b Bug 1268638 - Update WebGL creation to allow non-blacklisted native-gl. - r=jrmuizel
Also support accumulating a list of WebGL failure reasons.

MozReview-Commit-ID: I9p0BBrBJ5V
2016-06-22 17:47:41 -07:00
Wes Kocher
8e4ef7176d Backed out 8 changesets (bug 1268638) for build bustage CLOSED TREE
Backed out changeset 1a2db6efc575 (bug 1268638)
Backed out changeset ad38e0439b62 (bug 1268638)
Backed out changeset 0078605c6974 (bug 1268638)
Backed out changeset 8ed7ed6c57db (bug 1268638)
Backed out changeset 69116551e4b9 (bug 1268638)
Backed out changeset 002f87a61edf (bug 1268638)
Backed out changeset 8b0db9b0f87c (bug 1268638)
Backed out changeset 5d1285d0c221 (bug 1268638)
2016-06-21 14:53:22 -07:00
Jeff Gilbert
fbc4cfa85b Bug 1268638 - Disable native GL for webgl1, but allow in webgl2. - r=jrmuizel
MozReview-Commit-ID: FZJcIGsKb62
2016-06-21 14:10:32 -07:00
Jeff Gilbert
e7a50dd7a3 Bug 1268638 - Use FailureReason struct. - r=jrmuizel
MozReview-Commit-ID: 4jxtXlToNZS
2016-06-21 14:10:32 -07:00
Jeff Gilbert
48fe5de54b Bug 1268638 - WGL without DXGLInterop2 is perf caveat. - r=jrmuizel
MozReview-Commit-ID: 9AkBtzzGj6l
2016-06-21 14:10:32 -07:00
Jeff Gilbert
c36a2ee161 Bug 1268638 - Add webgl.disable-wgl. - r=jrmuizel
MozReview-Commit-ID: BjtMv8RKKMH
2016-06-21 14:10:32 -07:00
Jeff Gilbert
9eb346bfe5 Bug 1268638 - Update WebGL creation to allow non-blacklisted native-gl. - r=jrmuizel
Also support accumulating a list of WebGL failure reasons.

MozReview-Commit-ID: I9p0BBrBJ5V
2016-06-21 14:10:32 -07:00
Jeff Gilbert
fe7590ad04 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-21 14:04:00 -07:00
Jeff Gilbert
3951dd65d8 Bug 1278403 - WebGL doesn't need validation. - r=jrmuizel
We do all validation in our WebGL layer, we only really generate GL_OOM
from the driver, no other errors.

This is opposed to SkiaGL, which may or may not rely on errors returned
from the driver. This is why I am not just turning on ABORT_ON_ERROR for
all GLContexts.

(Also, later, we should be creating no-error contexts on non-DEBUG builds,
so the driver doesn't replicate our validation. ANGLE already supports
this)

MozReview-Commit-ID: A4RSgzUXfHA
2016-06-21 13:47:30 -07:00
Jeff Gilbert
6b0581243f Bug 1278403 - Choose GLContext::DebugFlags based on ContextCreateFlags. - r=jrmuizel
MozReview-Commit-ID: KSjIhu8I20C
2016-06-21 13:47:30 -07:00
Carsten "Tomcat" Book
c0c2282bfb Backed out changeset 097dc302f5a0 (bug 1279657) 2016-06-17 13:33:06 +01:00
Jeff Gilbert
30c5609435 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-17 05:10:55 -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
Benoit Girard
c3105e007d Bug 1279317 - Don't override the failureId with a more general one. r=jrmuizel
MozReview-Commit-ID: 8ErCqFlm89p

--HG--
extra : rebase_source : cc6739ce9a2f818b32b9eecff0bbc3b0c9c29011
2016-06-09 15:20:49 -04:00
Benoit Girard
2586414710 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: 24eb4FXMOiI

--HG--
extra : rebase_source : 391e44f4d4fdcf5782053fc6c3e9b17e651a9a1f
2016-06-06 16:52:42 -04:00