| 1 |
/* |
| 2 |
* Copyright 2024 Google LLC |
| 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 SkSLTraceUtils_DEFINED |
| 9 |
#define SkSLTraceUtils_DEFINED |
| 10 |
|
| 11 |
#include "include/core/SkRefCnt.h" |
| 12 |
|
| 13 |
class SkStream; |
| 14 |
class SkWStream; |
| 15 |
|
| 16 |
namespace SkSL { class DebugTracePriv; } |
| 17 |
|
| 18 |
namespace SkSLTraceUtils { |
| 19 |
sk_sp<SkSL::DebugTracePriv> ReadTrace(SkStream*); |
| 20 |
void WriteTrace(const SkSL::DebugTracePriv&, SkWStream*); |
| 21 |
} |
| 22 |
|
| 23 |
#endif |