blob: 4a01aab882542ae9fbebcb591e7916c28101329d [file] [log] [blame]
liyuqiand94ad582016-06-07 14:22:37 -07001
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
Mike Kleinc0bd9f92019-04-23 12:05:21 -050011#include "tools/sk_app/WindowContext.h"
liyuqiand94ad582016-06-07 14:22:37 -070012
13namespace sk_app {
14
15class RasterWindowContext : public WindowContext {
16public:
Jim Van Verthfbdc0802017-05-02 16:15:53 -040017 RasterWindowContext(const DisplayParams& params) : WindowContext(params) {}
18
liyuqiand94ad582016-06-07 14:22:37 -070019protected:
20 bool isGpuContext() override { return false; }
21};
22
23} // namespace sk_app
24
25#endif