Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositorMutator.h

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring up oilpan support during compositor worker creation and oilpan the compositor mutator and pro… Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CompositorMutator_h
6 #define CompositorMutator_h
7
8 #include "platform/heap/Handle.h"
9 #include "wtf/RefCounted.h"
10
11 namespace blink {
12
13 class CompositorMutator : public GarbageCollectedFinalized<CompositorMutator> {
jbroman 2016/04/29 19:42:22 If this is an interface (it seems to be), it shoul
flackr 2016/05/03 22:24:54 Done.
haraken 2016/05/09 01:37:05 Hmm, I don't fully understand this comment. What p
jbroman 2016/05/19 18:50:05 CompositorMutator is a pure virtual base class (i.
haraken 2016/05/19 23:55:51 Because GarbageCollectedMixin adds (some complicat
jbroman 2016/05/20 00:06:52 OK. I do see now that https://chromium.googlesourc
14 public:
15 virtual ~CompositorMutator() {}
16
17 DEFINE_INLINE_VIRTUAL_TRACE() {}
18
19 // Called from compositor thread which does not participate in GC cycle
jbroman 2016/04/29 19:42:22 What does this comment mean? Also, a brief comment
flackr 2016/05/03 22:24:54 Sorry, this comment is way out of date, updated.
20 virtual bool mutate(double monotonicTimeNow) = 0;
21 };
22
23 } // namespace blink
24
25 #endif // CompositorMutator_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698