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>
diff --git a/tools/sk_app/WindowContext.cpp b/tools/sk_app/WindowContext.cpp
new file mode 100644
index 0000000..b470467
--- /dev/null
+++ b/tools/sk_app/WindowContext.cpp
@@ -0,0 +1,21 @@
+/*
+ * 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