Lee Salzman
375f1764b4
Bug 1676257 - make SourceSurfaceSkia's draw target pointer atomic. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D96780
2020-11-12 02:30:53 +00:00
Matt Woodrow
31bb79f3a4
Bug 1660236 - Hold mutex while accessing shared SkImage data. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D93442
2020-10-29 17:19:52 +00:00
Sylvestre Ledru
cc2040bf21
Bug 1605934
- Use nested namespaces r=sg
...
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files
Differential Revision: https://phabricator.services.mozilla.com/D58217
--HG--
extra : moz-landing-system : lando
2020-01-18 13:48:34 +00:00
Dorel Luca
506e65bcab
Backed out changeset bbb39655cf71 (bug 1605934
) for build bustage in widget/gtk/mozwayland/mozwayland.c
2020-01-18 15:39:55 +02:00
Sylvestre Ledru
6689a37527
Bug 1605934
- Use nested namespaces r=sg
...
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files
Differential Revision: https://phabricator.services.mozilla.com/D58217
--HG--
extra : moz-landing-system : lando
2020-01-18 13:16:39 +00:00
Jeff Muizelaar
7d80a15f53
Bug 1606289: SourceSurfaceSkia: Assert we're not locked during destruction. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D58829
--HG--
extra : moz-landing-system : lando
2020-01-06 20:46:35 +00:00
Eric Rahm
4cb2415f74
Bug 1577910 - Remove using namespace std from gfx/2d r=nical
...
Differential Revision: https://phabricator.services.mozilla.com/D44281
--HG--
extra : moz-landing-system : lando
2019-09-01 18:32:06 +00:00
Lee Salzman
a330f87601
Bug 1530471 - remove Moz2D/thebes SkiaGL glue r=jrmuizel
...
Depends on D21052
Differential Revision: https://phabricator.services.mozilla.com/D21053
--HG--
extra : moz-landing-system : lando
2019-02-28 14:59:16 +00: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
Matt Woodrow
ae8c862a29
Bug 1456555 - Support Map on multiple threads. r=rhunt
...
This just makes the existing hack available to all DataSourceSurface implementations by default, since we use different ones with WR.
MozReview-Commit-ID: GVR0rIx8wtD
Depends on D10036
Differential Revision: https://phabricator.services.mozilla.com/D10038
--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:02 +00:00
Brindusan Cristian
1be798764e
Backed out 5 changesets (bug 1456555) for reftests failuress on /reftests/svg/text/pattern-content.svg.
...
Backed out changeset 0f2854553c21 (bug 1456555)
Backed out changeset 5e3b20a19162 (bug 1456555)
Backed out changeset 6cc965ecc095 (bug 1456555)
Backed out changeset 595abbb5bf3e (bug 1456555)
Backed out changeset c4df6309a5be (bug 1456555)
2018-11-06 07:39:19 +02:00
Matt Woodrow
684c71b2a2
Bug 1456555 - Support Map on multiple threads. r=rhunt
...
This just makes the existing hack available to all DataSourceSurface implementations by default, since we use different ones with WR.
MozReview-Commit-ID: GVR0rIx8wtD
Depends on D10036
Differential Revision: https://phabricator.services.mozilla.com/D10038
--HG--
extra : moz-landing-system : lando
2018-11-06 03:12:16 +00:00
Brindusan Cristian
301c937cee
Backed out 5 changesets (bug 1456555) for reftest failures on /reftests/svg/paint-order-03.svg.
...
Backed out changeset ca90391329b7 (bug 1456555)
Backed out changeset 1f269ed43301 (bug 1456555)
Backed out changeset afb19dd18556 (bug 1456555)
Backed out changeset d46e2737134f (bug 1456555)
Backed out changeset 4261b7dc70f7 (bug 1456555)
2018-11-06 04:52:58 +02:00
Matt Woodrow
75fcdba74b
Bug 1456555 - Support Map on multiple threads. r=rhunt
...
This just makes the existing hack available to all DataSourceSurface implementations by default, since we use different ones with WR.
MozReview-Commit-ID: GVR0rIx8wtD
Depends on D10036
Differential Revision: https://phabricator.services.mozilla.com/D10038
--HG--
extra : moz-landing-system : lando
2018-11-06 00:41:03 +00:00
Andi-Bogdan Postelnicu
b2d4c86823
Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical
...
--HG--
extra : rebase_source : 56f2cc017632bf27115490ae05254019108c6179
extra : amend_source : 98ea6c3c02a9f7650d2cf65deaf5085cf9a2efa4
2018-06-16 17:42:33 +03:00
Ryan Hunt
2f01e497c3
Bug 1454978 - Move MOZ_ASSERT(mIsMapped) into mChangeMutex. r=bas
...
We must check mIsMapped inside mChangeMutex or else we could run into a race condition where
the source surface is subsequently mapped again before the function terminates. This was
being hit on try.
MozReview-Commit-ID: 1eot3DVW8VD
--HG--
extra : rebase_source : 19f2514d9e2412ee5fe7c99844b7f64f78a7425e
2018-04-25 12:44:58 -05:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Jamie Nicol
17afeef581
Bug 1430550 - Don't keep mutex locked if SourceSurfaceSkia::Map fails. r=bas
...
This was leading to a mutex never being unlocked, eventually causing a
crash when it was destroyed.
MozReview-Commit-ID: JzEDWzKxZ4S
--HG--
extra : rebase_source : c86ad738addbec55f33165d300876f4c675cf5f4
2018-01-18 16:48:08 +00:00
Bas Schouten
e83999bf32
Bug 1416862: Reverse DrawTargetSkia snapshot ownership model r=dvander
...
MozReview-Commit-ID: 3hpeYteEPlA
2017-12-06 04:59:19 +01:00
Bas Schouten
fc5e6c2cf2
Bug 1414448: Protect the SourceSurfaceSkia destructor from racing with DrawTargetWillChange. r=dvander
...
MozReview-Commit-ID: 6UYDLUEoJZy
2017-11-08 20:49:40 +01:00
Daniel Holbert
126bd9e1a4
Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: 77D61xpSmIl
--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Bas Schouten
9218253d7e
Bug 1404656: Protect access to mDrawTarget and mImage after a SourceSurfaceSkia has been initialized. r=dvander
...
MozReview-Commit-ID: 6HGM22V8FbJ
2017-10-02 20:23:09 -07:00
Lee Salzman
53952fefb9
Bug 1303094 - avoid OOM crashes in SourceSurfaceSkia::DrawTargetWillChange. r=mchang
...
MozReview-Commit-ID: 236vebw7ftU
2017-02-23 14:40:59 -05:00
Lee Salzman
f66ac66a97
Bug 1303094 - make SourceSurfaceSkia allocation fallible by using sk_malloc. r=mchang
...
MozReview-Commit-ID: 7l3fOG0kkq0
2017-02-17 16:41:58 -05:00
Lee Salzman
d9d2ea27be
Bug 1323821 - only replace texture-backed SkImage on success in SourceSurfaceSkia::GetData. r=jrmuizel
...
MozReview-Commit-ID: FbySOGcLhwt
2016-12-20 12:37:19 -05:00
Sylvestre Ledru
d6ef1e706d
Bug 1317430 - Avoid a unnecessary copy by passing a const & in gfx/ r=nical
...
MozReview-Commit-ID: 4AHG1queVe6
--HG--
extra : rebase_source : cd678e951710321c798b5ca617f39b18f82bea77
2016-11-14 23:16:18 +01:00
Lee Salzman
926f3f5746
Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
...
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 22:40:59 -04:00
Wes Kocher
951194ee45
Backed out 6 changesets (bug 1299435) for windows reftest failures a=backout
...
Backed out changeset 0d587a1cab8f (bug 1299435)
Backed out changeset 3ab9d3cb13aa (bug 1299435)
Backed out changeset 1ed742f88f49 (bug 1299435)
Backed out changeset 51ad497c7ac2 (bug 1299435)
Backed out changeset 06ca6acef0a2 (bug 1299435)
Backed out changeset ebd4625e101a (bug 1299435)
--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.inc => gfx/skia/skia/src/animator/SkCondensedDebug.cpp
rename : gfx/skia/skia/src/animator/SkCondensedRelease.inc => gfx/skia/skia/src/animator/SkCondensedRelease.cpp
2016-10-24 16:45:46 -07:00
Lee Salzman
ab9cf08d5a
Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
...
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 15:22:20 -04:00
Lee Salzman
7ecefe6c62
Bug 1240177 - fix SourceSurfaceSkia::DrawTargetWillChange deepCopyTo usage. r=mattwoodrow
2016-04-12 01:28:31 -04:00
Lee Salzman
c4f3bf16cc
Bug 1244228
- fix DrawTargetSkia::OptimizeSourceSurface to still create Skia surfaces for GPU canvases even if creating a GPU surface failed. r=jmuizelaar
2016-02-03 13:49:36 -05:00
Lee Salzman
ee61a37f0b
Bug 1240177 - part 4 - avoid GPU readbacks in SourceSurfaceSkia::DrawTargetWillChange, r=jrmuizel
2016-01-21 09:52:35 -05:00
Lee Salzman
d67a7412a2
Bug 1240177 - part 2 - cleanups of DrawTargetSkia and SourceSurfaceSkia creation for GPU contexts, r=jrmuizel
2016-01-21 09:51:40 -05:00
Lee Salzman
a725c24151
Bug 1240177 - part 1 - add helper function to make Skia image info, r=jrmuizel
2016-01-21 09:50:43 -05:00
Lee Salzman
f9d4573bec
Bug 1082598 - Part 2: Fix Moz2D Skia usage for Skia update. r=jrmuizel
2015-12-18 13:53:25 -05:00
Wes Kocher
6ebc8a4b00
Backed out 10 changesets (bug 1082598) for 2d.path.arcTo.shape.curve1.html failures on OSX
...
Backed out changeset 018c2a3031f4 (bug 1082598)
Backed out changeset 8f60e42aca2e (bug 1082598)
Backed out changeset c4297c82165f (bug 1082598)
Backed out changeset c22c1bfd091a (bug 1082598)
Backed out changeset 8754fd718869 (bug 1082598)
Backed out changeset da976e4cd253 (bug 1082598)
Backed out changeset 3c8f87df8c68 (bug 1082598)
Backed out changeset 3183d30eb549 (bug 1082598)
Backed out changeset c239a7bc6cba (bug 1082598)
Backed out changeset aa3805015270 (bug 1082598)
--HG--
extra : commitid : LJSl0Bo8Hqr
2015-12-17 14:30:50 -08:00
Lee Salzman
6239163dbb
Bug 1082598 - Part 2: Fix Moz2D Skia usage for Skia update. r=jrmuizel
2015-12-17 14:45:44 -05:00
Lee Salzman
feea035806
Bug 1225250 - fix stride on SourceSurfaceSkia when initialized from GPU texture. r=jmuizelaar
2015-11-17 11:18:36 -05:00
Matt Woodrow
a9aab0bbb3
Bug 1150944 - Use correct origin for SkiaGL texture backed SourceSurfaces. r=gw280
...
--HG--
extra : rebase_source : 9c074672112c461c24552d9df770cad592c30d88
2015-09-23 20:27:58 -04:00
Lee Salzman
f15be30759
Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel
2015-07-29 16:31:40 -04: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
Carsten "Tomcat" Book
6838712a26
Backed out changeset af2af798ad8f (bug 1165710) for OS X 10.6 crashes
2015-05-26 09:00:19 +02:00
Matt Woodrow
1dada312ad
Bug 1165710 - Make DrawTargetSkia own its snapshot instead of the other way around. r=gw280
...
--HG--
extra : rebase_source : 3183fae0715d29a6ebc6eaa5f649a222cc0d4470
2015-05-26 15:10:25 +12:00
Jan Jongboom
a51560be5b
Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang
2015-02-25 03:20:00 -05:00
chiajung hung
4b10f218ab
Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni, r=gw280
2014-11-11 21:14:00 +01:00
George Wright
2ba75ff85d
[PATCH 01/15] Bug 1043745 - Use SkColorType and SkImageInfo instead of SkBitmap::Config r=mattwoodrow
2014-07-27 20:47:43 -04:00
James Willcox
73b9d741e9
Bug 987010 - Ignore alpha in Skia BGRX source surfaces - r=gwright
2014-04-17 17:01:23 -04:00
Ryan VanderMeulen
a852688935
Backed out changeset 32ce387c5487 (bug 987010) for crashes.
...
CLOSED TREE
2014-03-26 15:58:07 -04:00
James Willcox
8f21634db7
Bug 987010 - Ignore alpha in Skia BGRX source surfaces r=gwright
2014-03-26 13:22:42 -05:00