diff options
author | erikchen <erikchen@chromium.org> | 2016-01-06 11:35:34 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-06 19:36:22 +0000 |
commit | 50b7660fa4b9aeb05d7e9b8919febeea5ccc1374 (patch) | |
tree | 20cbe7a30cc6ab370670a673bcb4a178ea488629 /cc/raster | |
parent | 8d8895cc227d9247c1172f235603c23d0be15ab4 (diff) | |
download | chromium_src-50b7660fa4b9aeb05d7e9b8919febeea5ccc1374.zip chromium_src-50b7660fa4b9aeb05d7e9b8919febeea5ccc1374.tar.gz chromium_src-50b7660fa4b9aeb05d7e9b8919febeea5ccc1374.tar.bz2 |
Remove the "target" argument from CopyTextureChromium.
The argument is meaningless, since the function also takes a source_id and
dest_id, each of which is already bound to a target. This is a refactor and has
no intended behavior change.
BUG=533617
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1551143002
Cr-Commit-Position: refs/heads/master@{#367878}
Diffstat (limited to 'cc/raster')
-rw-r--r-- | cc/raster/one_copy_tile_task_worker_pool.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cc/raster/one_copy_tile_task_worker_pool.cc b/cc/raster/one_copy_tile_task_worker_pool.cc index 9ca1ae3..ea1b947 100644 --- a/cc/raster/one_copy_tile_task_worker_pool.cc +++ b/cc/raster/one_copy_tile_task_worker_pool.cc @@ -444,10 +444,9 @@ void OneCopyTileTaskWorkerPool::PlaybackAndCopyOnWorkerThread( int rows_to_copy = std::min(chunk_size_in_rows, height - y); DCHECK_GT(rows_to_copy, 0); - gl->CopySubTextureCHROMIUM(GL_TEXTURE_2D, staging_buffer->texture_id, - resource_lock->texture_id(), 0, y, 0, y, - resource->size().width(), rows_to_copy, false, - false, false); + gl->CopySubTextureCHROMIUM( + staging_buffer->texture_id, resource_lock->texture_id(), 0, y, 0, y, + resource->size().width(), rows_to_copy, false, false, false); y += rows_to_copy; // Increment |bytes_scheduled_since_last_flush_| by the amount of memory |