Jeff Gilbert
d8d7ebde0c
Bug 1129354 - Implement draft extension OES_fbo_render_mipmap. r=lsalzman,qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D20397
--HG--
extra : moz-landing-system : lando
2019-02-22 19:25:20 +00:00
Cosmin Sabou
6872844079
Backed out changeset e74b9560a9d4 (bug 1528396) for causing mochitest webgl failures on test_pixel_pack_buffer. CLOSED TREE
2019-02-21 04:39:09 +02:00
Jeff Gilbert
878881b125
Bug 1528396 - More precise GL symbol loading. r=lsalzman
...
In particular, don't fallback to loading symbols from any loaded
library.
Differential Revision: https://phabricator.services.mozilla.com/D20455
--HG--
extra : moz-landing-system : lando
2019-02-20 15:46:03 +00:00
Jeff Gilbert
94d1e6851f
Bug 849004 - Remove redundant GLContext::mMaxTextureImageSize. r=lsalzman
...
MozReview-Commit-ID: ExNR7qKxigx
Differential Revision: https://phabricator.services.mozilla.com/D19324
--HG--
extra : moz-landing-system : lando
2019-02-11 03:34:48 +00:00
Jeff Gilbert
ac012b5064
Bug 1522018 - Implement webgl draft ext EXT_float_blend. r=lsalzman,qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D17336
--HG--
rename : dom/canvas/WebGLExtensionBase.cpp => dom/canvas/WebGLExtensions.cpp
extra : moz-landing-system : lando
2019-01-31 23:39:12 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
sotaro
d85d8a3b57
Bug 1516787 - Add GLContextEGL::OnMarkDestroyed() r=jgilbert
2019-01-11 09:04:26 +09:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jeff Gilbert
13e2d73059
Bug 1492580 - Repair CONTEXT_LOST handling. r=lsalzman
...
Simplify error handling in GLContext.
Modernize context loss handling in GLContext.
Remove various unused parts.
Fix WebGLContext's context loss/restoration.
MozReview-Commit-ID: Lu2hi5HnP8x
Differential Revision: https://phabricator.services.mozilla.com/D12496
--HG--
extra : moz-landing-system : lando
2018-11-27 04:23:19 +00:00
Barret Rennie
b09ba3de12
Bug 1457546 - Use glMapBufferRange instead of glMapBuffer to capture screenshots r=jgilbert
...
It was pointed out in a review by jgilbert that glMapBuffer only supports
writing to the mapped range on an OpenGL ES profile and using it to read is
undefined behaviour. We now use glMapBufferRange when available, which does
support reading on both OpenGL and OpenGL ES profiles, and allows capturing
screenshots on Android. When it is not available, we fall back to glMapBuffer
(e.g., for macOS).
Differential Revision: https://phabricator.services.mozilla.com/D12341
--HG--
extra : moz-landing-system : lando
2018-11-20 18:32:10 +00:00
Jeff Gilbert
ba222f72b8
Bug 1492580 - Limit glGetError flush loop and handle CONTEXT_LOST. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D11270
--HG--
extra : moz-landing-system : lando
2018-11-08 17:19:02 +00:00
Noemi Erli
e52f6d8610
Backed out 4 changesets (bug 1399501) per developer's request for causing Bug 1502286 on Android,Bug 1502305 and Bug 1502292 a=backout
...
Backed out changeset 7f1abf24702d (bug 1399501)
Backed out changeset 5cb0aeccd4cc (bug 1399501)
Backed out changeset 7b88a6284d31 (bug 1399501)
Backed out changeset c498bd18345d (bug 1399501)
2018-10-26 19:30:48 +03:00
Jeff Gilbert
97aa280fd2
Bug 1399501 - !MakeCurrent() should clear the current context. - r=kvark
...
Make MarkDestroyed call MakeCurrent(force=true) to clear the current
context also.
Differential Revision: https://phabricator.services.mozilla.com/D9289
2018-10-24 11:36:00 -07:00
Jeff Gilbert
e6ec78d63c
Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
...
MozReview-Commit-ID: EUk2uc64Tok
Differential Revision: https://phabricator.services.mozilla.com/D9288
2018-10-24 11:35:58 -07:00
Cosmin Sabou
72ce9165c6
Backed out 3 changesets (bug 1399501) for aseertions failures on GLContextProviderEGL.
...
Backed out changeset 7c110571ab1a (bug 1399501)
Backed out changeset b7e7638dbfd1 (bug 1399501)
Backed out changeset b4c2cdd8d03b (bug 1399501)
2018-10-23 23:38:21 +03:00
Jeff Gilbert
cb11c4842a
Bug 1399501 - !MakeCurrent() should clear the current context. - r=kvark
...
Make MarkDestroyed call MakeCurrent(force=true) to clear the current
context also.
Differential Revision: https://phabricator.services.mozilla.com/D9289
2018-10-23 13:07:52 -07:00
Jeff Gilbert
41a2268594
Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
...
MozReview-Commit-ID: EUk2uc64Tok
Differential Revision: https://phabricator.services.mozilla.com/D9288
2018-10-23 13:07:51 -07:00
Jeff Gilbert
f7941731a5
Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot
2018-10-10 18:13:11 -07:00
Coroiu Cristina
9a1a60c7fb
Backed out 7 changesets (bug 1494809) for build bustage at build/src/dom/canvas/WebGLTextureUpload.cpp on a CLOSED TREE
...
Backed out changeset 89e092c992ae (bug 1494809)
Backed out changeset 076aed819da6 (bug 1494809)
Backed out changeset 101b4c98aad8 (bug 1494809)
Backed out changeset a2612f006753 (bug 1494809)
Backed out changeset be2ec3c05d10 (bug 1494809)
Backed out changeset 6106836daf58 (bug 1494809)
Backed out changeset e98c2a51aa8f (bug 1494809)
--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html
2018-10-10 08:15:09 +03:00
Jeff Gilbert
3cbaf8002c
Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot
2018-10-09 21:39:14 -07:00
Jeff Gilbert
2ab455c28d
Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D3240
--HG--
extra : moz-landing-system : lando
2018-08-17 22:21:26 +00:00
Doug Thayer
f1353d2962
Bug 1265824 - Add a new texture source type "DirectMapTextureSource" r=mattwoodrow
...
The DirectMapTextureSource could let the compositor to read the buffer directly.
That could get rid of some memory copy operations during texture uploading.
MozReview-Commit-ID: CHhoR96P7VG
--HG--
extra : rebase_source : 65c167644096a1b72fe5dfbb55837842f41377bb
2018-05-02 18:20:10 -07:00
Cosmin Sabou
fea686b1f6
Backed out 10 changesets (bug 1265824) for causing reftests failures on global-composite-operation.html. CLOSED TREE
...
Backed out changeset 391c8e7897df (bug 1265824)
Backed out changeset 27c7daabd1a3 (bug 1265824)
Backed out changeset 7c90215a2eca (bug 1265824)
Backed out changeset c141fb67cf9a (bug 1265824)
Backed out changeset 239ab9f9ef52 (bug 1265824)
Backed out changeset 39ae151b3d8c (bug 1265824)
Backed out changeset 71b23fbe1fec (bug 1265824)
Backed out changeset 295dd1a6a09f (bug 1265824)
Backed out changeset 6aecd088e02c (bug 1265824)
Backed out changeset bf9d73b214fc (bug 1265824)
2018-07-23 19:36:37 +03:00
Doug Thayer
40c168f2fd
Bug 1265824 - Add a new texture source type "DirectMapTextureSource" r=mattwoodrow
...
The DirectMapTextureSource could let the compositor to read the buffer directly.
That could get rid of some memory copy operations during texture uploading.
MozReview-Commit-ID: CHhoR96P7VG
--HG--
extra : rebase_source : 65c167644096a1b72fe5dfbb55837842f41377bb
2018-05-02 18:20:10 -07:00
Margareta Eliza Balazs
b1e7992b82
Backed out 8 changesets (bug 1265824) for bustage in /builds/worker/workspace/build/src/gfx/layers/opengl/CompositorOGL.cpp on a CLOSED TREE
...
Backed out changeset 1099d6f15f9f (bug 1265824)
Backed out changeset b5ba15b1a70f (bug 1265824)
Backed out changeset 51795de4adaf (bug 1265824)
Backed out changeset be68741ff4ce (bug 1265824)
Backed out changeset 4731dc56702d (bug 1265824)
Backed out changeset 984133e9614b (bug 1265824)
Backed out changeset efce316a4425 (bug 1265824)
Backed out changeset 367abce30668 (bug 1265824)
2018-07-19 09:33:28 +03:00
Doug Thayer
a1e4ac3550
Bug 1265824 - Add a new texture source type "DirectMapTextureSource" r=mattwoodrow
...
The DirectMapTextureSource could let the compositor to read the buffer directly.
That could get rid of some memory copy operations during texture uploading.
MozReview-Commit-ID: CHhoR96P7VG
--HG--
extra : rebase_source : fbca3bd3b8af29939626e697909cc67e9a5b34cc
2018-05-02 18:20:10 -07:00
Cosmin Sabou
61c9ccc152
Backed out changeset 781e6389661e (bug 1399501) for assertion failures on gfx/gl/GLContext. CLOSED TREE
2018-07-06 01:49:06 +03:00
Jeff Gilbert
696257d1a6
Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
...
MozReview-Commit-ID: EUk2uc64Tok
--HG--
extra : rebase_source : 9f3617244cf42d24cdc4da4ac5a708fcdb5c1e57
2018-04-04 17:11:42 -07:00
jgilbert@mozilla.com
9130f40b1b
Bug 1473169 - Support KHR_create_context_no_error in EGL. - r=kvark
...
MozReview-Commit-ID: 3hOIgDuvRNd
--HG--
extra : rebase_source : cdc9aa85aa9054b0ffb5eca3112bdc68a60fa187
2018-07-03 15:40:58 -07:00
Jeff Gilbert
7c6388d1ad
Bug 1444086 - TlsScope should use WeakPtr. r=jrmuizel
...
MozReview-Commit-ID: DX99PqmxMpF
--HG--
extra : rebase_source : 3dbf630accedefa5c2c6ce54469c13bbd8b6bffa
2018-03-27 12:29:19 -04:00
Lee Salzman
04a2cb208b
Bug 1444506 - part 4 - GL fixes for Skia m66 update. r=jrmuizel
2018-03-12 16:37:10 -04:00
Jeff Gilbert
d9815e3cac
Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
...
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.
MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08: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
Jeff Gilbert
8ab9a9aa21
Bug 1427668 - Assert that no-alpha backbuffers have 0xff alpha. - r=daoshengmu
...
MozReview-Commit-ID: 5UJdoud0f2C
2018-01-05 15:27:51 -08:00
Jeff Gilbert
3331434de7
Bug 1427668 - Unify MaxRenderbufferSize and MaxTextureSize. - r=daoshengmu
...
MozReview-Commit-ID: AFS0IqmkQEo
2018-01-05 15:27:46 -08:00
Jeff Gilbert
79fa5ae9cf
Bug 1427668 - Reject too-large MozFramebuffer requests. - r=daoshengmu
...
MozReview-Commit-ID: G2jqeb7QqhE
2018-01-05 15:27:33 -08:00
Jeff Gilbert
3f0aacfb10
Bug 1427668 - Add MozFramebuffer. - r=daoshengmu
...
MozReview-Commit-ID: CX0wxs7Gqvp
2018-01-05 15:27:28 -08:00
Jeff Gilbert
6c3abcde6a
Bug 1390386 - Use uintptr for the thread-local. - r=daoshengmu
...
We're just doing a value comparison, so there's no reason this needs to be a pointer.
MozReview-Commit-ID: 6ck2s2fsdq5
2017-11-28 17:13:45 -08:00
Jeff Gilbert
fc61254cca
Bug 1390386 - fGetError should use BEFORE_GL_CALL. - r=jrmuizel
...
MozReview-Commit-ID: B8sR38Bzjb5
2017-11-28 17:13:26 -08:00
Jeff Gilbert
ea479cbf60
Bug 1390386 - Remove duplicate IsCurrent checks in MakeCurrentImpls. - r=jrmuizel
...
MozReview-Commit-ID: LZeLbciWnic
2017-11-28 17:13:17 -08:00
Jeff Gilbert
fbf8b4797b
Bug 1390386 - IsCurrent should understand mImplicitMakeCurrent. - r=jrmuizel
...
MozReview-Commit-ID: 7vMRUPMc3nN
2017-11-28 17:13:07 -08:00
Jeff Gilbert
2bc1cf06c1
Bug 1390386 - Remove old TLS current-context check. - r=daoshengmu
...
MozReview-Commit-ID: 18GSNztjkTM
2017-11-28 17:12:58 -08:00
Jeff Gilbert
41f0a05667
Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
...
MozReview-Commit-ID: 5iyGHNzoCpd
2017-11-28 17:12:48 -08:00
Jeff Gilbert
9c2ba78435
Bug 1390386 - Make MakeCurrent const. - r=daoshengmu
...
MozReview-Commit-ID: 3m3T6iMgZOc
2017-11-28 17:12:39 -08:00
Jeff Gilbert
c05dfaa988
Bug 1403798 - Fix EXT_sRGB activation, particularly on Windows+ANGLE+ES2. - r=daoshengmu
...
MozReview-Commit-ID: 9gC3B1jsX5I
2017-09-28 10:29:01 -07:00
Jeff Gilbert
8a890b29aa
Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
...
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-02 21:52:16 -07:00
Jeff Gilbert
cfccc12f18
Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu
...
MozReview-Commit-ID: 5k7m1ebzlCx
2017-08-15 16:52:35 -07:00
Nicolas Silva
24239ea4f0
Bug 13821850 - Return false in GLContext::Readback if MakeCurrent failed. r=jgilbert
2017-07-24 12:24:18 +02:00