| 1 |
|
| 2 |
/* |
| 3 |
* Copyright 2016 Google Inc. |
| 4 |
* |
| 5 |
* Use of this source code is governed by a BSD-style license that can be |
| 6 |
* found in the LICENSE file. |
| 7 |
*/ |
| 8 |
#ifndef RasterWindowContext_DEFINED |
| 9 |
#define RasterWindowContext_DEFINED |
| 10 |
|
| 11 |
#include "tools/window/WindowContext.h" |
| 12 |
|
| 13 |
namespace skwindow::internal { |
| 14 |
|
| 15 |
class RasterWindowContext : public WindowContext { |
| 16 |
public: |
| 17 |
RasterWindowContext(std::unique_ptr<const DisplayParams> params) |
| 18 |
: WindowContext(std::move(params)) {} |
| 19 |
|
| 20 |
protected: |
| 21 |
bool isGpuContext() override { return false; } |
| 22 |
}; |
| 23 |
|
| 24 |
} // namespace skwindow::internal |
| 25 |
|
| 26 |
#endif |