Home
last modified time | relevance | path

Searched refs:xformed (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/core/
DSkColorSpaceXformer.cpp81 if (auto* xformed = cache->find(key)) { in cachedApply() local
82 return sk_ref_sp(xformed->get()); in cachedApply()
85 auto xformed = applyFunc(src, this); in cachedApply() local
86 cache->set(std::move(key), xformed); in cachedApply()
88 return xformed; in cachedApply()
112 sk_sp<SkImage> xformed = image->makeColorSpace(fDst, SkTransferFunctionBehavior::kIgnore); in apply() local
114 SkASSERT(xformed != image); in apply()
115 return xformed; in apply()
139 void SkColorSpaceXformer::apply(SkColor* xformed, const SkColor* srgb, int n) { in apply() argument
140 SkAssertResult(fFromSRGB->apply(SkColorSpaceXform::kBGRA_8888_ColorFormat, xformed, in apply()
[all …]
DSkColorSpaceXformCanvas.cpp80 SkColor xformed[4]; in onDrawPatch() local
82 fXformer->apply(xformed, colors, 4); in onDrawPatch()
83 colors = xformed; in onDrawPatch()
97 SkSTArray<8, SkColor> xformed(count); in onDrawVerticesObject() local
98 fXformer->apply(xformed.begin(), vertices->colors(), count); in onDrawVerticesObject()
100 vertices->texCoords(), xformed.begin(), in onDrawVerticesObject()
179 SkSTArray<8, SkColor> xformed; in onDrawAtlas() local
181 xformed.reset(count); in onDrawAtlas()
182 fXformer->apply(xformed.begin(), colors, count); in onDrawAtlas()
183 colors = xformed.begin(); in onDrawAtlas()
/external/skqp/src/core/
DSkColorSpaceXformer.cpp81 if (auto* xformed = cache->find(key)) { in cachedApply() local
82 return sk_ref_sp(xformed->get()); in cachedApply()
85 auto xformed = applyFunc(src, this); in cachedApply() local
86 cache->set(std::move(key), xformed); in cachedApply()
88 return xformed; in cachedApply()
112 sk_sp<SkImage> xformed = image->makeColorSpace(fDst, SkTransferFunctionBehavior::kIgnore); in apply() local
114 SkASSERT(xformed != image); in apply()
115 return xformed; in apply()
139 void SkColorSpaceXformer::apply(SkColor* xformed, const SkColor* srgb, int n) { in apply() argument
140 SkAssertResult(fFromSRGB->apply(SkColorSpaceXform::kBGRA_8888_ColorFormat, xformed, in apply()
[all …]
DSkColorSpaceXformCanvas.cpp80 SkColor xformed[4]; in onDrawPatch() local
82 fXformer->apply(xformed, colors, 4); in onDrawPatch()
83 colors = xformed; in onDrawPatch()
97 SkSTArray<8, SkColor> xformed(count); in onDrawVerticesObject() local
98 fXformer->apply(xformed.begin(), vertices->colors(), count); in onDrawVerticesObject()
100 vertices->texCoords(), xformed.begin(), in onDrawVerticesObject()
179 SkSTArray<8, SkColor> xformed; in onDrawAtlas() local
181 xformed.reset(count); in onDrawAtlas()
182 fXformer->apply(xformed.begin(), colors, count); in onDrawAtlas()
183 colors = xformed.begin(); in onDrawAtlas()
/external/skia/tests/
DRRectInPathTest.cpp30 SkPath xformed; in path_contains_rrect() local
31 path.transform(m, &xformed); in path_contains_rrect()
35 REPORTER_ASSERT(reporter, SkPathPriv::IsRRect(xformed, &xrr, &xd, &xs)); in path_contains_rrect()
38 REPORTER_ASSERT(reporter, recreatedPath == xformed); in path_contains_rrect()
/external/skqp/tests/
DRRectInPathTest.cpp30 SkPath xformed; in path_contains_rrect() local
31 path.transform(m, &xformed); in path_contains_rrect()
35 REPORTER_ASSERT(reporter, xformed.isRRect(&xrr, &xd, &xs)); in path_contains_rrect()
38 REPORTER_ASSERT(reporter, recreatedPath == xformed); in path_contains_rrect()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Davx-basic.ll55 ;;; Check that some 256-bit vectors are xformed into 128 ops