Commit Graph

100 Commits

Author SHA1 Message Date
Wes Kocher
2ee55f107a Backed out changeset 397a59f9c50d (bug 1348382) for getting r-'d a=backout
MozReview-Commit-ID: GIzqqaMfz5T
2017-03-21 19:03:22 -07:00
Daosheng Mu
3924e97d13 Bug 1348382 - Check texture image target format is valid at FramebufferTextureLayer validation; r=ethlin
MozReview-Commit-ID: LVsvzC5p4li
2017-03-21 14:28:38 +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
182a6c0469 Bug 1329815 - GeneratePerfWarning and warn on completed-FB invalidation. - r=kvark
MozReview-Commit-ID: C9J3qdnsaZF
2017-01-17 17:44:56 -08:00
kvark
c145e20d68 Bug 1325685 - Ensure the cube attachment is complete. r=jgilbert 2017-01-10 09:32:00 -05: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
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
081f8eb935 Bug 1325733 (flattened) - Mark read/draw calls better. - r=daoshengmu
Includes:
* ANGLE needs to call clear twice even on larger targets. - r=daoshengmu
2016-12-29 02:45:13 -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
d08607190b Bug 1325516 (flattened) - Misc fixes and simplify IMPL_COLOR_READ_FORMAT/TYPE and ensure that we only return valid ones. - r=daoshengmu 2016-12-25 13:44:49 -08:00
Jeff Gilbert
30047532dc Bug 1325468 - An unspecified fb attachment should have a COLOR_ENCODING of LINEAR. - r=daoshengmu
MozReview-Commit-ID: BhrlgFln2sZ
2016-12-25 13:44:35 -08:00
Jeff Gilbert
d24d67dbcf Bug 1325311 - Only test BlitFramebuffer feedback for masked bits. - r=daoshengmu
MozReview-Commit-ID: 8CAvVwK7V3m
2016-12-25 13:44:33 -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
ffed0c6050 Bug 1324157 - Check dst colorDrawBuffers against src in BlitFramebuffer. - r=lenzak800
MozReview-Commit-ID: 1vzUTG4RD5
2016-12-16 18:46:18 -08:00
vincentliu
faedf0693a 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
014b1596fb Bug 1320030 - Simplify marking and deletion checks. - r=ethlin 2016-12-07 01:35:28 -08:00
Chih-Yi Leu
283842d3ec Bug 1316327 - Iterate through defined ColorBuffers from mResolvedCompleteData instead of mColorBuffers. r=jgilbert 2016-11-29 21:47:00 -05:00
Jeff Gilbert (:jgilbert)
6c75a3af8b 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
Petr Sumbera
680dffe321 Bug 1315686 - Rename DS to avoid macro conflict on Solaris. - r=jgilbert
MozReview-Commit-ID: 7rLiD8Ux9VN
2016-11-09 19:01:47 -08:00
Jeff Gilbert
5d826a0896 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
a6d2c61c4f Bug 1303879 - Explicitly nuke attachment points. - r=mtseng
MozReview-Commit-ID: Gd9tFq3ZAtm
2016-09-22 19:13:19 -07:00
Jeff Gilbert
3fb17e1e9f Bug 1303879 - Use explicit ctors. - r=mtseng
MozReview-Commit-ID: Hs4V81pFAc8
2016-09-22 19:13:19 -07:00
Jeff Gilbert
811bedc549 Bug 1303879 - Disallow NONE GetFramebufferAttachmentParameter. - r=mtseng
MozReview-Commit-ID: GizkMvHb7FG
2016-09-22 19:13:18 -07:00
Jeff Gilbert
e67102b90e Bug 1303879 - fb->ReadBuffer(BACK) is INVALID_OP. - r=mtseng
MozReview-Commit-ID: F3T4qZcETr5
2016-09-22 19:13:18 -07:00
Jeff Gilbert
b2c388cff2 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
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
df903c65f5 Bug 1303878 - Fix todos in WebGL. - r=mtseng
MozReview-Commit-ID: D15kLfHERAI
2016-09-22 19:13:16 -07:00
JerryShih
4442b559a8 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
bbb8770315 Bug 1136494 - Add WebGLTexture::IsFeedback. - r=mtseng
MozReview-Commit-ID: 9kyomMFgDmS
2016-07-18 00:19:19 -07:00
Jeff Gilbert
63d708b43c 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
ee22e0439e Bug 1285117 - Just return 0 on assert path. CLOSED TREE
MozReview-Commit-ID: 8s2vJzloBHj
2016-07-11 13:53:19 -07:00
Jeff Gilbert
0074d2aafe 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
107386595e 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
2577266ae9 Bug 1265676 - Fix other callsites. - r=ethlin
MozReview-Commit-ID: EgLMZajmRnD
2016-07-08 15:25:58 -07:00
Jeff Gilbert
2a1cfa4cef Bug 1285047 - Initialize all 3D texture data. - r=mtseng
MozReview-Commit-ID: 8ddc9yvV8tA
2016-07-07 12:21:35 -07: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
Daosheng Mu
536cfaace0 Bug 1258061 - Clarify FramebufferTexture2D handling for tex2D and cubeMap; r=jgilbert
MozReview-Commit-ID: B2oAcP6zzKZ
2016-03-30 16:41:42 +08:00
Ethan Lin
c6c688f778 Bug 1259696 - Check read buffer mode when doing CopyTexImage. r=jgilbert
MozReview-Commit-ID: FYMiMaiRhii
2016-03-31 23:06:33 -07:00
Phil Ringnalda
e9852dc941 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
28d20e442b Bug 1257593 - Handle webgl FramebufferTexture2D() with an unbound texture. r=jgilbert 2016-03-20 01:07:00 -04:00
Jeff Gilbert
00b17e492f Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel 2016-02-12 19:31:58 -08:00
Ethan Lin
ae30c8d2d3 Bug 1240438 - Fix WebGL2 framebuffer attachment related implementation. r=jgilbert 2016-01-29 01:41:00 +01:00
Ethan Lin
f1354981e0 Bug 1240673 - Fix WebGL2 framebuffer parameter problem. r=jgilbert 2016-01-20 23:12:00 -05:00
Morris Tseng
8a640c189f Bug 1233353 - Initialize rb correctly if rb bind to READ_FRAMEBUFFER. r=jgilbert 2016-01-21 14:44:12 +08:00
Andrea Marchesini
f5523a8426 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
8acb11c5ba Backed out changeset 6d08ab04a77c (bug 1231378) 2016-01-12 15:48:53 +01:00
Andrea Marchesini
d1679cc1db 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
3baf585927 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