summaryrefslogtreecommitdiffstats
path: root/cc/output/output_surface.h
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-21 07:24:24 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-21 07:24:24 +0000
commitfbe89f77b847566e6ca80f5667df5bb7b3cccc53 (patch)
tree52ce8a300c3921097972530ace4b4ad2b29d722c /cc/output/output_surface.h
parentf71e84058d13cbc3198e72433c9933fd0e56d3b5 (diff)
downloadchromium_src-fbe89f77b847566e6ca80f5667df5bb7b3cccc53.zip
chromium_src-fbe89f77b847566e6ca80f5667df5bb7b3cccc53.tar.gz
chromium_src-fbe89f77b847566e6ca80f5667df5bb7b3cccc53.tar.bz2
Makes the resource provider and tile manager optional in LayerTreeHostImpl.
This is used with ForcedDrawToSoftwareDevice / tile-free rendering, in the android webview synchronous compositor, to enable just-in-time software renderer and prepare way for lazy GL render initialization (crbug.com/230197) (Inc. minor fix to tracing category used in SyncInputEventFilter) BUG=230226 Review URL: https://chromiumcodereview.appspot.com/14918013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/output_surface.h')
-rw-r--r--cc/output/output_surface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index e8d6fe3..0be2e3b 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -44,10 +44,12 @@ class CC_EXPORT OutputSurface {
struct Capabilities {
Capabilities()
: has_parent_compositor(false),
- max_frames_pending(0) {}
+ max_frames_pending(0),
+ deferred_gl_initialization(false) {}
bool has_parent_compositor;
int max_frames_pending;
+ bool deferred_gl_initialization;
};
const Capabilities& capabilities() const {