Alastor Wu
67c4ba2c09
Bug 1373177 - part4 : add assertion to make sure the function call order. r=jolin
...
The Init()/Shutdown() would be run on the main thread, AcquireTexture() would be
on media thread and Fill() would be on compostitor thread.
Add assertion to make sure the call order, since we don't want to call Fill()
or AcquireTexture() after shutdown.
MozReview-Commit-ID: 3Gydr7b4Raq
--HG--
extra : rebase_source : a81f7a58c94b2fc75bba500a6a2d087e05b520cd
2017-06-30 11:14:00 -07:00
Alastor Wu
811f4cea38
Bug 1373177 - part2 : add log. r=jolin
...
Add lazy log for debugging.
MozReview-Commit-ID: 4VYjLDobFeW
--HG--
extra : rebase_source : f8e52333b0cd0bf7619b1611eb033f69744d0684
2017-06-30 11:12:52 -07:00
Alastor Wu
eaf35bf952
Bug 1373177 - part1 : automatically refill the pool if the textures number is lower than specific threshold. r=bechen,jolin,snorp
...
The pool would be refilled when the compositor starts rendering the frame.
However, if we consume lots of textures but doesn't render any frame, then the
pool would always empty and no one can get new texture id.
One case is that when we release decoders too early before rendering the first
frame, the pool won't be refilled, and it causes all media threads are blocked.
Now we would refill the pool if the textures number is lower than the specific
threshold.
MozReview-Commit-ID: CYBLYi9hFD9
--HG--
extra : rebase_source : 309338a4cf2283ed93afcc4af2cc1cf5e925661d
2017-06-30 11:12:49 -07:00
James Willcox
77f7d855c8
Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen
2017-05-15 09:37:47 -05:00
Iris Hsiao
e22349b74b
Backed out 11 changesets (bug 1322650) for media test failures on android. a=backout
...
Backed out changeset 31bd912fba54 (bug 1322650)
Backed out changeset 4d486c7469eb (bug 1322650)
Backed out changeset 4cf8f4d5064c (bug 1322650)
Backed out changeset 3cb108f7492f (bug 1322650)
Backed out changeset bd53533c108e (bug 1322650)
Backed out changeset 3522917d8f10 (bug 1322650)
Backed out changeset 2c2c1e33eccc (bug 1322650)
Backed out changeset 2f19977cd6ab (bug 1322650)
Backed out changeset 4519296a323e (bug 1322650)
Backed out changeset e56e5e1c8786 (bug 1322650)
Backed out changeset 96fe52231b57 (bug 1322650)
--HG--
extra : amend_source : b11d2181d8f545f4ed1074f09986eddab0b637c8
2017-05-12 10:21:14 +08:00
James Willcox
07fe90bcbb
Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen
2017-05-11 15:42:43 -05:00
Sebastian Hengst
e3ef2e2a78
Backed out changeset b12a741ef025 (bug 1322650)
2017-05-05 18:53:59 +02:00
James Willcox
83de9ddd9d
Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen
2017-05-05 08:56:31 -05:00
Eugen Sawin
fd294e4cd1
Bug 1359950 - [1.0] Only delete textures from a valid context. r=snorp
2017-04-27 00:20:11 +02:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
James Willcox
9790bce151
Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : f8ac8c505b5f9a4f307044b932aef50b99d38d4f
2014-10-21 08:53:01 -05:00
Wes Kocher
36939bc3c8
Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
...
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
James Willcox
b1bb293164
Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : b309ea1761abdb26261fe8f2eda03de66952c018
2014-10-17 10:35:11 -05:00
Nicholas Cameron
73aeda1397
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Birunthan Mohanathas
f3810ac55a
Bug 784739 - Switch from NULL to nullptr in gfx/layers/opengl/; r=joe
...
--HG--
extra : rebase_source : 65e2c8e72dc4b20ef9aa50688c9320792fca69ee
2013-07-20 11:48:55 +03:00
James Willcox
30e0f551ce
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger
cb94cc2ce1
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
James Willcox
5517ea9fde
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00