OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_INTERFACE_H_ | |
6 #define ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_INTERFACE_H_ | |
7 | |
8 struct AwDrawGLInfo; | |
9 | |
10 namespace android_webview { | |
11 | |
12 struct DrawGLResult; | |
13 | |
14 class HardwareRendererInterface { | |
15 public: | |
16 virtual ~HardwareRendererInterface() {} | |
17 | |
18 virtual bool DrawGL(bool stencil_enabled, | |
19 int framebuffer_binding_ext, | |
20 AwDrawGLInfo* draw_info, | |
21 DrawGLResult* result) = 0; | |
22 }; | |
23 | |
24 } // namespace android_webview | |
25 | |
26 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_INTERFACE_H_ | |
OLD | NEW |