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
3 // found in the LICENSE file.
5 #ifndef ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_INTERFACE_H_
6 #define ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_INTERFACE_H_
10 namespace android_webview
{
14 class HardwareRendererInterface
{
16 virtual ~HardwareRendererInterface() {}
18 virtual bool DrawGL(bool stencil_enabled
,
19 int framebuffer_binding_ext
,
20 AwDrawGLInfo
* draw_info
,
21 DrawGLResult
* result
) = 0;
24 } // namespace android_webview
26 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_INTERFACE_H_