| /* | |
| * Copyright 2016 Google Inc. | |
| * | |
| * Use of this source code is governed by a BSD-style license that can be | |
| * found in the LICENSE file. | |
| */ | |
| #ifndef RasterWindowContext_DEFINED | |
| #define RasterWindowContext_DEFINED | |
| #include "tools/window/WindowContext.h" | |
| namespace skwindow::internal { | |
| class RasterWindowContext : public WindowContext { | |
| public: | |
| RasterWindowContext(std::unique_ptr<const DisplayParams> params) | |
| : WindowContext(std::move(params)) {} | |
| protected: | |
| bool isGpuContext() override { return false; } | |
| }; | |
| } // namespace skwindow::internal | |
| #endif |