skia2/tools/sk_app/WindowContext.cpp
Robert Phillips ed65339084 Update the sk_app WindowContext to hold a GrDirectContext
This CL is working towards replacing GrContext with the GrDirectContext/
GrRecordingContext pair.

Change-Id: Id4488e1280d76a16c37d58bd8d29fb7f8dde6b1d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/301940
Reviewed-by: Adlai Holler <adlai@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2020-07-10 18:27:03 +00:00

22 lines
454 B
C++

/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "tools/sk_app/WindowContext.h"
#include "include/gpu/GrDirectContext.h"
namespace sk_app {
WindowContext::WindowContext(const DisplayParams& params)
: fDisplayParams(params)
, fSampleCount(1)
, fStencilBits(0) {}
WindowContext::~WindowContext() {}
} //namespace sk_app