Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: android_webview/browser/hardware_renderer.h

Issue 394113002: Tiling priorities in Android Webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
6 #define ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
7 7
8 #include "android_webview/browser/parent_compositor_draw_constraints.h"
8 #include "android_webview/browser/shared_renderer_state.h" 9 #include "android_webview/browser/shared_renderer_state.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "cc/layers/delegated_frame_resource_collection.h" 11 #include "cc/layers/delegated_frame_resource_collection.h"
11 #include "cc/trees/layer_tree_host_client.h" 12 #include "cc/trees/layer_tree_host_client.h"
12 #include "cc/trees/layer_tree_host_single_thread_client.h" 13 #include "cc/trees/layer_tree_host_single_thread_client.h"
13 14
14 struct AwDrawGLInfo; 15 struct AwDrawGLInfo;
15 16
16 namespace cc { 17 namespace cc {
17 class DelegatedFrameProvider; 18 class DelegatedFrameProvider;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 83 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
83 scoped_refptr<cc::Layer> root_layer_; 84 scoped_refptr<cc::Layer> root_layer_;
84 85
85 scoped_refptr<cc::DelegatedFrameResourceCollection> resource_collection_; 86 scoped_refptr<cc::DelegatedFrameResourceCollection> resource_collection_;
86 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_; 87 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_;
87 scoped_refptr<cc::DelegatedRendererLayer> delegated_layer_; 88 scoped_refptr<cc::DelegatedRendererLayer> delegated_layer_;
88 89
89 // This is owned indirectly by |layer_tree_host_|. 90 // This is owned indirectly by |layer_tree_host_|.
90 ParentOutputSurface* output_surface_; 91 ParentOutputSurface* output_surface_;
91 92
93 ParentCompositorDrawConstraints draw_constraints_;
94
92 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer); 95 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer);
93 }; 96 };
94 97
95 } // namespace android_webview 98 } // namespace android_webview
96 99
97 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 100 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « android_webview/browser/browser_view_renderer_client.h ('k') | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698