Commit Graph

19 Commits

Author SHA1 Message Date
Kartikaya Gupta
d8b8a6e9e3 Bug 1523956 - Add a null check against mRefreshTimerVsyncDispatcher getting nulled concurrently. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19703

--HG--
extra : moz-landing-system : lando
2019-02-13 22:46:19 +00:00
Gijs Kruitbosch
c731d09803 Bug 1503339 - update frame rate at runtime, r=kats
Depends on D13260

Differential Revision: https://phabricator.services.mozilla.com/D13261

--HG--
extra : moz-landing-system : lando
2018-12-14 20:16:23 +00:00
Matt Woodrow
e3453844bf Bug 1510853 - Introduce VsyncId and VsyncEvent for identifying vsyncs without timestamp comparisons. r=jrmuizel
MozReview-Commit-ID: 6TO6hYOdJYo

Differential Revision: https://phabricator.services.mozilla.com/D13757

--HG--
extra : moz-landing-system : lando
2018-12-07 23:27:28 +00:00
Ciure Andrei
22c96f2cb4 Backed out 4 changesets (bug 1510853) for TelemetryHistogramEnums.h build bustages CLOSED TREE
Backed out changeset 80baa7b09930 (bug 1510853)
Backed out changeset d1ef6db7fc28 (bug 1510853)
Backed out changeset ae190948ad73 (bug 1510853)
Backed out changeset 0ade0aa77b2f (bug 1510853)
2018-12-07 19:38:47 +02:00
Matt Woodrow
6c3cd9bd00 Bug 1510853 - Introduce VsyncId and VsyncEvent for identifying vsyncs without timestamp comparisons. r=jrmuizel
MozReview-Commit-ID: 6TO6hYOdJYo

Differential Revision: https://phabricator.services.mozilla.com/D13757

--HG--
extra : moz-landing-system : lando
2018-12-07 17:06:11 +00: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
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
Mason Chang
426f8dbfee Bug 1276931. Add VsyncSource::Shutdown which shuts down global display. r=jrmuizel 2016-06-06 10:07:29 -07:00
Mason Chang
8aa60c20d6 Bug 1221674 - Add telemetry probe in the content process to measure the time between refresh driver ticks. r=kats 2015-11-06 08:20:58 -08:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Mason Chang
7df0c3a7b2 Bug 1142957 Fallback to main display CVDisplayLink if active displays aren't available. r=mstange 2015-03-14 21:23:53 -07:00
Mason Chang
bbe4c2b753 Backout 8545a7f27c8c (bug 1142708) for 10.6 Debug jit test failures. r=me 2015-03-14 20:37:41 -07:00
Mason Chang
55026e7cd5 Bug 1142708. Fallback to main display CVDisplayLink if active displays aren't available. r=mstange 2015-03-14 13:55:35 -07:00
Mason Chang
ebe0a9bec5 Bug 1095242. Part 4: Unobserve vsync in CompositorVsyncDispatcher. r=kats 2015-01-20 08:31:24 -08:00
JerryShih
81083d3e3b Bug 1119742 - Add RefreshTimerDispatcher into VsyncSource::Display. r=kats
1) Create RefreshTimerDispatcher in VsyncSource::Display.
2) Use mutex for all VsyncSource::Display's member access.
2015-01-13 08:04:00 -05:00
Mason Chang
4b9c7c9fe3 Bug 1102631 - Create a software vsync timer. r=kats 2015-01-08 15:12:47 -08:00
JerryShih
a362575e49 Bug 1118841 - Implement the RefreshTimerVsyncDispatcher. r=kats 2015-01-07 18:17:36 -08:00
Mason Chang
2166723055 Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats 2014-12-19 12:52:42 -08:00
Mason Chang
5119b7e4eb Bug 1101974. Part 3 - Create VsyncSource / Display framework. r=kats 2014-12-18 08:30:06 -08:00