Commit Graph

22 Commits

Author SHA1 Message Date
Jamie Nicol
4b3b40c1aa Bug 1443149 - Ensure WebGLFBAttachPoint::HasImage() before dereferencing Format(). r=jrmuizel
Previously we were checking IsDefined() rather than HasImage(), but
were hitting crashes. This was because Format() can return null if the
attach point is defined but the attached texture level or renderbuffer
aren't themselves defined. HasImage() checks for this case.

MozReview-Commit-ID: 8KY3zPXXAFv
2018-03-14 16:42:37 +00:00
Jeff Gilbert
83886d1975 Bug 1427668 - ColorMask(0xf) for backbuffer resolve. - r=daoshengmu
MozReview-Commit-ID: KZJZ0Lc0vbC
2018-01-05 15:27:36 -08: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
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
b9344351d0 Bug 1326385 - Handle undefined images in BlitFramebuffer. - r=kvark
MozReview-Commit-ID: 3FjzETVL0AZ
2017-01-02 02:29:24 -08:00
Jeff Gilbert
f7f44e4502 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
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
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
c16a5320c6 Bug 1276405 - EXT_color_buffer_float should disable clearColor clamping. - r=jrmuizel 2016-05-27 18:55:13 -07: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
Phil Ringnalda
80310b6e5c 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
8e72348cfc Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
JerryShih
3ec1169f28 Bug 1186666 - clamp gl ClearDepth() value to [0,1]. r=jgilbert
The value should be clamped to the range [0,1].
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glClearDepthf.xml
2015-08-19 14:50:06 -07:00
Kyle
f6205ad18d Bug 1136428 - Change implementation of WebGLContext::DrawBuffers such that it goes through GLScreenBuffer to change the draw buffer. Added a variable to GLScreenBuffer to cache the draw buffer mode. r=jgilbert 2015-07-31 15:56:32 -04:00
Jeff Gilbert
b1f1e1a811 Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Jeff Gilbert
6d0bffcb21 Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
Jeff Gilbert
60dca4eae2 Bug 1093967 - Implement BlitFramebuffer. r=kamidphish 2015-01-12 15:05:21 -08:00
Wes Kocher
b5565eae8f Backed out changeset 88cf7f2fe48f for build bustage 2015-01-09 19:15:54 -08:00
Jeff Gilbert
72bc59c2fd Bug 1093967 - Implement BlitFramebuffer. r=kamidphish 2015-01-09 18:51:20 -08:00
Jeff Gilbert
63215bf07a Bug 1048108 - Workaround ANGLE not having no-alpha surfaces. - r=kamidphish 2014-10-01 17:05:34 -07:00
Birunthan Mohanathas
3ae7697323 Bug 946065 - Part 1: Move content/canvas/ to dom/ and flatten subdirectories. r=ehsan 2014-07-25 14:15:35 -07:00