commit | 2fdaa04465acfbd1feb5cb164029961ea2c4a18b | [log] [tgz] |
---|---|---|
author | kylechar <[email protected]> | Tue Jul 03 17:36:23 2018 |
committer | Commit Bot <[email protected]> | Tue Jul 03 17:36:23 2018 |
tree | eaf9e7c3ae5a5ce0c60a7507b614a9f1893312a7 | |
parent | 118f0d2fa00ae060a91593693ff5c59765a40a57 [diff] |
Refactor InProcessCommandBuffer::Service. There is a lot of complexity in InProcessCommandBuffer and the internal Service class makes things more complex. This CL attempts to clean this up a bit. 1. Move InProcessCommandBuffer::Service into it's own file and rename to GpuCommandService. Improve comments and modernize code slightly. 2. Make GpuCommandService a subclass of RefCountedThreadSafe, rather than all of the subclasses of GpuCommandService and then manually forwarding calls to AddRef() and Release(). This was originally done because GpuCommandService was a pure interface, however that is no longer the case. 3. Remove passing around const refs to scoped_refptrs. We can just pass the scoped_refptr by value in these cases. Bug: 832243 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: Ib6dc5212ba71e3645e2649b5db43f2c06fbb14e2 Reviewed-on: https://chromium-review.googlesource.com/1118618 Commit-Queue: kylechar <[email protected]> Reviewed-by: Antoine Labour <[email protected]> Reviewed-by: Bo <[email protected]> Cr-Commit-Position: refs/heads/master@{#572272}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .