diff options
author | boliu <boliu@chromium.org> | 2014-09-23 14:45:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-23 21:45:52 +0000 |
commit | cc5ed8647904a5bab9a1062a2a3a786e0152cfd7 (patch) | |
tree | 0b758bf98cc91cd8e60ca00f492a68c8ffb029fb /chrome/browser/services/gcm/push_messaging_service_impl.cc | |
parent | 2340a8b517629e460dec10d4c6cf3e9b2770fea2 (diff) | |
download | chromium_src-cc5ed8647904a5bab9a1062a2a3a786e0152cfd7.zip chromium_src-cc5ed8647904a5bab9a1062a2a3a786e0152cfd7.tar.gz chromium_src-cc5ed8647904a5bab9a1062a2a3a786e0152cfd7.tar.bz2 |
aw: 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
Review URL: https://codereview.chromium.org/594333002
Cr-Commit-Position: refs/heads/master@{#296261}
Diffstat (limited to 'chrome/browser/services/gcm/push_messaging_service_impl.cc')
0 files changed, 0 insertions, 0 deletions