Commit Graph

1717 Commits

Author SHA1 Message Date
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
Edwin Flores
3af4985263 Bug 1318283 - Debug patch - r=milan 2016-11-28 19:32:49 +00:00
Ethan Lin
fa1ec91634 Bug 1319362 - Use area but not just dimension to check SkiaGL minimum size. r=lsalzman 2016-11-22 19:52:00 +01:00
Ethan Lin
36865f4330 Bug 1319004 - Remove workaround for ANGLE. r=jgilbert 2016-11-23 00:01:00 +01:00
Nicolas Silva
36605f9e7b Bug 1300121 - Make PersistentBufferProviderShared::BorrowDrawTarget more robust agaist bad edge cases and if all fails, fallback to the basic provider. r=Bas 2016-10-11 13:23:11 +02:00
Nicolas Silva
4ae68feb2d Bug 1300121 - Make switching between canvas buffer providers a tad more robust. r=Bas 2016-11-24 15:08:10 +01:00
Jeff Gilbert (:jgilbert)
43a63d8e17 Bug 1310247 - Use pointers instead of references to prevent taking the address of temporary integers. - r=ethlin
MozReview-Commit-ID: FG1NsAs3iG0
2016-11-23 13:19:11 -08:00
Jeff Gilbert (:jgilbert)
ef676d2f04 Bug 1310247 - Fix tests to match implementation for now.
MozReview-Commit-ID: 77VxJJA0hSR
2016-11-23 13:19:09 -08:00
Jeff Gilbert (:jgilbert)
38330f393b Bug 1310247 - Check if buffers are bound for transform feedback. - r=ethlin
MozReview-Commit-ID: 4EsOdz7vXNH
2016-11-23 13:19:07 -08:00
Jeff Gilbert (:jgilbert)
072776ecb4 Bug 1318507 - Cherry-pick affected tests from top-of-tree.
MozReview-Commit-ID: 29K4NZKdkfy
2016-11-22 23:59:31 -08:00
Jeff Gilbert (:jgilbert)
43dafdd33c Bug 1318507 - SharedArrayBuffer must be wrapped in a view before being passed to WebGL.
MozReview-Commit-ID: LwfI62iChno
2016-11-22 23:59:29 -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
Jeff Gilbert (:jgilbert)
1a57a7121a Bug 1318507 - Update implementation. - r=ethlin 2016-11-22 23:59:24 -08:00
Wes Kocher
18726f190c Backed out changeset 6d906f5908d1 (bug 1316539) for gl2 failures a=backout 2016-11-22 11:22:56 -08:00
Chih-Yi Leu
3e6fcbfb79 Bug 1316539 - Add null pixel check in TexSubImage. r=jgilbert
--HG--
extra : rebase_source : c575f835bfdadf4a24e8e62bdd1ec10dcdda98e1
2016-11-21 20:28:00 +01:00
Carsten "Tomcat" Book
8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Jeff Gilbert (:jgilbert)
58d3ba62c2 Bug 1318523 - Unify VAO implementation. - r=ethlin
MozReview-Commit-ID: 2LHEY7PtE5I
2016-11-21 18:26:55 -08:00
Kaku Kuo
42ed861e1e Bug 1312148 - report memory allocation while creating ImageBitmap; r=mtseng,smaug
Creating ImageBitmap from the following sources includes allocating new memory:
(1) from ImageData.
(2) from Blob.
(3) from HTMLCanvasElement.
(4) from CanvasRenderingContext2D.
(5) from Structured-clone.
(6) from Transferring.
(7) from OffscreenCanvas.
(8) from ArrayBuffer/TypedArray.

We need to report to DOM so that the GC would be triggered appropriately.

MozReview-Commit-ID: 7rvNsjVNqpz

--HG--
extra : rebase_source : 8879c9a1723b65fcd1bae2ae7e8befb5be8a5c69
extra : source : c0fc415ed753cb675a605a6e6a55e369733c6646
2016-10-28 18:18:48 +08:00
Sylvestre Ledru
a951e92669 Bug 1320892 - Remove useless assertion (which is breaking the build with gcc 7.0 and --enable-warnings-as-errors) r=jgilbert
MozReview-Commit-ID: K0DWVA1Jbjb

