Commit Graph

79 Commits

Author SHA1 Message Date
Jeff Gilbert
9527a1fad7 Bug 1303879 - Refresh DrawBuffers and ReadBuffer to handle GL4.0 and below. - r=mtseng
GL4.0 and below requires that framebuffers are incomplete if any DrawBuffers/ReadBuffer-selected
buffers have no image attached.

MozReview-Commit-ID: 8SFiy2tvgPT
2016-09-22 19:13:20 -07:00
Jeff Gilbert
29c556989a Bug 1303879 - Explicitly nuke attachment points. - r=mtseng
MozReview-Commit-ID: Gd9tFq3ZAtm
2016-09-22 19:13:19 -07:00
Jeff Gilbert
9cf1f83f01 Bug 1303879 - Use explicit ctors. - r=mtseng
MozReview-Commit-ID: Hs4V81pFAc8
2016-09-22 19:13:19 -07:00
Jeff Gilbert
98e4b9e9f2 Bug 1303879 - Disallow NONE GetFramebufferAttachmentParameter. - r=mtseng
MozReview-Commit-ID: GizkMvHb7FG
2016-09-22 19:13:18 -07:00
Jeff Gilbert
1f4f2d7e46 Bug 1303879 - fb->ReadBuffer(BACK) is INVALID_OP. - r=mtseng
MozReview-Commit-ID: F3T4qZcETr5
2016-09-22 19:13:18 -07:00
Jeff Gilbert
3cdd326b85 Bug 1303879 - FramebufferTexture2D doesn't always accept DEPTH_STENCIL. - r=mtseng
MozReview-Commit-ID: 4f4r3CtmPde
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
5ca4e283fa Bug 1303878 - Fix todos in WebGL. - r=mtseng
MozReview-Commit-ID: D15kLfHERAI
2016-09-22 19:13:16 -07:00
JerryShih
a9bb41be63 Bug 1288351 - Handle gl.getFramebufferAttachmentParameter() FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE query for DS format. r=jgilbert 2016-07-21 18:37:00 -04: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
8a8e457903 Bug 1136508 - Removed unused READ_BUFFER out-var from ValidateCurFBForRead. - r=mtseng
MozReview-Commit-ID: 4qOQNbMkfUX
2016-07-13 11:58:29 -07:00
Jeff Gilbert
8f2a6142de Bug 1285117 - Just return 0 on assert path. CLOSED TREE
MozReview-Commit-ID: 8s2vJzloBHj
2016-07-11 13:53:19 -07:00
Jeff Gilbert
b1e4820ae3 Bug 1285676 - Don't call into GL for GetFramebufferAttachmentParameter. - r=ethlin
MozReview-Commit-ID: G7ub5GG7bJ
2016-07-11 13:10:18 -07:00
Jeff Gilbert
c98755a4a2 Bug 1285676 - Use actual bit depths for depth and stencil. - r=ethlin
MozReview-Commit-ID: FX3Ev3noJ6U
2016-07-11 13:10:18 -07:00
Jeff Gilbert
381a9f281a Bug 1265676 - Fix other callsites. - r=ethlin
MozReview-Commit-ID: EgLMZajmRnD
2016-07-08 15:25:58 -07:00
Jeff Gilbert
9c70251dd9 Bug 1285047 - Initialize all 3D texture data. - r=mtseng
MozReview-Commit-ID: 8ddc9yvV8tA
2016-07-07 12:21:35 -07: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
Daosheng Mu
6c74338b06 Bug 1258061 - Clarify FramebufferTexture2D handling for tex2D and cubeMap; r=jgilbert
MozReview-Commit-ID: B2oAcP6zzKZ

--HG--
extra : transplant_source : %EB%E6%CAg%9B%97%91%A9%3CW%20%C8%D8%13t%CE%E0%BF-%03
2016-03-30 16:41:42 +08:00
Ethan Lin
d1268b5e73 Bug 1259696 - Check read buffer mode when doing CopyTexImage. r=jgilbert
MozReview-Commit-ID: FYMiMaiRhii

