summaryrefslogtreecommitdiffstats
path: root/cc/worker_pool.h
Commit message (Collapse)AuthorAgeFilesLines
* cc: Move picture cloning to main thread.reveman@chromium.org2013-03-021-2/+3
| | | | | | | | | | | | | | Perform all picture cloning at record time on the main thread. This will make it possible to improve load balancing of raster task as we no longer have to decide what thread to run a task on at dispatch time. BUG=177809 Review URL: https://chromiumcodereview.appspot.com/12385039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185759 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Rasterize cheap tiles immediatelyskyostil@chromium.org2013-02-201-5/+23
| | | | | | | | | | | | | | Rasterize cheap tiles immediately on the impl thread instead of delegating them to the raster workers. This improves tile update latency, because it avoids the communication and synchronization overhead with the worker threads. BUG=173426 Review URL: https://chromiumcodereview.appspot.com/12194015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183608 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Check for completed raster tasks at interval.reveman@google.com2013-02-141-8/+52
| | | | | | | | | | | | | | | | | | | This significantly reduces the context switching overhead for impl-side painting. Instead of posting reply task to the impl thread after completing each raster job, post a reply only when worker pool becomes idle and poll for completed tasks at a 6ms interval. This doesn't just make rasterization more efficient but also reduces the number of shallow flushes, which makes async uploads more efficient. BUG=173802 Review URL: https://codereview.chromium.org/12217105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182404 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Make recordRenderingStats on TileManager toggleableegraether@chromium.org2013-02-081-9/+11
| | | | | | | | | | | | | | This change removes the recordRenderingStats parameter from the TileManager's constructor and adds the method TileManager::SetRecordRenderingStats(). This allows for turning rendering stats collection on and off, which is used in continuous painting mode. BUG=174364 Review URL: https://chromiumcodereview.appspot.com/12223032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181531 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Avoid expensive RenderingStats collection.danakj@chromium.org2013-02-021-11/+17
| | | | | | | | | | | | | | | When --enable-gpu-benchmarking is not present, don't do expensive steps in the benchmark collection (meaning don't call base::TimeTicks::Now()). BUG=170735 NOTRY=true Depends on: https://bugs.webkit.org/show_bug.cgi?id=108358 Review URL: https://chromiumcodereview.appspot.com/12095053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180224 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Run raster task completion callbacks during worker pool shutdown.reveman@chromium.org2013-01-311-0/+120
Re-factor RasterWorkerPool such that we can properly run all task completion callbacks synchronously. Raster task completion tasks are posted to the compositor threads message loop. During shutdown all such completion tasks need to be cancelled and completion callbacks need to be run before RasterWorkerPool::Stop() returns. BUG=173001 Review URL: https://chromiumcodereview.appspot.com/12091055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179849 0039d316-1c4b-4281-b951-d872f2087c98