--HG--
extra : rebase_source : 0ac99da066ac2b19d94ee2cb2e1455f852e6fabe
2016-11-29 11:19:04 +01:00
Ethan Lin
f54337e8e6 Bug 1316245 - In ZeroTextureData, bind texture before cleaning it. r=jgilbert 2016-11-18 00:16:00 -05:00
Chih-Yi Leu
3988aaaef5 Bug 1316544 - Fix conformance test fail in texture-image-webgl-specific r=jgilbert 2016-11-17 21:22:00 +01:00
Jeff Gilbert (:jgilbert)
af3cf0408b Bug 1301671 - Roll back non-nullable check for getAttachedShaders in tests.
MozReview-Commit-ID: 7rijDHSi2JW
2016-11-17 13:31:09 -08:00
Jeff Gilbert (:jgilbert)
e9f8d55cb4 Bug 1301671 - Update affected tests to top-of-tree.
MozReview-Commit-ID: I2xwbEKLRSw
2016-11-17 13:31:07 -08:00
Emilio Cobos Álvarez
042aca2b61 Bug 1301671 - Cannot bind deleted objects. - r=jgilbert
MozReview-Commit-ID: DV6a2pYMyIU
2016-11-17 13:31:05 -08:00
Jeff Gilbert (:jgilbert)
34864e743e Bug 1290831 - Clarify TexUnpackBlob::TexOrSubImage's fallibility and update callers. - r=cleu
MozReview-Commit-ID: EmkzXwek8JW
2016-11-16 20:44:30 -08:00
Jeff Gilbert (:jgilbert)
bc823bdc70 Bug 1316530 - Normalized int/uint count as fixed, and should be treated like floats in BlitFramebuffer. - r=ethlin
MozReview-Commit-ID: FBV0qTDk4pS
2016-11-16 20:44:28 -08:00
Boris Zbarsky
3815c83ef1 Bug 1317625. Stop using xpc::AccessCheck in WebGL code. r=jgilbert 2016-11-16 14:10:22 -05:00
Carsten "Tomcat" Book
e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Kan-Ru Chen
f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Andi-Bogdan Postelnicu
aaf2063029 Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
MozReview-Commit-ID: 12AHOhrpaNO

--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Milan Sreckovic
7bf73e0916 Bug 1313884: Part 2. Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280 2016-11-15 12:56:16 -05:00
Jeff Gilbert (:jgilbert)
7fa6343d06 Bug 1308057 - GPU_DISJOINT is false unless we have the ext. - r=ethlin
MozReview-Commit-ID: vvBJZV4DcW
2016-11-14 14:05:25 -08:00
Jeff Gilbert (:jgilbert)
42a8668d88 Bug 1308057 - Use pointer-to-query-slot for is-active status. DeleteQuery should clear its slot if it has one. - r=ethlin
MozReview-Commit-ID: 9xY6NzwKOz3
2016-11-14 14:05:19 -08:00
Jeff Gilbert (:jgilbert)
ae22cd7d19 Bug 1308057 - GetQuery(CURRENT_QUERY) should return null for target mismatch, for targets that share the same slot. - r=ethlin
MozReview-Commit-ID: 27HPXBjBQ6k
2016-11-14 14:05:14 -08:00
Jeff Gilbert (:jgilbert)
175d62e1af Bug 1308057 - Fix errors. - r=ethlin
MozReview-Commit-ID: I7bd7xOa2YR
2016-11-14 14:05:08 -08:00
Jeff Gilbert (:jgilbert)
da9ef5ebbd Bug 1308057 - Update tests. - r=ethlin
MozReview-Commit-ID: Fl3ofikbPdP
2016-11-14 14:04:57 -08:00
Jeff Gilbert (:jgilbert)
ce6d0809a4 Bug 1308057 - EXT_disjoint_timer_query is no longer Draft. - r=ethlin
MozReview-Commit-ID: ETtrxQcwPgg
2016-11-14 14:04:52 -08:00
Jeff Gilbert (:jgilbert)
b054199751 Bug 1308057 - Merge WebGLTimerQuery into WebGLQuery. - r=ethlin
MozReview-Commit-ID: 88b8DLd2uJ6
2016-11-14 14:04:41 -08:00
Jeff Gilbert (:jgilbert)
bd6c33a960 Bug 1308057 - retvals should start null, and missing return. - r=ethlin
MozReview-Commit-ID: FEOoKQBy7Hk
2016-11-14 14:04:35 -08:00