Граф коммитов

76 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert 2d543d4bc6 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 cd3d3ade3d 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 41d36258a3 Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-15 13:39:12 -07:00
Jeff Gilbert f4cfe8596a Bug 1428898 - Add TlsScope to reduce fIsCurrent calls. - r=daoshengmu
MozReview-Commit-ID: Kyi8dcO7nAu
2018-01-09 18:43:35 -08:00
Edmund Wong 03877052c1 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 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 93dacf53b5 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 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
Jeff Gilbert 76aeb80f35 Bug 1425369 - Treat Draw* as Draw*Instanced(1). - r=daoshengmu
MozReview-Commit-ID: KZKNQtCSG4V
2017-12-15 11:43:50 -08:00
Jeff Gilbert da2b4b335a Bug 1414977 - Skip DrawElements if !indexCount, not !lastVert. - r=daoshengmu
MozReview-Commit-ID: KaGFV374G5
2017-11-06 19:46:42 -08:00
Jeff Gilbert d6af1e81ba Bug 1404196 - Simplify and repair vertex fetch. - r=daoshengmu
MozReview-Commit-ID: FL7uibuv4VY
2017-11-01 15:18:27 -07:00
Jeff Gilbert 41c89bf561 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 d2ed1163fe Bug 1387002 - Replace .size() by .empty() when applicable in domv/canvas/WebGL* r=kvark
MozReview-Commit-ID: 3lebYmRI8TS

--HG--
extra : rebase_source : f61511c96a43342f9c53b3d90cd958bd7b926fcb
2017-08-03 12:01:38 +02:00
Jeff Gilbert d401ac72c1 Bug 1339256 - Simplify index validation. - r=kvark
MozReview-Commit-ID: 4FALdIyhBP8
2017-03-09 18:57:43 -08:00
Jeff Gilbert a719834c77 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 2e61c07a59 Backed out changeset cd91d6b1b500 (bug 1330022) 2017-02-10 23:31:47 +01:00
Jeff Gilbert 19c60a97a2 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 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 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 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 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 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 f18df6e96d 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 4fe7340dc2 Bug 1309643 - Only enable primitive restart index on OSX for DrawElements. - r=ethlin 2016-12-19 15:24:30 -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) cdf8519d85 Bug 1305190 - Fix vertex attrib elem size calculations. - r=ethlin
MozReview-Commit-ID: KXpLbIu8pRr
2016-09-29 13:49:25 -07:00
Jeff Gilbert 6b423ece44 Bug 1300946 - Implement transform feedback. - r=jrmuizel
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
Jeff Gilbert 9021ce93eb Bug 1303879 - Validate attachments inside ScopedResolveTextures. - r=mtseng
MozReview-Commit-ID: 7HLiUV9QcY4
2016-09-22 19:13:17 -07:00
Jeff Gilbert 15fd350886 Bug 1303879 - Refactor framebuffer funcs and completeness caching. - r=mtseng
MozReview-Commit-ID: Hi3uEwpmWF4
2016-09-22 19:13:17 -07:00
Jeff Gilbert 720b873197 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 9125182b21 Bug 1289655 - Add primitive restart for WebGL 2. - r=mtseng
MozReview-Commit-ID: 6SfI8yfROGI
2016-08-01 01:20:12 -07:00
Morris Tseng b53cf295ac Bug 1247977 - Handle FakeBlackTexture creation fail. r=jgilbert
MozReview-Commit-ID: GiwoIcFsv2k
2016-07-27 09:42:09 +08:00
Jeff Gilbert 407bc3c38c Bug 1288649 - Fix non-unified-build errors. - r=ethlin
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
Jeff Gilbert fe261f49c4 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 274060010c Bug 1136494 - Add WebGLTexture::IsFeedback. - r=mtseng
MozReview-Commit-ID: 9kyomMFgDmS
2016-07-18 00:19:19 -07:00
Jeff Gilbert 697771cf14 Bug 1136410 - Build fix.
MozReview-Commit-ID: DQuWFTgsFLf
2016-07-11 13:18:36 -07:00
Jeff Gilbert 8bbaf9eeee Bug 1136410 - Forbid attrib aliasing. - r=mtseng'
MozReview-Commit-ID: 6shjIyJQQ6V
2016-07-11 13:18:36 -07:00
Morris Tseng 8f2f91c668 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 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 9c3993e371 Bug 1263018 - Only update active prog info if linking active prog. - r=jrmuizel 2016-04-20 12:02:07 -07:00
Milan Sreckovic 8d5d5a9811 Bug 1247977: More information when we hit the OpenGL error in FakeBlackTexture. r=jgilbert
MozReview-Commit-ID: I9RvZ9HD7NE

--HG--
extra : rebase_source : de438f3ab727d99f043ab46f2286289ecc11d28f
2016-04-01 10:13:25 -04:00
Milan Sreckovic 009dd1487c 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 80a77a7508 Bug 1232346 - Clarify ResolveForDraw's failure checking. - r=kamidphish 2015-12-14 17:38:33 -08:00
Jeff Gilbert 10befa1b39 Bug 1229944 - Add glClear for zeroing texture data. - r=kamidphish 2015-12-14 16:14:03 -08:00
Jeff Gilbert 30a228420f Bug 1229585 - Add helpful error text for fb incompleteness. - r=kamidphish 2015-12-14 16:11:59 -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