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
Samuel Vargas
cf725b7488
Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert
2017-07-13 14:26:00 -04:00
Samuel Vargas
9140fdd298
Bug 1378571 - Avoid unnecessary MakeCurrentImpl calls when GL context is already current - r=jgilbert
2017-07-07 16:16:00 +02:00
Nicholas Nethercote
58786e1ea7
Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
...
This patch makes the following changes to the macros.
- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
mostly misused.
- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
universally available now anyway.
- Combines the first two string literal arguments of PROFILER_LABEL and
PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
them to be separate, and it forced a '::' in the label, which isn't always
appropriate. Also, the meaning of the "name_space" argument was interpreted
in an interesting variety of ways.
- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
it clearer they construct RAII objects rather than just being function calls.
(I myself have screwed up the scoping because of this in the past.)
- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
the caller doesn't need to. This makes a *lot* more of the uses fit onto a
single line.
The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).
- Fixes a bunch of labels that had gotten out of sync with the name of the
class and/or function that encloses them.
- Removes a useless PROFILER_LABEL use within a trivial scope in
EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
a good idea.
- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
done within them, instead of at their callsites, because that's a more
standard way of doing things.
--HG--
extra : rebase_source : 318d1bc6fc1425a94aacbf489dd46e4f83211de4
2017-06-22 17:08:53 +10:00
Lee Salzman
5cc2508837
Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
...
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Carsten "Tomcat" Book
ac258e9322
Backed out changeset 84fd6b2bfaf6 (bug 1340627)
2017-05-11 12:51:54 +02:00
Lee Salzman
1eea2d3996
Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
...
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Wes Kocher
24a327994e
Backed out 9 changesets (bug 1340627) for graphical glitches a=backout
...
Backed out changeset 0b1371055c7f (bug 1340627)
Backed out changeset f152be1fadb7 (bug 1340627)
Backed out changeset c691e2ab6a0c (bug 1340627)
Backed out changeset 3cb4bceb8d79 (bug 1340627)
Backed out changeset 026aadd76d06 (bug 1340627)
Backed out changeset fdbd5d281287 (bug 1340627)
Backed out changeset 75fb0d9858a9 (bug 1340627)
Backed out changeset 0d4ec7d38a00 (bug 1340627)
Backed out changeset af6f19870b2a (bug 1340627)
MozReview-Commit-ID: 9dHr7xMZezY
--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
2017-05-10 10:01:18 -07:00
Lee Salzman
db313c8c40
Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
...
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Jeff Gilbert
408eae60b9
Bug 1356540 - Remove unused TextureGarbageBin. - r=daoshengmu
...
MozReview-Commit-ID: 3EON2kNdEBh
2017-04-19 17:03:03 -07:00
Jeff Gilbert
a0ef36e101
Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
...
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Jeff Gilbert
e63fc0df83
Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
...
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
Jeff Gilbert
195cc8411d
Bug 1335296 - Expand about:support WebGL information. - r=qdot,daoshengmu,jrmuizel
...
MozReview-Commit-ID: 166aNL6VSOa
2017-02-02 16:50:19 -08:00
Jeff Gilbert
21a1407677
Bug 1325835 - Support dx_interop on Intel. - r=jrmuizel
...
MozReview-Commit-ID: 7CFfmDYhYaR
2017-01-31 16:22:11 -08:00
Randall Barker
90668218b7
Bug 1329362
- part 3, Convert GLContext::RenewSurface to use CompositorWidget in place of nsIWidget r=kats
2017-01-27 09:32:24 -08:00
Jeff Gilbert
6cff55278b
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