Commit Graph

78 Commits

Author SHA1 Message Date
Jeff Gilbert
160a9ba074 Bug 1466001 - Index buffer must be non-null. - r=kvark
MozReview-Commit-ID: ConbNwht4Pp
2018-06-01 14:11:02 -07:00
jgilbert@mozilla.com
6c1b5e5b7e Bug 1458264 - Reset UNPACK_SKIP vars when uploading zeros. - r=kvark
MozReview-Commit-ID: ILB6MqgnrXX
2018-05-31 14:43:31 -07:00
Jeff Gilbert
0e3bc8d156 Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
Also update corresponding test to have a stencil buffer and enable
STENCIL_TEST.
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-16 13:35:03 -07:00
Brindusan Cristian
2afc10c3ee Backed out changeset 586d0eef1de5 (bug 1444563) for webgl failures on test_2_conformance__misc__webgl-specific.html CLOSED TREE 2018-03-15 23:22:10 +02:00
Jeff Gilbert
37a3954c68 Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-15 13:39:12 -07:00
Jeff Gilbert
ddcbd15bb0 Bug 1428898 - Add TlsScope to reduce fIsCurrent calls. - r=daoshengmu
MozReview-Commit-ID: Kyi8dcO7nAu
2018-01-09 18:43:35 -08:00
Edmund Wong
8dbd5e0533 Bug 1428678 - Include MozFramebuffer.h instead of gfx/gl/MozFramebuffer.h to work around Thunderbird builtbot problem. r=jgilbert a=thunderbird-bustagefix 2018-01-07 19:35:00 +02:00
Jeff Gilbert
683e75beaf Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jeff Gilbert
fda7254a0b Bug 1425488 - Reset last fenceId on write to buffers. - r=lenzak
MozReview-Commit-ID: HwPpGWKNA9W
2017-12-20 18:15:12 -08:00
Jeff Gilbert
acda6087b5 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
Jeff Gilbert
9e8da4a00c Bug 1425369 - Treat Draw* as Draw*Instanced(1). - r=daoshengmu
MozReview-Commit-ID: KZKNQtCSG4V
2017-12-15 11:43:50 -08:00
Jeff Gilbert
27242309bc Bug 1414977 - Skip DrawElements if !indexCount, not !lastVert. - r=daoshengmu
MozReview-Commit-ID: KaGFV374G5
2017-11-06 19:46:42 -08:00
Jeff Gilbert
8bc4b69aad Bug 1404196 - Simplify and repair vertex fetch. - r=daoshengmu
MozReview-Commit-ID: FL7uibuv4VY
2017-11-01 15:18:27 -07:00
Jeff Gilbert
e01635a7fd Bug 1404196 - Add profiling labels for WebGL draw commands. - r=daoshengmu
MozReview-Commit-ID: 5TUvfVxsfXg
2017-11-01 15:18:19 -07:00
Sylvestre Ledru
6686478407 Bug 1387002 - Replace .size() by .empty() when applicable in domv/canvas/WebGL* r=kvark
MozReview-Commit-ID: 3lebYmRI8TS
2017-08-03 12:01:38 +02:00
Jeff Gilbert
66701fb966 Bug 1339256 - Simplify index validation. - r=kvark
MozReview-Commit-ID: 4FALdIyhBP8
2017-03-09 18:57:43 -08:00
Jeff Gilbert
40d91437dd Bug 1330022 - Remove trivial ValidateUniformMatrixTranspose virtual. - r=kvark
Removing a file reshuffled our unified builds, so this includes the fixes that required as well.
MozReview-Commit-ID: 7ZIoG2xIlS9
2017-02-13 15:37:57 -08:00
Sebastian Hengst
673d13be2e Backed out changeset cd91d6b1b500 (bug 1330022) 2017-02-10 23:31:47 +01:00
Jeff Gilbert
e1511a8739 Bug 1330022 - Remove trivial ValidateUniformMatrixTranspose virtual. - r=kvark
Removing a file reshuffled our unified builds, so this includes the fixes that required as well.
MozReview-Commit-ID: 7ZIoG2xIlS9
2017-02-10 13:31:10 -08:00
Jeff Gilbert
6982464dc0 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
de3f24bacc 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
b6de0092f4 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
beb7eae90d 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
e77759936c 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
bc7d0058ba 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
cb6ca1db8c 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
d9eb6592a3 Bug 1324940 - It's bit-shift, not byte-shift. - r=daoshengmu
MozReview-Commit-ID: BfmjmTu32Zc
2016-12-20 18:58:08 -08:00
Jeff Gilbert
ef3f323b66 Bug 1309643 - Only enable primitive restart index on OSX for DrawElements. - r=ethlin 2016-12-19 15:24:30 -08:00
Jeff Gilbert (:jgilbert)
859083bccd 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)
d0027ac1fa Bug 1305190 - Fix vertex attrib elem size calculations. - r=ethlin
MozReview-Commit-ID: KXpLbIu8pRr
2016-09-29 13:49:25 -07:00
Jeff Gilbert
0a8b592fa5 Bug 1300946 - Implement transform feedback. - r=jrmuizel
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
Jeff Gilbert
8ae926a91c Bug 1303879 - Validate attachments inside ScopedResolveTextures. - r=mtseng
MozReview-Commit-ID: 7HLiUV9QcY4
2016-09-22 19:13:17 -07:00
Jeff Gilbert
6b692ad1c2 Bug 1303879 - Refactor framebuffer funcs and completeness caching. - r=mtseng
MozReview-Commit-ID: Hi3uEwpmWF4
2016-09-22 19:13:17 -07:00
Jeff Gilbert
7ab8973840 Bug 1289655 - Use UINT32_MAX for drawArrays because of OSX. - r=mtseng
MozReview-Commit-ID: 8bB4DHGQRnB
2016-08-01 01:20:12 -07:00
Jeff Gilbert
0d8495ab52 Bug 1289655 - Add primitive restart for WebGL 2. - r=mtseng
MozReview-Commit-ID: 6SfI8yfROGI
2016-08-01 01:20:12 -07:00
Morris Tseng
5964ac4c1c Bug 1247977 - Handle FakeBlackTexture creation fail. r=jgilbert
MozReview-Commit-ID: GiwoIcFsv2k
2016-07-27 09:42:09 +08:00
Jeff Gilbert
344346e300 Bug 1288649 - Fix non-unified-build errors. - r=ethlin
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
Jeff Gilbert
b4e4478e05 Bug 1136494 - Validate mActiveProgramLinkInfo in ScopedResolveTexturesForDraw, since it's run first. - r=mtseng
MozReview-Commit-ID: Dq8C5OnwjRM
2016-07-18 00:19:19 -07:00
Jeff Gilbert
bbb8770315 Bug 1136494 - Add WebGLTexture::IsFeedback. - r=mtseng
MozReview-Commit-ID: 9kyomMFgDmS
2016-07-18 00:19:19 -07:00
Jeff Gilbert
39a76a3dc0 Bug 1136410 - Build fix.
MozReview-Commit-ID: DQuWFTgsFLf
2016-07-11 13:18:36 -07:00
Jeff Gilbert
6bc89bc2e3 Bug 1136410 - Forbid attrib aliasing. - r=mtseng'
MozReview-Commit-ID: 6shjIyJQQ6V
2016-07-11 13:18:36 -07:00
Morris Tseng
019b5f9314 Bug 1247977 - Log detailed error message when FakeBlackTexture creation fail. r=jgilbert
MozReview-Commit-ID: EqmsZfIE1be
2016-06-28 10:37:38 +08:00
eyim
e2c2b0b56c Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD
2016-06-06 11:17:23 -04:00
Jeff Gilbert
6d4a92f9df Bug 1263018 - Only update active prog info if linking active prog. - r=jrmuizel 2016-04-20 12:02:07 -07:00
Milan Sreckovic
ca6393c603 Bug 1247977: More information when we hit the OpenGL error in FakeBlackTexture. r=jgilbert
MozReview-Commit-ID: I9RvZ9HD7NE
2016-04-01 10:13:25 -04:00
Milan Sreckovic
35bda014b1 Bug 1228687: ScopedResolveTexturesForDraw needs the context to be current, so make those calls earlier. r=jgilbert 2016-03-17 23:00:34 -07:00
Jeff Gilbert
e3c5b1ebd3 Bug 1232346 - Clarify ResolveForDraw's failure checking. - r=kamidphish 2015-12-14 17:38:33 -08:00
Jeff Gilbert
03bb68b53b Bug 1229944 - Add glClear for zeroing texture data. - r=kamidphish 2015-12-14 16:14:03 -08:00
Jeff Gilbert
1add00c8b3 Bug 1229585 - Add helpful error text for fb incompleteness. - r=kamidphish 2015-12-14 16:11:59 -08:00
Jeff Gilbert
d658f53faf Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00