Home
last modified time | relevance | path

Searched refs:SkASSERTF (Results 1 – 25 of 56) sorted by relevance

123

/third_party/skia/src/core/
DSkScaleToSides.h24 SkASSERTF(scale < 1.0 && scale > 0.0, "scale: %g", scale); in AdjustRadii()
56 SkASSERTF(*a >= 0.0f && *b >= 0.0f, "a: %g, b: %g, limit: %g, scale: %g", *a, *b, limit, in AdjustRadii()
59 SkASSERTF(*a + *b <= limit, in AdjustRadii()
DSkRuntimeEffectPriv.h62 SkASSERTF(result.effect, "%s", result.errorText.c_str());
DSkColorSpace.cpp396 SkASSERTF(equiv(X,Y), "Hash collision at tf[%d], !equiv(%g,%g)\n", i, X,Y); in Equals()
402 SkASSERTF(equiv(X,Y), "Hash collision at toXYZD50[%d][%d], !equiv(%g,%g)\n", r,c, X,Y); in Equals()
/third_party/flutter/skia/src/core/
DSkScaleToSides.h24 SkASSERTF(scale < 1.0 && scale > 0.0, "scale: %g", scale); in AdjustRadii()
63 SkASSERTF(*a >= 0.0f && *b >= 0.0f, "a: %g, b: %g, limit: %g, scale: %g", *a, *b, limit, in AdjustRadii()
66 SkASSERTF(*a + *b <= limit, in AdjustRadii()
/third_party/skia/src/gpu/effects/
DGrSkSLFP.h300 SkASSERTF(uIter == uEnd, "Expected more uniforms, starting with '%s'", uIter->name.c_str()); in checkArgs()
301 SkASSERTF(cIter == cEnd, "Expected more children, starting with '%s'", cIter->name.c_str()); in checkArgs()
304 SkASSERTF(cIter != cEnd, "Too many children, wasn't expecting '%s'", name); in checkOneChild()
305 SkASSERTF(cIter->name.equals(name), in checkOneChild()
368 SkASSERTF(uIter != uEnd, "Too many uniforms, wasn't expecting '%s'", name); in checkOneUniform()
369 SkASSERTF(uIter->name.equals(name), in checkOneUniform()
372 SkASSERTF(uIter->sizeInBytes() == valSize, in checkOneUniform()
375 SkASSERTF(GrFPUniformType<T>::value == uIter->type, in checkOneUniform()
DGrSkSLFP.cpp72 SkASSERTF(!isArray, "specializing array uniforms is not allowed"); in emitCode()
323 SkASSERTF(fInputChildIndex == -1, "all addChild calls must happen before setInput"); in addChild()
324 SkASSERTF(fDestColorChildIndex == -1, "all addChild calls must happen before setDestColorFP"); in addChild()
334 SkASSERTF(fInputChildIndex == -1, "setInput should not be called more than once"); in setInput()
342 SkASSERTF(fEffect->allowBlender(), "dest colors are only used by blend effects"); in setDestColorFP()
343 SkASSERTF(fDestColorChildIndex == -1, "setDestColorFP should not be called more than once"); in setDestColorFP()
/third_party/skia/include/private/
DGrSingleOwner.h41 SkASSERTF(fOwner == self || fOwner == kIllegalThreadID, "%s:%d Single owner failure.", in enter()
49 SkASSERTF(fOwner == SkGetThreadID(), "%s:%d Single owner failure.", file, line); in exit()
/third_party/flutter/skia/include/core/
DSkTypes.h51 #define SkASSERTF(cond, fmt, ...) static_cast<void>( (cond) ? (void)0 : [&]{ \ macro
56 #define SkDEBUGFAILF(fmt, ...) SkASSERTF(false, fmt, ##__VA_ARGS__)
62 #define SkASSERTF(cond, fmt, ...) static_cast<void>(0) macro
DSkRefCnt.h41 SkASSERTF(this->getRefCnt() == 1, "fRefCnt was %d", this->getRefCnt()); in ~SkRefCntBase()
166 SkASSERTF(rc == 1, "NVRefCnt was %d", rc); in ~SkNVRefCnt()
/third_party/skia/src/sksl/ir/
DSkSLLiteral.h49 SkASSERTF(value >= type->minimumValue(), "Value %" PRId64 " does not fit in type %s", in MakeInt()
51 SkASSERTF(value <= type->maximumValue(), "Value %" PRId64 " does not fit in type %s", in MakeInt()
DSkSLConstructorStruct.cpp19 SkASSERTF(type.isStruct() && type.fields().size() > 0, "%s", type.description().c_str()); in Convert()
DSkSLConstructorArray.cpp19 SkASSERTF(type.isArray() && type.columns() > 0, "%s", type.description().c_str()); in Convert()
/third_party/skia/src/sksl/
DSkSLThreadContext.h132 SkASSERTF(!Instance().fStack.empty(), "This feature requires a FragmentProcessor"); in CurrentProcessor()
140 SkASSERTF(!Instance().fStack.empty(), "This feature requires a FragmentProcessor"); in CurrentEmitArgs()
DSkSLOperators.h25 SkASSERTF(this->isOperator(), "token-kind %d is not an operator", (int)fKind); in Operator()
/third_party/skia/tools/
DRuntimeBlendUtils.cpp20 SkASSERTF(result.effect, "%s", result.errorText.c_str()); in GetRuntimeBlendForBlendMode()
/third_party/skia/src/gpu/gl/webgl/
DGrGLMakeNativeInterface_webgl.cpp27 SkASSERTF(false, "Can't lookup fn %s\n", name); in webgl_get_gl_proc()
/third_party/skia/src/sksl/dsl/
DDSLRuntimeEffects.cpp36 SkASSERTF(result.effect, "%s\n", result.errorText.c_str()); in EndRuntimeShader()
DDSLStatement.cpp70 SkASSERTF(!fStatement || !ThreadContext::Settings().fAssertDSLObjectsReleased, in ~DSLStatement()
/third_party/skia/src/effects/
DSkBlenders.cpp55 SkASSERTF(result.effect, "SkBlenders::Arithmetic: %s", result.errorText.c_str()); in Arithmetic()
/third_party/skia/src/sksl/dsl/priv/
DDSLFPs.cpp45 SkASSERTF(0, "unsupported SampleChild type: %s", expr->type().description().c_str()); in SampleChild()
/third_party/skia/include/core/
DSkRefCnt.h40 SkASSERTF(this->getRefCnt() == 1, "fRefCnt was %d", this->getRefCnt()); in ~SkRefCntBase()
165 SkASSERTF(rc == 1, "NVRefCnt was %d", rc); in ~SkNVRefCnt()
DSkTypes.h481 #define SkASSERTF(cond, fmt, ...) static_cast<void>( (cond) ? (void)0 : [&]{ \ macro
492 #define SkASSERTF(cond, fmt, ...) static_cast<void>(0) macro
/third_party/flutter/skia/src/gpu/vk/
DGrVkResource.h87 SkASSERTF(count == 1, "fRefCnt was %d", count); in ~GrVkResource()
/third_party/skia/src/gpu/
DGrManagedResource.h91 SkASSERTF(count == 1, "fRefCnt was %d", count); in ~GrManagedResource()
/third_party/skia/tools/fonts/
Dcreate_test_font.cpp296 SkASSERTF(sk_exists(filepath.c_str()), "The file %s does not exist.", filepath.c_str()); in generate_fonts()
298 SkASSERTF(resourceTypeface, "The file %s is not a font.", filepath.c_str()); in generate_fonts()

123