skia2/tools/gpu/atlastext/GLTestAtlasTextRenderer.h
Brian Salomon cbcb0a12ad Revert "Revert "Add Atlas Text interface for rendering SDF glyphs.""
This reverts commit 9c2202ffc2.

Bug: skia:
Change-Id: I482ddf74f8e40d3d0908c840ba5c6ff981ccefbd
Reviewed-on: https://skia-review.googlesource.com/73345
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2017-11-19 18:55:18 +00:00

26 lines
514 B
C++

/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GLTestAtlasTextRenderer_DEFINED
#define GLTestAtlasTextRenderer_DEFINED
#include "SkRefCnt.h"
namespace sk_gpu_test {
class TestAtlasTextRenderer;
/**
* Creates a TestAtlasTextRenderer that uses its own OpenGL context to implement
* SkAtlasTextRenderer.
*/
sk_sp<TestAtlasTextRenderer> MakeGLTestAtlasTextRenderer();
} // namespace sk_gpu_test
#endif