Commit Graph

1755 Commits

Author SHA1 Message Date
Xidorn Quan
a8e64a94e1 Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
MozReview-Commit-ID: 3uS9s5ZrPFd

--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
kvark
072ea09cfb Bug 1278199 - Reset viewport offset on SetDimensions and clamp to MAX_VIEWPORT_DIMS. r=jgilbert
--HG--
extra : rebase_source : 553fef64d3d8c04145a1c065c5b4217435a5f114
2017-01-10 14:15:00 -05:00
George Wright
738fcd7d41 Bug 1329777 - Don't bail early from SwitchRenderingMode unless there's also no buffer provider r=Bas 2017-01-10 21:12:40 -05: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
Shing Lyu
11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
kvark
bf329478e1 Bug 1329044 - Avoid taking const references to fields behind accessors. r=jgilbert 2017-01-09 10:16:00 -05:00
Cameron McCormack
babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Wes Kocher
0f254a30d6 Merge inbound to central, a=merge
MozReview-Commit-ID: 1ij6nLf8f8s
2017-01-05 17:30:35 -08:00
cku
09c56e6da6 Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.

MozReview-Commit-ID: EMkLnG3YXA1

--HG--
extra : rebase_source : b0a0aad1fec0c2765e96d23ed9b627345c793795
2017-01-03 13:53:22 +08:00
Iris Hsiao
c8e876e89c Backed out changeset c868ab532766 (bug 1323912) 2017-01-04 21:47:12 -05:00
cku
adab9bea9f Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.

MozReview-Commit-ID: EMkLnG3YXA1

--HG--
extra : rebase_source : 080a843b34cc1ca27831310d474243b4066f59f2
2017-01-03 13:53:22 +08:00
Jeff Gilbert
4e282917d8 Bug 1325995 - Misc fixes.
MozReview-Commit-ID: IcJvNv6rWSt
2017-01-04 00:41:06 -08:00
Jeff Gilbert
c66c9fccda Bug 1325995 - Disallow backslash in WebGL 1. - r=daoshengmu
MozReview-Commit-ID: IrBZYnPVLU
2017-01-04 00:41:04 -08:00
Jeff Gilbert
2083c22652 Bug 1325995 - Update tests.
MozReview-Commit-ID: H0k6ypLCW4P
2017-01-04 00:41:02 -08:00
Jeff Gilbert
2d5f771315 Bug 1325995 - Do our own GLSL char validity checks based on ESSL3 rules. - r=daoshengmu
MozReview-Commit-ID: 60mJqYFTQBA
2017-01-04 00:41:00 -08:00
Jeff Gilbert
43c4b02d0c Bug 1325995 - Rewrite shader comment truncation. - r=daoshengmu
MozReview-Commit-ID: KvgQhxAnDQl
2017-01-04 00:40:58 -08:00
Jeff Gilbert
63a9df0c54 Bug 1326378 - Infer indexed frag output location from base location on OSX. - r=ethlin
MozReview-Commit-ID: Ar07ZnNhu5d
2017-01-03 21:07:48 -08:00
Phil Ringnalda
c4d1ea9a14 Merge m-c to m-i
MozReview-Commit-ID: JYNBUrs2zC5
2017-01-03 18:46:43 -08:00
Olli Pettay
0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Milan Sreckovic
e46c16114f Bug 1318283: UpdateFilter can sometimes invalidate the draw target. Back out the previous speculative patch. r=mstange
MozReview-Commit-ID: 8u2sjS9dyLu

--HG--
extra : rebase_source : 876ec3d4d2cd47d76fe57db645764eba281209d9
2017-01-03 12:01:11 -05:00
Jeff Gilbert
11e66ffa63 Bug 1316546 - CopyTexImage can convert unsigned fixed-point to signed fixed-point. - r=lenzak800
MozReview-Commit-ID: FrdNXH84KMD
2017-01-02 15:19:24 -08: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
d61a07cd85 Bug 1295001 - Check interface blocks during validation. - r=kvark
MozReview-Commit-ID: 6nyTZPLmbdC
2016-12-30 21:40:20 -08:00
Jeff Gilbert
61b02e4fd7 Bug 1326159 - Update TF buffer restrictions. - r=daoshengmu
Update conformance2/buffers/bound-buffer-size-change-test.html to top-of-tree 2.0.0.

