| 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 GraphiteDawnXlibWindowContext_unix_DEFINED |
| 9 |
#define GraphiteDawnXlibWindowContext_unix_DEFINED |
| 10 |
|
| 11 |
#include <memory> |
| 12 |
|
| 13 |
#include "tools/sk_app/Window.h" |
| 14 |
|
| 15 |
namespace skwindow { |
| 16 |
class WindowContext; |
| 17 |
class DisplayParams; |
| 18 |
struct XlibWindowInfo; |
| 19 |
|
| 20 |
std::unique_ptr<WindowContext> MakeGraphiteDawnForXlib(const XlibWindowInfo&, |
| 21 |
std::unique_ptr<const DisplayParams>, |
| 22 |
sk_app::Window::BackendType backendType); |
| 23 |
} // namespace skwindow |
| 24 |
|
| 25 |
#endif |