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

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

Issue 1673783004: Hook up BeginFrameSource to SurfaceFactoryClient via SurfaceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Register id namespace on Android Created 4 years, 9 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
« no previous file with comments | « no previous file | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/shared_renderer_state.h" 8 #include "android_webview/browser/shared_renderer_state.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 30 matching lines...) Expand all
41 41
42 private: 42 private:
43 // cc::DisplayClient overrides. 43 // cc::DisplayClient overrides.
44 void CommitVSyncParameters(base::TimeTicks timebase, 44 void CommitVSyncParameters(base::TimeTicks timebase,
45 base::TimeDelta interval) override {} 45 base::TimeDelta interval) override {}
46 void OutputSurfaceLost() override {} 46 void OutputSurfaceLost() override {}
47 void SetMemoryPolicy(const cc::ManagedMemoryPolicy& policy) override {} 47 void SetMemoryPolicy(const cc::ManagedMemoryPolicy& policy) override {}
48 48
49 // cc::SurfaceFactoryClient implementation. 49 // cc::SurfaceFactoryClient implementation.
50 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 50 void ReturnResources(const cc::ReturnedResourceArray& resources) override;
51 void SetBeginFrameSource(cc::SurfaceId surface_id, 51 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override;
52 cc::BeginFrameSource* begin_frame_source) override;
53 52
54 void ReturnResourcesInChildFrame(); 53 void ReturnResourcesInChildFrame();
55 void ReturnResourcesToCompositor(const cc::ReturnedResourceArray& resources, 54 void ReturnResourcesToCompositor(const cc::ReturnedResourceArray& resources,
56 unsigned int compositor_routing_id); 55 unsigned int compositor_routing_id);
57 56
58 SharedRendererState* shared_renderer_state_; 57 SharedRendererState* shared_renderer_state_;
59 58
60 typedef void* EGLContext; 59 typedef void* EGLContext;
61 EGLContext last_egl_context_; 60 EGLContext last_egl_context_;
62 61
(...skipping 20 matching lines...) Expand all
83 82
84 // This is owned by |display_|. 83 // This is owned by |display_|.
85 ParentOutputSurface* output_surface_; 84 ParentOutputSurface* output_surface_;
86 85
87 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer); 86 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer);
88 }; 87 };
89 88
90 } // namespace android_webview 89 } // namespace android_webview
91 90
92 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 91 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698