aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/atlastext/GLTestAtlasTextRenderer.h
blob: df01b345de25ebd29d4a1d35cfa1e215890bedbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * 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