Descriptionaw: Fix HardwareView for instrumentation tests
* Implement detachGLFunctor. The contract here is after detachGLFunctor
is called, DrawGL is no longer called until the next requestDrawGL.
Implement just with a mFunctorAttached variable.
* Only create one HardwareView. Each GLSurfaceView creates its own GL
thread, but we only assume a single render thread. Using SurfaceView
or hosting multiple AwContents in the same GLSurfaceView is too hard,
so just do the simplest thing, and create the first view has hardware
accelerated.
BUG=416981
Committed: https://crrev.com/cc5ed8647904a5bab9a1062a2a3a786e0152cfd7
Cr-Commit-Position: refs/heads/master@{#296261}
Patch Set 1 #
Total comments: 4
Patch Set 2 : nit #
Total comments: 2
Messages
Total messages: 12 (2 generated)
|