| Index: android_webview/browser/in_process_view_renderer.h
|
| diff --git a/android_webview/browser/in_process_view_renderer.h b/android_webview/browser/in_process_view_renderer.h
|
| index 6e66a8441b48ae88d5ab70cdf31f33d69c76a88d..dd71952bcdce23e1360f50230e2e0dfb6ab58ff0 100644
|
| --- a/android_webview/browser/in_process_view_renderer.h
|
| +++ b/android_webview/browser/in_process_view_renderer.h
|
| @@ -18,11 +18,17 @@ class SynchronousCompositor;
|
| class WebContents;
|
| }
|
|
|
| +namespace gfx {
|
| +class GLSurface;
|
| +}
|
| +
|
| typedef void* EGLContext;
|
| class SkCanvas;
|
|
|
| namespace android_webview {
|
|
|
| +class AwGLSurface;
|
| +
|
| // Provides RenderViewHost wrapper functionality for sending WebView-specific
|
| // IPC messages to the renderer and from there to WebKit.
|
| class InProcessViewRenderer : public BrowserViewRenderer,
|
| @@ -93,6 +99,9 @@ class InProcessViewRenderer : public BrowserViewRenderer,
|
|
|
| void NoLongerExpectsDrawGL();
|
|
|
| + scoped_refptr<gfx::GLSurface> CreateGLSurface();
|
| + bool InitializeHwDraw();
|
| +
|
| // For debug tracing or logging. Return the string representation of this
|
| // view renderer's state and the |draw_info| if provided.
|
| std::string ToString(AwDrawGLInfo* draw_info) const;
|
| @@ -127,6 +136,7 @@ class InProcessViewRenderer : public BrowserViewRenderer,
|
| bool attached_to_window_;
|
| bool hardware_initialized_;
|
| bool hardware_failed_;
|
| + scoped_refptr<AwGLSurface> gl_surface_;
|
|
|
| // Used only for detecting Android View System context changes.
|
| // Not to be used between draw calls.
|
|
|