MozReview-Commit-ID: CgfP70Y0wul
2016-12-30 03:30:13 -08:00
Jeff Gilbert
a08f6f998c Bug 1325699 (flattened) - Fix uniform block handling. - r=daoshengmu
Flattened with:
* Handle -1 attrib locations. - r=daoshengmu
2016-12-29 02:47:08 -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
0cf1348d5e Bug 1324972 (flattened) - Disable unnecessary manual index validation for WebGL 2. - r=daoshengmu
Includes:
* Catch ANGLE's zealous index-out-of-bounds INVALID_OPs.
* ANGLE DrawElements validation is wrong.
2016-12-29 02:45:11 -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
Randell Jesup
ac570b16c4 Bug 1250356: rollup of changes for webrtc after applying webrtc.org v49 update r=pkerr,ng,pehrsons,etc
See ssh://hg.mozilla.org/users/paulrkerr_gmail.com/webrtc49_merge/ for the
patch development history.
2016-12-27 19:41:02 -05: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
798acabef4 Bug 1325500 (flattened) - Fix DrawRangeElements impl and require size=4 for packed int types. - r=daoshengmu
MozReview-Commit-ID: B3YpgZn48Nl
2016-12-25 13:44:47 -08:00
Jeff Gilbert
b669f45f40 Bug 1325486 - TFBufferMode defaults to INTERLEAVED, and UniformMatrix's transpose arg should be passed to GL. - r=daoshengmu
MozReview-Commit-ID: 7yc2u0GQDnr
2016-12-25 13:44:44 -08:00
Jeff Gilbert
cc9ce2e970 Bug 1325483 - Query DRAW_BUFFER0 from GLScreenBuffer. - r=daoshengmu
MozReview-Commit-ID: KjhbQM9B8EZ
2016-12-25 13:44:42 -08:00
Jeff Gilbert
149aff4438 Bug 1325477 - Initial RB config is 0x0 RGBA4. - r=daoshengmu
MozReview-Commit-ID: 69MYWBgDpPS
2016-12-25 13:44:40 -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
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
0801831c32 Bug 1325240 - Handle arrays in glsl variable location queries properly. - r=daoshengmu
MozReview-Commit-ID: 1XYwvh9QGmA
2016-12-25 13:44:31 -08:00
Jeff Gilbert
35a5dbc87a Bug 1325238 - Use ShCompileOptions type instead of int. - r=daoshengmu
Also only use SH_LIMIT_CALL_STACK_DEPTH if we have resources.MaxCallStackDepth.

MozReview-Commit-ID: DXhw7A7gCjF
2016-12-25 13:44:29 -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
3587cf5c07 Bug 1323626 - Initialize tex image data during completeness checks. - r=daoshengmu
MozReview-Commit-ID: 9g5EETBEfU2
2016-12-25 13:44:24 -08:00
Jeff Gilbert
a2f7e49912 Bug 1324727 - Check for invalid DOM upload format/type. - r=daoshengmu
MozReview-Commit-ID: 2uZi1ILyMIM
2016-12-25 13:44:22 -08:00
Jeff Gilbert
a43611a6e8 Bug 1326367 - Fix FakeVertex0 and enable emulation for OSX+NV+Core profiles. - r=ethlin
MozReview-Commit-ID: IafpirHZroB
2017-01-05 03:07:55 -08:00
Jeff Gilbert
5f768aaee3 Bug 1328559 - Remove assert and update comment.
MozReview-Commit-ID: 3PYzMsqB9MK
2017-01-05 02:00:04 -08:00
Jeff Gilbert
b6fd571b9e Bug 1328559 (flattened) - Built-in attribs should have location of -1. - r=daoshengmu
But ANGLE gives back valid >=0 locations!

