summaryrefslogtreecommitdiffstats
path: root/cc/playback/display_item_proto_factory.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add framework for (de)serialization of images in SkPicturenyquist2016-02-121-2/+5
| | | | | | | | | | | | This CL adds Plumbing for picture serialization and deserialization from //blimp to DrawingDisplayItem. BUG=577262 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1675763002 Cr-Commit-Position: refs/heads/master@{#375053}
* cc: Shrink size of display itemenne2015-12-101-15/+27
| | | | | | | | | | | | | | | | | | | | | This removes all of the base class members from display item and instead calculates them during allocation. This is done by processing each item as it is added, which requires passing in all the ctor args to CreateAndAppendItem. This reduces the size of all display items by 16 bytes so that the largest is now "only" 80 bytes and the smallest is 8. Also, DisplayItemList had a bug where it would allocate an item, (maybe) process all added items, and then SetNew on that last item. In that case, the processing would skip the final item because it was just a newly allocated item. This patch fixes that by the above changes to CreateAndAppendItem. R=vmpstr@chromium.org,chrishtr@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1494223003 Cr-Commit-Position: refs/heads/master@{#364437}
* Further plumb visual rect into cc:DisplayItemList.wkorman2015-11-251-13/+15
| | | | | | | | | | | | | | | | | | | | Save rects off in cc:DisplayItemList and clear them out in Finalize(), with TODO(vmpstr) to actually use them to build the RTree. Pass along the Blink visual rect obtained via work in http://crrev.com/1426963002. Add logic to UI compositor display item list callsites to pass along a relevant visual rect. Note the Blink side is still passing dummy visual rects. BUG=529938 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1423653005 Cr-Commit-Position: refs/heads/master@{#361612}
* Remove unnecessary use of scoped_refptr for display item list.wkorman2015-11-181-1/+1
| | | | | | | | BUG=529938 Review URL: https://codereview.chromium.org/1451233002 Cr-Commit-Position: refs/heads/master@{#360232}
* Add protobuf serialization to DisplayItemListdtrainor2015-10-281-0/+55
Serialize the following classes: - DisplayItemListSettings - DisplayItemList - DisplayItem and all subclasses - Did not fully serialize FilterDisplayItem. Serializing FilterOperations will require more work. Will do in a follow up CL. Added unit tests for all DisplayItems serialized. BUG=541321 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1407793002 Cr-Commit-Position: refs/heads/master@{#356563}