--HG--
extra : rebase_source : 9f71a99d40df8430543d90f1eb64cda01d060b88
2016-03-31 23:06:33 -07:00
Phil Ringnalda
b0bc1ab435 Bug 1257593 followup, fix bustage from believing a reviewer and then sending a different patch to try
CLOSED TREE
2016-03-20 21:19:14 -07:00
JerryShih
dc73cc267c Bug 1257593 - Handle webgl FramebufferTexture2D() with an unbound texture. r=jgilbert 2016-03-20 01:07:00 -04:00
Jeff Gilbert
c6dad7bd09 Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel 2016-02-12 19:31:58 -08:00
Ethan Lin
48c9893604 Bug 1240438 - Fix WebGL2 framebuffer attachment related implementation. r=jgilbert 2016-01-29 01:41:00 +01:00
Ethan Lin
d31232b919 Bug 1240673 - Fix WebGL2 framebuffer parameter problem. r=jgilbert
--HG--
extra : rebase_source : 2c131d0b6178666e80f5771030c8cb61afeb8766
2016-01-20 23:12:00 -05:00
Morris Tseng
31360128bd Bug 1233353 - Initialize rb correctly if rb bind to READ_FRAMEBUFFER. r=jgilbert
--HG--
extra : commitid : 6O3mskCBcnU
2016-01-21 14:44:12 +08:00
Andrea Marchesini
7167daa292 summary: Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
00abd66130 Backed out changeset 6d08ab04a77c (bug 1231378) 2016-01-12 15:48:53 +01:00
Andrea Marchesini
98f16784c5 Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 13:57:37 +00:00
Jeff Muizelaar
6013e98127 Bug 1236080. Null check format in GetParameter. r=jgilbert
This avoids a crash in deqp/functional/gles3/fbostatequery.html when Format() returns null.
2016-01-11 15:28:59 -05: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
Dan Glastonbury
66e4dad1c7 Bug 1193070 - Implement GetFramebufferAttachmentParameter. r=jgilbert 2015-10-20 12:46:28 +10:00
Dan Glastonbury
14d3e07d65 Bug 1170842 - Part 4: Implement FramebufferTextureLayer. r=jgilbert 2015-08-12 11:51:34 +10:00
Wes Kocher
41fb0b2b5a Backed out changeset 24ee4a5af7e8 (bug 1136414) for test_conformance__extensions__ext-sRGB.html failures 2015-08-11 15:59:04 -07:00
Kyle
d9b56568b1 Bug 1136414: Removed SRGB8_EXT from list of color renderable formats. r=jgilbert 2015-08-05 11:36:05 -04:00
Kyle
7cd4e122ce Bug 1136428 - Ensure we never create more than the amount supported of color attachments in WebGLFrameBuffer or try to get an attachment point higher than the supported number. r=jgilbert 2015-08-05 16:45:44 -04:00
Jeff Gilbert
2e4a1c88ee Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Dan Glastonbury
e1b36d0a84 Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert 2015-06-10 13:24:18 +10:00
Dan Glastonbury
90a7ccba6d Bug 1167504 - Part 1: Remove BindableName - Framebuffer. r=jgilbert 2015-06-10 13:24:16 +10:00
Jeff Gilbert
d8a57f41fb Bug 1159034 - Only fake no-alpha for the backbuffer. - r=kamidphish 2015-04-30 17:30:26 -07:00
Jeff Gilbert
3c498e4de8 Bug 1151930 - Check against updated length while appending. - r=kamidphish 2015-04-08 18:55:16 -07:00
Jeff Gilbert
28bb60187d Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-24 16:00:28 -07:00
Dan Glastonbury
d3ddaad9a5 Bug 1145492 - Update FramebufferTexture2D to allow binding mipmaps. r=jgilbert 2015-03-24 10:41:33 +10:00
Boris Zbarsky
dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Phil Ringnalda
578e542299 Back out f7657171e034 (bug 1017865) for relanding after already being backed out because it causes orange
CLOSED TREE
2015-03-16 21:32:52 -07:00
Jeff Gilbert
39df8cb30e Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 18:22:17 -07:00
Wes Kocher
31035937f5 Backed out changeset ff27f90ed289 (bug 1017865) for gl orange 2015-03-16 18:03:40 -07:00
Jeff Gilbert
fb77ab1278 Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 12:48:52 -07:00