skia2/tools/sk_app/RasterWindowContext.h
Brian Salomon 032aaae5be Remove legacy GrContext factories function and supporting code/types.
Change-Id: I437a4a0a58bf70ea1b8b0659b099a2af2bfa64fe
Reviewed-on: https://skia-review.googlesource.com/116197
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2018-03-23 21:12:50 +00:00

26 lines
504 B
C++

/*
* 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 "WindowContext.h"
namespace sk_app {
class RasterWindowContext : public WindowContext {
public:
RasterWindowContext(const DisplayParams& params) : WindowContext(params) {}
protected:
bool isGpuContext() override { return false; }
};
} // namespace sk_app
#endif