Commit Graph

285 Commits

Author SHA1 Message Date
Iris Hsiao
191fdd1b09 Backed out changeset f97fd860c168 (bug 1355763) 2017-04-13 14:46:43 +08:00
Jeff Gilbert
37d512e4b7 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
Jeff Gilbert
52c8736666 Bug 1333858 - Intersect should be fallible on overflow. - r=daoshengmu
MozReview-Commit-ID: 6lmIKKyXXah
2017-04-04 12:56:21 -07: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
510704a2da Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
Tom Tromey
3b7c8c14e5 Bug 1060419 - make WebGLContextUtils.cpp use VsprintfLiteral, r=froydnj
MozReview-Commit-ID: JhwopeIpUMo
2016-12-09 13:48:22 -10: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
Jeff Gilbert
0cbf3b5a2f Bug 1330022 - Centralize VertexAttrib[I]Pointer calls to improve perf. - r=kvark
MozReview-Commit-ID: IcGNZhJTU5K
2017-02-13 15:37:54 -08:00
Sebastian Hengst
db51bfd371 Backed out changeset 0528322db042 (bug 1330022) for failing test_conformance__more__functions__vertexAttribPointerBadArgs.htm. r=backout 2017-02-10 23:32:32 +01: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
0864eccaab Bug 1330022 - Centralize VertexAttrib[I]Pointer calls to improve perf. - r=kvark
MozReview-Commit-ID: IcGNZhJTU5K
2017-02-10 13:31:08 -08:00
Boris Zbarsky
3210b928d1 Bug 1335368 part 9. Stop using IsCallerChrome in WebGL. r=bholley 2017-02-01 15:43:37 -05: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
53b1c8feb3 Bug 1278199 - Reset viewport offset on SetDimensions and clamp to MAX_VIEWPORT_DIMS. r=jgilbert 2017-01-10 14:15:00 -05: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
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
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
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
7dff906359 Bug 1325476 - Use helper for Parameter[fi] funcs instead of maybeFloat/IntParam. - r=daoshengmu
MozReview-Commit-ID: 3jGFXfDNkPt
2016-12-25 13:44:38 -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
b60abdac0e Bug 1324924 - Support ImageBitmap for Tex*Image*. (flattened) - r=bz,daoshengmu,mtseng
MozReview-Commit-ID: JzcbzeFHyHn
2016-12-20 19:24:25 -08:00
Jeff Gilbert
d62b57ff69 Bug 1324598 - GENERATE_MIPMAP_HINT isn't queriable in Core Profiles. - r=daoshengmu
MozReview-Commit-ID: 6Z2MPmeFqv
2016-12-20 13:00:20 -08:00
Jeff Gilbert
67dbefcd71 Bug 1305832 - Move texture clearing code into WebGLTexture.cpp. - r=ethlin
MozReview-Commit-ID: 30UcfPZLYNz
2016-12-14 20:16:59 -08:00
Jeff Gilbert
e04fdd0d6d Bug 1305832 - ZeroTextureData doesn't need x/y/zOffset, so remove those args. - r=ethlin 2016-12-14 20:16:53 -08:00
Jeff Gilbert
7fadf2f89f Bug 1320030 - Handle program and shader object deletion differently. - r=ethlin
MozReview-Commit-ID: 4wSZ81lFP6e
2016-12-07 01:35:42 -08:00
Jeff Gilbert
014b1596fb Bug 1320030 - Simplify marking and deletion checks. - r=ethlin 2016-12-07 01:35:28 -08:00
Jeff Gilbert
506c3bd2f5 Bug 1321450 - Fix Invalidate[Sub]Framebuffer. - r=ethlin
MozReview-Commit-ID: nrZP6E412k
2016-12-06 17:33:33 -08:00
Sylvestre Ledru
0833ac73ca Bug 1320892 - Remove useless assertion (which is breaking the build with gcc 7.0 and --enable-warnings-as-errors) r=jgilbert
MozReview-Commit-ID: K0DWVA1Jbjb
2016-11-29 11:19:04 +01:00
Jeff Gilbert (:jgilbert)
8f0b095b8c Bug 1250077 - Implement WEBGL_compressed_texture_astc. - r=ethlin
MozReview-Commit-ID: J2jB4tOJrTs
2016-11-28 18:12:32 -08:00
Jeff Gilbert (:jgilbert)
9c1d615537 Bug 1310247 - Use pointers instead of references to prevent taking the address of temporary integers. - r=ethlin
MozReview-Commit-ID: FG1NsAs3iG0
2016-11-23 13:19:11 -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)
6ac2eea68b Bug 1318507 - Update implementation. - r=ethlin 2016-11-22 23:59:24 -08:00
Wes Kocher
ea8dab14f9 Backed out changeset 6d906f5908d1 (bug 1316539) for gl2 failures a=backout 2016-11-22 11:22:56 -08:00
Chih-Yi Leu
d4159fd5ad Bug 1316539 - Add null pixel check in TexSubImage. r=jgilbert 2016-11-21 20:28:00 +01:00
Boris Zbarsky
c5c947695f Bug 1317625. Stop using xpc::AccessCheck in WebGL code. r=jgilbert 2016-11-16 14:10:22 -05:00
Jeff Gilbert (:jgilbert)
863f7b9e57 Bug 1308057 - Merge WebGLTimerQuery into WebGLQuery. - r=ethlin
MozReview-Commit-ID: 88b8DLd2uJ6
2016-11-14 14:04:41 -08:00
Jeff Gilbert (:jgilbert)
215dc3d8ec Bug 1306112 - Inline singly-used ValidateDataRanges. - r=ethlin
MozReview-Commit-ID: EmnhpsHMgu7
2016-11-11 19:03:16 -08:00
Jeff Gilbert (:jgilbert)
ff1dcdab7a No bug - Remove unused ValidateTextureTargetEnum.
MozReview-Commit-ID: 98ZF44mPsNV
2016-11-11 19:03:13 -08:00
Jeff Gilbert (:jgilbert)
a5d354b85d Bug 1313541 - Fix compressedTexImage size validation. - r=ethlin
MozReview-Commit-ID: 4o83xIMyYMD
2016-10-31 15:03:31 -07:00
Jeff Gilbert (:jgilbert)
36edecdc98 Bug 1313541 - Rewrite TexImageSource glue. - r=ethlin
MozReview-Commit-ID: 4zwNrobTcUf
2016-10-31 15:03:24 -07:00
Jeff Gilbert (:jgilbert)
f06d636c16 Bug 1313541 - Uniform impl. - r=ethlin
MozReview-Commit-ID: DN8sUfRR0z7
2016-10-31 15:03:09 -07:00
Jeff Gilbert (:jgilbert)
fb3dea2432 Bug 1313541 - Texture impl. - r=ethlin
MozReview-Commit-ID: DEyr93aD3IF
2016-10-31 15:03:05 -07:00
Jeff Gilbert (:jgilbert)
c77aa68048 Bug 1313541 - Texture impl. - r=ethlin
MozReview-Commit-ID: GEYMTnqC9Q3
2016-10-31 15:03:00 -07:00
Jeff Gilbert (:jgilbert)
856d7f117a Bug 1313541 - Buffer[Sub]Data impl. - r=ethlin
MozReview-Commit-ID: 4cmfDQuegxm
2016-10-31 15:02:48 -07:00
Jeff Gilbert (:jgilbert)
8baaf3c956 Bug 1313541 - ReadPixels impl. - r=ethlin
MozReview-Commit-ID: HInjyzjTdEY
2016-10-31 15:02:44 -07:00
Jeff Gilbert (:jgilbert)
4fae1c0f88 Bug 1313541 - Add ValidateArrayBufferView. - r=ethlin
MozReview-Commit-ID: JuiA7dD4vwR
2016-10-31 15:02:39 -07:00
Jeff Gilbert
804d226d1d Bug 1306172 - Don't pass LINE_WIDTH>1.0 to core profiles. - r=jerry 2016-09-29 13:51:06 -07:00
Jeff Gilbert (:jgilbert)
1b8947ea4f Bug 1305540 - Lazily bind PBO targets. - r=ethlin
MozReview-Commit-ID: B9WiCNfNsfY
2016-09-28 12:45:39 -07:00