/src/skia/include/private/base/SkDebug.h
Line | Count | Source |
1 | | /* |
2 | | * Copyright 2022 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 SkDebug_DEFINED |
9 | | #define SkDebug_DEFINED |
10 | | |
11 | | #include "include/private/base/SkAPI.h" |
12 | | #include "include/private/base/SkAttributes.h" |
13 | | #include "include/private/base/SkLoadUserConfig.h" // IWYU pragma: keep |
14 | | |
15 | | #if !defined(SkDebugf) |
16 | | void SK_SPI SkDebugf(const char format[], ...) SK_PRINTF_LIKE(1, 2); |
17 | | #endif |
18 | | |
19 | | #if defined(SK_DEBUG) |
20 | 6.80G | #define SkDEBUGCODE(...) __VA_ARGS__ SkPathRef::validate() const Line | Count | Source | 20 | 24 | #define SkDEBUGCODE(...) __VA_ARGS__ |
Unexecuted instantiation: skgpu::Plot::bpp() const Unexecuted instantiation: GrSurfaceProxy::getRawGpuMemorySize_debugOnly() const Unexecuted instantiation: skgpu::ganesh::ClipStack::Mask::owner() const Unexecuted instantiation: GrImageContextPriv::singleOwner() const Unexecuted instantiation: skgpu::ganesh::PathRenderer::CanDrawPathArgs::CanDrawPathArgs() Unexecuted instantiation: skgpu::ganesh::PathRenderer::StencilPathArgs::StencilPathArgs() Unexecuted instantiation: GrTextureProxy::creatingProvider() const Unexecuted instantiation: skgpu::ganesh::SurfaceContext::onValidate() const Unexecuted instantiation: GrVkRenderPass::isExternal() const Unexecuted instantiation: SkImageFilterCache.cpp:(anonymous namespace)::CacheImpl::count() const Unexecuted instantiation: SkPathRef::validate() const::{lambda()#1}::operator()() const Unexecuted instantiation: SkTextBlob.cpp:SkTextBlobBuilder::make()::$_5::operator()() const Unexecuted instantiation: SkTextBlob.cpp:SkTextBlobBuilder::make()::$_6::operator()() const Unexecuted instantiation: SkTextBlob.cpp:SkTextBlobBuilder::make()::$_7::operator()() const Unexecuted instantiation: SkCoincidentSpans::globalState() Unexecuted instantiation: SkJSON.cpp:skjson::(anonymous namespace)::DOMParser::popObjectScope()::{lambda()#2}::operator()() const Unexecuted instantiation: SkJSON.cpp:skjson::(anonymous namespace)::DOMParser::popObjectScope()::{lambda()#3}::operator()() const Unexecuted instantiation: SkJSON.cpp:skjson::(anonymous namespace)::DOMParser::popArrayScope()::{lambda()#2}::operator()() const Unexecuted instantiation: GrResourceAllocator::Register::uniqueID() const Unexecuted instantiation: GrResourceAllocator::Interval::uniqueID() const Unexecuted instantiation: skgpu::ganesh::QuadPerEdgeAA::Tessellator::vertexMark() const Unexecuted instantiation: GrVkResourceProvider.cpp:GrVkResourceProvider::findOrCreateCommandPool()::$_1::operator()() const Unexecuted instantiation: GrVkResourceProvider.cpp:GrVkResourceProvider::findOrCreateCommandPool()::$_2::operator()() const Unexecuted instantiation: SkTSect::globalState() Unexecuted instantiation: SkTSpan::globalState() const Unexecuted instantiation: skgpu::graphite::DrawList::hasCoverageMaskDraws() const Unexecuted instantiation: SkShaper_harfbuzz.cpp:(anonymous namespace)::create_sub_hb_font(SkFont const&, std::__1::unique_ptr<hb_font_t, SkOverloadedFunctionObject<void (hb_font_t*), &hb_font_destroy> > const&)::$_0::operator()() const |
21 | 62.3k | #define SkDEBUGF(...) SkDebugf(__VA_ARGS__) |
22 | | #else |
23 | | #define SkDEBUGCODE(...) |
24 | | #define SkDEBUGF(...) |
25 | | #endif |
26 | | |
27 | | #endif |