Flutter Engine
The Flutter Engine
third_party
skia
include
sksl
SkSLDebugTrace.h
Go to the documentation of this file.
1
/*
2
* Copyright 2021 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 SKSL_DEBUG_TRACE
9
#define SKSL_DEBUG_TRACE
10
11
#include "
include/core/SkRefCnt.h
"
12
13
class
SkWStream
;
14
15
namespace
SkSL
{
16
17
class
DebugTrace
:
public
SkRefCnt
{
18
public
:
19
/** Serializes a debug trace to JSON which can be parsed by our debugger. */
20
virtual
void
writeTrace
(
SkWStream
*
w
)
const
= 0;
21
22
/** Generates a human-readable dump of the debug trace. */
23
virtual
void
dump
(
SkWStream
* o)
const
= 0;
24
};
25
26
}
// namespace SkSL
27
28
#endif
SkRefCnt.h
SkRefCnt
Definition:
SkRefCnt.h:119
SkSL::DebugTrace
Definition:
SkSLDebugTrace.h:17
SkSL::DebugTrace::writeTrace
virtual void writeTrace(SkWStream *w) const =0
SkSL::DebugTrace::dump
virtual void dump(SkWStream *o) const =0
SkWStream
Definition:
SkStream.h:218
SkSL
Definition:
SkCapabilities.h:15
w
SkScalar w
Definition:
pictureshadertile.cpp:30
Generated on Sun Jun 23 2024 21:56:03 for Flutter Engine by
1.9.4