Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkColorSpaceXformer.cpp84 if (auto* xformed = cache->find(key)) { in cachedApply() local
85 return sk_ref_sp(xformed->get()); in cachedApply()
88 auto xformed = applyFunc(src, this); in cachedApply() local
89 cache->set(std::move(key), xformed); in cachedApply()
91 return xformed; in cachedApply()
115 sk_sp<SkImage> xformed = image->makeColorSpace(fDst); in apply() local
117 SkASSERT(xformed != image); in apply()
118 return xformed; in apply()
142 void SkColorSpaceXformer::apply(SkColor* xformed, const SkColor* srgb, int n) { in apply() argument
144 fFromSRGBDst.pixels = xformed; in apply()
[all …]
DSkColorSpaceXformCanvas.cpp85 SkColor xformed[4]; in onDrawPatch() local
87 fXformer->apply(xformed, colors, 4); in onDrawPatch()
88 colors = xformed; in onDrawPatch()
103 SkSTArray<8, SkColor> xformed(count); in onDrawVerticesObject() local
104 fXformer->apply(xformed.begin(), vertices->colors(), count); in onDrawVerticesObject()
106 vertices->texCoords(), xformed.begin(), in onDrawVerticesObject()
174 SkSTArray<8, SkColor> xformed; in onDrawAtlas() local
176 xformed.reset(count); in onDrawAtlas()
177 fXformer->apply(xformed.begin(), colors, count); in onDrawAtlas()
178 colors = xformed.begin(); in onDrawAtlas()
/external/skqp/src/core/
DSkColorSpaceXformer.cpp84 if (auto* xformed = cache->find(key)) { in cachedApply() local
85 return sk_ref_sp(xformed->get()); in cachedApply()
88 auto xformed = applyFunc(src, this); in cachedApply() local
89 cache->set(std::move(key), xformed); in cachedApply()
91 return xformed; in cachedApply()
115 sk_sp<SkImage> xformed = image->makeColorSpace(fDst); in apply() local
117 SkASSERT(xformed != image); in apply()
118 return xformed; in apply()
142 void SkColorSpaceXformer::apply(SkColor* xformed, const SkColor* srgb, int n) { in apply() argument
144 fFromSRGBDst.pixels = xformed; in apply()
[all …]
DSkColorSpaceXformCanvas.cpp85 SkColor xformed[4]; in onDrawPatch() local
87 fXformer->apply(xformed, colors, 4); in onDrawPatch()
88 colors = xformed; in onDrawPatch()
103 SkSTArray<8, SkColor> xformed(count); in onDrawVerticesObject() local
104 fXformer->apply(xformed.begin(), vertices->colors(), count); in onDrawVerticesObject()
106 vertices->texCoords(), xformed.begin(), in onDrawVerticesObject()
174 SkSTArray<8, SkColor> xformed; in onDrawAtlas() local
176 xformed.reset(count); in onDrawAtlas()
177 fXformer->apply(xformed.begin(), colors, count); in onDrawAtlas()
178 colors = xformed.begin(); in onDrawAtlas()
/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, SkPathPriv::IsRRect(xformed, &xrr, &xd, &xs)); in path_contains_rrect()
38 REPORTER_ASSERT(reporter, recreatedPath == xformed); in path_contains_rrect()
/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/swiftshader/third_party/LLVM/test/CodeGen/X86/
Davx-basic.ll55 ;;; Check that some 256-bit vectors are xformed into 128 ops