MozReview-Commit-ID: 9zYiX5BGGud
2017-01-05 01:16:30 -08:00
Andrea Marchesini
94547f20bb Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly 2017-01-05 10:05:32 +01:00
Jeff Gilbert
5724214b50 Bug 1328539 - writeX/Y should be relative to x/yOffset. - r=daoshengmu
MozReview-Commit-ID: KKstUheoSrJ
2017-01-04 23:13:49 -08:00
Cameron McCormack
d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Jeff Gilbert
434e88ad10 Bug 1324940 - Mark test passing.
MozReview-Commit-ID: P30MWy1xMK
2016-12-20 19:35:22 -08:00
Jeff Gilbert
8a9c965490 Bug 1324924 - Support ImageBitmap for Tex*Image*. (flattened) - r=bz,daoshengmu,mtseng
MozReview-Commit-ID: JzcbzeFHyHn
2016-12-20 19:24:25 -08:00
Jeff Gilbert
f18df6e96d Bug 1324940 - It's bit-shift, not byte-shift. - r=daoshengmu
MozReview-Commit-ID: BfmjmTu32Zc
2016-12-20 18:58:08 -08:00
Boris Zbarsky
7607f4c0dd Bug 1324543 - Fix inheritance in our webidl. - r=jgilbert,bz
MozReview-Commit-ID: 7W95FqqfBuE
2016-12-20 15:48:20 -08:00
Jeff Gilbert
9d407da7b7 Bug 1324721 - Coersion of GLFloat to GLint in TexParameter should round. - r=daoshengmu
MozReview-Commit-ID: 4hpmgWgheYU
2016-12-20 13:20:14 -08:00
Jeff Gilbert
54a9c62b62 Bug 1324712 - TEXTURE_2D_ARRAY mipmap checks are wrong. - r=daoshengmu
MozReview-Commit-ID: 81dEFSATPgR
2016-12-20 13:20:12 -08:00
Jeff Gilbert
bdc88b3f78 Bug 1324710 - Fix deqp/functional/gles3/negativestateapi.html - r=daoshengmu
MozReview-Commit-ID: 2seTY1tEtvX
2016-12-20 13:20:11 -08:00
Jeff Gilbert
cd75194b2c Bug 1202427 - Stub DrawRangeElements into DrawElements. - r=daoshengmu
MozReview-Commit-ID: 2rlnPFcvfEd
2016-12-20 13:20:09 -08:00
Jeff Gilbert
63439e0683 Bug 1324626 - Pick a MAX_CLIENT_WAIT_TIMEOUT_WEBGL. - r=lenzak800
MozReview-Commit-ID: L4gaasXZYFb
2016-12-20 13:20:07 -08:00
Jeff Gilbert
ac1470a840 Bug 1324351 - Zero-length maps are invalid. - r=daoshengmu
MozReview-Commit-ID: IZQaLltkGIv
2016-12-20 13:20:05 -08:00
Jeff Gilbert
f09cb0082c Bug 1305864 - Catch INVALID_OP from bad-format CopyTexSubImage in ANGLE for now. - r=daoshengmu
MozReview-Commit-ID: 9Hq0pW4xwRN
2016-12-20 13:20:03 -08:00
Jeff Gilbert
b22f1cf605 Bug 1316539 - Do null TexSubImage check with blob->HasData(). - r=lenzak800
MozReview-Commit-ID: LwRZQI2dcKO
2016-12-20 13:20:01 -08:00
Jeff Gilbert
be11fc9350 No bug - Skip common intermittant test. - a=testonly
MozReview-Commit-ID: JpreGx7Wm9E
2016-12-20 13:07:24 -08:00
Jeff Gilbert
f919077d47 Bug 1324614 - Make MAX_ELEMENT_INDEX default to UINT32_MAX when ES3_compat unavailable. - r=daoshengmu
MozReview-Commit-ID: 5y3cXDaLYXe
2016-12-20 13:00:40 -08:00
Jeff Gilbert
a20668b137 Bug 1324604 - Only query IMPLEMENTATION_COLOR_READ_FORMAT/TYPE on actual GLES. (flattened) - r=daoshengmu
MozReview-Commit-ID: 3KFbKZremf2
2016-12-20 13:00:38 -08:00
Jeff Gilbert
f7b2bc6226 Bug 1324598 - GENERATE_MIPMAP_HINT isn't queriable in Core Profiles. - r=daoshengmu
MozReview-Commit-ID: 6Z2MPmeFqv
2016-12-20 13:00:20 -08:00
Jeff Gilbert
4fe7340dc2 Bug 1309643 - Only enable primitive restart index on OSX for DrawElements. - r=ethlin 2016-12-19 15:24:30 -08:00
Phil Ringnalda
3abfe370ac Merge m-i to m-c, a=merge
MozReview-Commit-ID: 3TWj1elRxgV
2016-12-17 14:00:48 -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
Jeff Gilbert
b74d781464 Bug 1315866 - Always-too-large level during tex image specification is INVALID_VALUE. - r=ethlin
MozReview-Commit-ID: 9fBznguuq1l
2016-12-16 15:00:57 -08:00
Jeff Gilbert
a33624e1d6 Bug 1323363 - Fix non-paranoid PBO uploads. - r=ethlin
MozReview-Commit-ID: L0nCELNAmBc
2016-12-16 15:00:55 -08:00
Jeff Gilbert
96603c419d Bug 1323617 - Don't assert for performance trap when srcPremult == dstPremult, even if the formats allow us to skip premult. - r=ethlin
MozReview-Commit-ID: 4OIdz48KhfH
2016-12-16 15:00:52 -08:00
Jeff Gilbert
7eee1ae7b9 Bug 1323617 - Fix canvas_sub_rectangle tests. - r=ethlin
MozReview-Commit-ID: 8wWDiiyp7ZS
2016-12-16 15:00:50 -08:00
Jeff Gilbert
7ca1cb79d0 Bug 1305832 - Move texture clearing code into WebGLTexture.cpp. - r=ethlin
MozReview-Commit-ID: 30UcfPZLYNz
2016-12-14 20:16:59 -08:00
Jeff Gilbert
ab01d38382 Bug 1305832 - Only glClear for ANGLE's ANGLE_depth_texture textures. - r=ethlin
MozReview-Commit-ID: H6yE1ib2TRI
2016-12-14 20:16:57 -08:00
Jeff Gilbert
6d03f48811 Bug 1305832 - CopyTex[Sub]Image should specify using TexImage to convince the driver to use the right internal format. - r=ethlin
MozReview-Commit-ID: JmhmNtqeA9V
2016-12-14 20:16:55 -08:00
Jeff Gilbert
49152faebc Bug 1305832 - ZeroTextureData doesn't need x/y/zOffset, so remove those args. - r=ethlin 2016-12-14 20:16:53 -08:00
Jeff Gilbert
227122a7b3 Bug 1305832 - Only use ZeroTexImageWithClear if we really have to. - r=ethlin
Only needed for ANGLE_depth_texture.
2016-12-14 20:16:51 -08:00
Andrew McCreight
fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05: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
5c54a45e7f Bug 1320030 - Mark tests.
MozReview-Commit-ID: C9TpCsqiWjw
2016-12-07 01:35:46 -08:00
Jeff Gilbert
1f193e4f38 Bug 1320030 - Handle program and shader object deletion differently. - r=ethlin
MozReview-Commit-ID: 4wSZ81lFP6e
2016-12-07 01:35:42 -08:00
Jeff Gilbert
406baa7c7d Bug 1320030 - Cherry-pick tests.
MozReview-Commit-ID: 1xcRhru8eQk
2016-12-07 01:35:39 -08:00
Jeff Gilbert
51d744aa93 Bug 1320030 - Simplify marking and deletion checks. - r=ethlin 2016-12-07 01:35:28 -08:00
Jeff Gilbert
59ee7b049c Bug 1321450 - Update tests.
MozReview-Commit-ID: FNIVogqXLld
2016-12-06 17:33:37 -08:00
Jeff Gilbert
5744fac350 Bug 1321450 - Check our GLsizei args. - r=ethlin
MozReview-Commit-ID: CEXu5LjgMx6
2016-12-06 17:33:35 -08:00
Jeff Gilbert
6e1880d435 Bug 1321450 - Fix Invalidate[Sub]Framebuffer. - r=ethlin
MozReview-Commit-ID: nrZP6E412k
2016-12-06 17:33:33 -08:00
Jonathan Kew
4ab3ae7306 Bug 1319668 - Check for null context before trying to draw canvas text. r=mats 2016-12-03 14:49:46 +00:00
Tomislav Jurin
348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -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
Phil Ringnalda
cb9b077de5 Backed out changeset 5b70ccd12b42 (bug 1305832) for webgl failures
MozReview-Commit-ID: F42Iwt1Rblt
2016-11-30 20:14:13 -08:00
Phil Ringnalda
b2a5d074b0 Merge m-c to m-i, a=merge
MozReview-Commit-ID: ElWKmbRf3Wx
2016-11-30 19:21:52 -08:00
Phil Ringnalda
9d4fa3ee74 Merge autoland to m-c, a=merge
MozReview-Commit-ID: ZxgsQWdyOP

