• Khushal's avatar
    cc/gpu: Inline transfer cache entries instead of deferring them. · 7c03b1e3
    Khushal authored
    This change updates the approach for writing transfer cache entries into
    the transfer buffer from defering the entry until the end of
    RasterCHROMIUM to inlining them during the RasterCHROMIUM serialization
    itself. It avoid an extra allocation and copy for these entries.
    
    R=enne@chromium.org, ericrk@chromium.org
    
    Bug: 894200
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: If12167d36ca074750f114e7af8c715d40a3a7dcc
    Reviewed-on: https://chromium-review.googlesource.com/c/1287092
    Commit-Queue: Khushal <khushalsagar@chromium.org>
    Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Reviewed-by: default avatarenne <enne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#602626}
    7c03b1e3
path_transfer_cache_entry.cc 1.39 KB