summaryrefslogtreecommitdiffstats
path: root/cc/picture_layer.h
Commit message (Collapse)AuthorAgeFilesLines
* Part 10 of cc/ directory shuffles: layersjamesr@chromium.org2013-03-181-57/+0
| | | | | | | | | | | Continuation of https://src.chromium.org/viewvc/chrome?view=rev&revision=188681 BUG=190824 TBR=enne@chromium.org, piman@chromium.org, jschuh@chromium.org, joth@chromium.org Review URL: https://codereview.chromium.org/12916002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188703 0039d316-1c4b-4281-b951-d872f2087c98
* Part 8 of cc/ directory shuffles: resourcesjamesr@chromium.org2013-03-181-1/+1
| | | | | | | | | | | Continuation of https://src.chromium.org/viewvc/chrome?view=rev&revision=188681 BUG=190824 TBR=enne@chromium.org, piman@chromium.org, jschuh@chromium.org Review URL: https://codereview.chromium.org/12471007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188696 0039d316-1c4b-4281-b951-d872f2087c98
* Part 7 of cc/ directory shuffles: treesjamesr@chromium.org2013-03-181-1/+1
| | | | | | | | | | | Continuation of https://src.chromium.org/viewvc/chrome?view=rev&revision=188681 BUG=190824 TBR=enne@chromium.org, piman@chromium.org Review URL: https://codereview.chromium.org/12722007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188694 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 of cc/ directory shuffles: debugjamesr@chromium.org2013-03-181-2/+2
| | | | | | | | | | | Continuation of https://src.chromium.org/viewvc/chrome?view=rev&revision=188681 BUG=190824 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/12648008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188685 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix style errors in impl-side painting classesenne@chromium.org2013-03-141-3/+3
| | | | | | | | | | R=jamesr@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/12819002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188094 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Chromify Layer and LayerImpl classes.danakj@chromium.org2013-03-121-9/+9
| | | | | | | | | | | | Style-only change. Bring the Layer and LayerImpl classes into the Chromium style. R=enne,piman,jamesr TBR=joth Review URL: https://chromiumcodereview.appspot.com/12774006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187555 0039d316-1c4b-4281-b951-d872f2087c98
* Emit trace events during layer update and tile rasterization that are ↵caseq@google.com2013-02-271-0/+3
| | | | | | | | | | | | | | | processed by DevTools to show time spent in rasterization. WebKit side processing: https://bugs.webkit.org/show_bug.cgi?id=105851 BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184923 Review URL: https://codereview.chromium.org/12220019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184964 0039d316-1c4b-4281-b951-d872f2087c98
* Set up V8 bindings for extension/app APIs when they're first used, not oncaseq@google.com2013-02-271-3/+0
| | | | | | | | | | | | | | | | | | context creation. This should gives us a significant reduction in extension/app startup time and slightly better memory usage. It also gives us better error messages, the chance to complete the implementation of API features, and eventually the ability to expose select extension APIs (e.g. extension.sendMessage) to web pages. BUG=163678,120070,55316,177163 TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184837 Review URL: https://codereview.chromium.org/11571014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184924 0039d316-1c4b-4281-b951-d872f2087c98
* Emit trace events during layer update and tile rasterization that are ↵caseq@google.com2013-02-271-0/+3
| | | | | | | | | | | | | processed by DevTools to show time spent in rasterization. WebKit side processing: https://bugs.webkit.org/show_bug.cgi?id=105851 BUG=none TEST=none Review URL: https://codereview.chromium.org/12220019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184923 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Avoid expensive RenderingStats collection.danakj@chromium.org2013-02-021-1/+1
| | | | | | | | | | | | | | | 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: Add picture pile base classenne@chromium.org2013-01-171-1/+1
| | | | | | | | | | | | | | PicturePile and PicturePileImpl are too similar and share nearly the same data members, so merging this code will make it easier to change the underlying PicturePile storage. R=danakj@chromium.org BUG=167213 Review URL: https://chromiumcodereview.appspot.com/11971024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177325 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix low-res impl-side painting artifactsenne@chromium.org2013-01-081-8/+11
| | | | | | | | | | | | | | | | Instead of clipping cc::Picture on recorded pixel boundaries (which may be a partial pixel in the final rastered content if content scale < 1), clip only on integral pixels in the final rastered output. This requires recording a small buffer of pixels around every picture, specified via a min contents scale. NOTRY=true R=nduca@chromium.org BUG=167590 Review URL: https://chromiumcodereview.appspot.com/11678003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175542 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Support mask layers in impl-side paintingenne@chromium.org2012-12-211-0/+2
| | | | | | | | | | | | | Mask layers just set always update their tiling to be exactly the size of the mask content bounds, so that there's exactly one tile. R=nduca@chromium.org BUG=165730 Review URL: https://chromiumcodereview.appspot.com/11639050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174443 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Make LayerImpls point at LayerTreeImpl instead of LTHInduca@chromium.org2012-12-111-1/+1
| | | | | | | | | | BUG=155209 R=enne@chromium.org NOTRY=True Review URL: https://chromiumcodereview.appspot.com/11519018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172411 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Pass LayerTreeHostImpl to LayerImpl constructorenne@chromium.org2012-12-071-1/+2
| | | | | | | | | | | | | | | In order to allow for LayerImpl to notify its host when one of its property changes, it needs to more robustly have its host set (which is not the case in most tests). To avoid a recursive pass when adding children or after layer synchronization, instead just pass it to the constructor of LayerImpl, since a given LayerImpl will never move from one host to another. NOTRY=true BUG=none Review URL: https://chromiumcodereview.appspot.com/11472021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171830 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Apply contents scales to impl-side painting rasterizationenne@chromium.org2012-12-051-1/+2
| | | | | | | | | | | | | | Tiles now have a contents scale that they are rastered with, so that non-1.0 contents scales work. Additionally, PictureLayer derives from ContentsScalingLayer so that it picks up the right content bounds and default contents scale. BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11421210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171111 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Clean up invalidation behavior in PicturePile / PictureLayerenne@chromium.org2012-11-281-1/+4
| | | | | | | | | BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11416217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169826 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add PictureLayerTilingSet to manage PictureLayerTilingenne@chromium.org2012-11-211-0/+1
| | | | | | | | | | | | | | | | | PictureLayerTilingSet has multiple tilings at different content scales. This should abstract managing the tilings from PictureLayerImpl. The layer can then ask the set to fill in a given (integer) rect at a given content scale and then get back the set of tiles/rects/texture coordinates to generate that set. Using an integer rect allows textures at different contents scales to fill a piece of geometry without cracks. R=nduca@chromium.org BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11417111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169083 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Make Picture/PicturePile handle recording/rasterenne@chromium.org2012-11-091-0/+6
| | | | | | | | | | | | | | | It's not efficient (or tested), but this should be enough to start being useful once we add the raster/upload/appendQuads path. Next steps are probably to add tilings to the PictureLayerImpl. R=nduca@chromium.org BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11293188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166999 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add some impl-side painting stub classes and APIsenne@chromium.org2012-11-081-0/+37
BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11265046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166615 0039d316-1c4b-4281-b951-d872f2087c98