summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/display_client.h
Commit message (Collapse)AuthorAgeFilesLines
* Add DisplayScheduler for Surfacesbrianderson2015-05-221-3/+0
| | | | | | | | | | | | | | | | | | | | This uses a SyntheticBeginFrameSource and a BeginFrame + deadline to determine when to draw. A heuristic is used to detect currently active surfaces that we want to wait for. Future patches will put this in charge of sending BeginFrames to surface producers, avoid using a heuristic to detect currently active surfaces, and more reliably inform producers of their latency. BUG=467750 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1138563002 Cr-Commit-Position: refs/heads/master@{#331037}
* Revert of Add DisplayScheduler for Surfaces (patchset #15 id:280001 of ↵brianderson2015-04-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1012853003/) Reason for revert: https://code.google.com/p/chromium/issues/detail?id=476544#c5 Original issue's description: > Add DisplayScheduler for Surfaces > > This uses a SyntheticBeginFrameSource and a simple > BeginFrame + deadline to determine when to draw. > > A simple heuristic based on recent activity is > used to detect currently active surfaces that we > want to wait for. > > Future patches will put this in charge of sending > BeginFrames to surface produces, recovering > producer latency, and replace the heuristic with > something more correct. > > BUG=467750 > > Committed: https://crrev.com/893604464fd906112dd5ff3eec9cc99f6ca645fc > Cr-Commit-Position: refs/heads/master@{#324980} TBR=jbauman@chromium.org,sunnyps@chromium.org,mithro@mithis.com,sky@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=467750 Review URL: https://codereview.chromium.org/1068743003 Cr-Commit-Position: refs/heads/master@{#325003}
* Add DisplayScheduler for Surfacesbrianderson2015-04-141-3/+0
| | | | | | | | | | | | | | | | | | | | This uses a SyntheticBeginFrameSource and a simple BeginFrame + deadline to determine when to draw. A simple heuristic based on recent activity is used to detect currently active surfaces that we want to wait for. Future patches will put this in charge of sending BeginFrames to surface produces, recovering producer latency, and replace the heuristic with something more correct. BUG=467750 Review URL: https://codereview.chromium.org/1012853003 Cr-Commit-Position: refs/heads/master@{#324980}
* cc: Remove readability/inheritance exception for linter in cc.danakj2014-11-141-1/+2
| | | | | | | | | | | And make cc/ all linter clean. R=enne BUG=422353 Review URL: https://codereview.chromium.org/720323002 Cr-Commit-Position: refs/heads/master@{#304136}
* Make browser compositor and display share a contextjbauman2014-10-031-2/+3
| | | | | | | | The browser compositor and the display won't interfere with each other, so sharing a context avoids wasting time and memory creating a second context. The display should own the context, though it passes information related to context lost and memory management to the browser compositor. Review URL: https://codereview.chromium.org/615313003 Cr-Commit-Position: refs/heads/master@{#298093}
* Support distributing vsync info with surfaces.jbauman2014-09-231-0/+3
| | | | | | | | | | For now the vsync signal can be sent to the browser compositor, which will handle distributing it like before. BUG= Review URL: https://codereview.chromium.org/568763004 Cr-Commit-Position: refs/heads/master@{#296126}
* Limit outstanding surface draw swaps to max_frames_pending.jbauman2014-09-231-0/+2
| | | | | | | | | | Avoid queueing up too many swaps on the GPU. BUG= Review URL: https://codereview.chromium.org/578383004 Cr-Commit-Position: refs/heads/master@{#296111}
* Enqueuing new frames in a Surface should cause Displays to reaggregate itjbauman@chromium.org2014-08-161-0/+1
| | | | | | | | | | | | | Keep track of which Surfaces were included in a Display last frame, so if a new frame is enqueued in a Surface the Displays containing it will tell their clients to redraw. This way the browser compositor doesn't have to commit if only the renderer contents changed. BUG= Review URL: https://codereview.chromium.org/432093003 Cr-Commit-Position: refs/heads/master@{#290103} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290103 0039d316-1c4b-4281-b951-d872f2087c98
* Add very simple cc::Display implementation for surfaces.jbauman@chromium.org2014-05-301-0/+23
This just takes the root surface and displays it using a delegated renderer layer. BUG=334090 Review URL: https://codereview.chromium.org/302903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273719 0039d316-1c4b-4281-b951-d872f2087c98