xref: /aosp_15_r20/external/skia/tools/window/unix/GaneshGLWindowContext_unix.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1 /*
2  * Copyright 2024 Google LLC
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef GaneshGLWindowContext_unix_DEFINED
9 #define GaneshGLWindowContext_unix_DEFINED
10 
11 #include <memory>
12 
13 namespace skwindow {
14 class WindowContext;
15 class DisplayParams;
16 struct XlibWindowInfo;
17 
18 std::unique_ptr<WindowContext> MakeGaneshGLForXlib(const XlibWindowInfo&,
19                                                    std::unique_ptr<const DisplayParams>);
20 }  // namespace skwindow
21 
22 #endif
23