--HG--
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-15-gradle/nightly-artifact
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-15/nightly-artifact
2016-11-30 19:17:54 -08:00
Phil Ringnalda
4dc59c2776 Backed out changeset f97b53fd3b7e (bug 1305832) for Windows webgl assertion failures
CLOSED TREE

MozReview-Commit-ID: 3ogDpD9Abpc
2016-11-30 18:36:00 -08:00
Jeff Gilbert
1aa90c537b Bug 1305832 - ZeroTextureData doesn't need x/y/zOffset, so remove those args. - r=ethlin 2016-11-30 15:47:59 -08:00
Jeff Gilbert
dcd2721cd1 Bug 1305832 - Only use ZeroTexImageWithClear if we really have to. - r=ethlin
Only needed for ANGLE_depth_texture.
2016-11-30 15:47:57 -08:00
Chih-Yi Leu
cd70af2e05 Bug 1300549 - Bail out if we have already generated exceptions. r=jgilbert
--HG--
extra : rebase_source : b3744a5a6ffb59c63acfff5b292d40d4c23ed206
2016-11-24 01:55:00 +01:00
Jeff Gilbert (:jgilbert)
d570415e50 Bug 1250077 - Implement WEBGL_compressed_texture_astc. - r=ethlin
MozReview-Commit-ID: J2jB4tOJrTs
2016-11-28 18:12:32 -08:00
Nathan Froyd
2ebbd09068 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00