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

Unified Diff: android_webview/browser/surfaces_instance.h

Issue 2360963004: aw: Fix FBO restore bug (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/browser/render_thread_manager.cc ('k') | android_webview/browser/surfaces_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/surfaces_instance.h
diff --git a/android_webview/browser/surfaces_instance.h b/android_webview/browser/surfaces_instance.h
index 709b389bda7aafa1e654db6e7ea25320cd61d343..f40392171190f2fb003874a2b10b55e1c393fd4a 100644
--- a/android_webview/browser/surfaces_instance.h
+++ b/android_webview/browser/surfaces_instance.h
@@ -36,7 +36,8 @@ class SurfacesInstance : public base::RefCounted<SurfacesInstance>,
public cc::DisplayClient,
public cc::SurfaceFactoryClient {
public:
- static scoped_refptr<SurfacesInstance> GetOrCreateInstance();
+ static scoped_refptr<SurfacesInstance> GetOrCreateInstance(
+ int framebuffer_binding_ext);
std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator();
cc::SurfaceManager* GetSurfaceManager();
@@ -55,7 +56,7 @@ class SurfacesInstance : public base::RefCounted<SurfacesInstance>,
private:
friend class base::RefCounted<SurfacesInstance>;
- SurfacesInstance();
+ explicit SurfacesInstance(int framebuffer_binding_ext);
~SurfacesInstance() override;
// cc::DisplayClient overrides.
« no previous file with comments | « android_webview/browser/render_thread_manager.cc ('k') | android_webview/browser/surfaces_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698