cc: Add BitmapRasterWorkerPool.
commit5ae838bba3f6cc7a14f95cd1ee2fb37bacadde53
authorreveman <reveman@chromium.org>
Wed, 24 Sep 2014 23:30:14 +0000 (24 16:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 24 Sep 2014 23:46:15 +0000 (24 23:46 +0000)
tree16906acbe3d76f0a0809caff0e612dbadce9b96d
parentfac313295f6372c51d227a585e54338077c87191
cc: Add BitmapRasterWorkerPool.

This adds a rasterizer implementation explicitly used for
rasterizing to bitmap resources. Each rasterizer is already
aware of specific resource details and it is much easier
and less confusing to implement a different rasterizer that
handle bitmap resources then trying to emulate support for
GL-ish APIs that are used by other rasterizer implementations.

This allows us to clean up LTHI a bit and reduces the
complexity of the ResourceProvider class significantly.

It also makes future changes that will allow GpuMemoryBuffers
to be created and mapped in worker threads easier implement.

BUG=

Review URL: https://codereview.chromium.org/602493003

Cr-Commit-Position: refs/heads/master@{#296558}
cc/BUILD.gn
cc/cc.gyp
cc/output/software_renderer.cc
cc/resources/bitmap_raster_worker_pool.cc [new file with mode: 0644]
cc/resources/bitmap_raster_worker_pool.h [new file with mode: 0644]
cc/resources/raster_worker_pool_perftest.cc
cc/resources/raster_worker_pool_unittest.cc
cc/resources/resource_provider.cc
cc/resources/resource_provider_unittest.cc
cc/trees/layer_tree_host_impl.cc