1 /* 2 * Copyright 2017 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef GLTestAtlasTextRenderer_DEFINED 9 #define GLTestAtlasTextRenderer_DEFINED 10 11 #include "SkRefCnt.h" 12 13 namespace sk_gpu_test { 14 15 class TestAtlasTextRenderer; 16 17 /** 18 * Creates a TestAtlasTextRenderer that uses its own OpenGL context to implement 19 * SkAtlasTextRenderer. 20 */ 21 sk_sp<TestAtlasTextRenderer> MakeGLTestAtlasTextRenderer(); 22 23 } // namespace sk_gpu_test 24 25 #endif 26