The command_buffer_gles2 library does not support asynchronous command buffer mode |
|||||
Issue descriptionCurrently command_buffer_gles2 library uses command buffer in the mode where the real OpenGL calls are made in the same thread as the command buffer OpenGL calls. It would be useful to let Skia use test command buffer in a mode which would be more closer to the real Chrome usage pattern. In particular, doing performance profiling of Skia using command_buffer_gles2 library does not really uncover any of the same performance problems as running Chrome. Either (or both) would be useful: 1) in-process command buffer with threads separating the client and service 2) process-separated command buffer with client and service in different processes
,
Mar 29 2016
GLInProcessContext/InProcessCommandBuffer has support for running the service side in a separate thread (and that's the default, actually, if you pass NULL as the service to GLInProcessContext::Create). It doesn't depend on content - see e.g. ui/compositor/test/in_process_context_provider.cc which creates one for tests.
,
Mar 29 2016
For the out-of-process scenario, TBH it's a lot of work to replicate a bunch of the content infrastructure, I'm not sure it will give you a good bang for buck. A lot of the out-of-process issues also have to do with the sandbox, so you'd need to wire that up too. That being said, we are refactoring a bunch of the content/ infrastructure (ipc etc.) for gpu to not depend on content - see the bug tree starting at https://bugs.chromium.org/p/chromium/issues/detail?id=586364 .
,
Jun 17 2016
,
Jan 25 2017
,
Oct 9
Currently we are not actively working on the feature, unassigning. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by kkinnu...@nvidia.com
, Mar 29 2016