Home
last modified time | relevance | path

Searched refs:filterPtr (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DPaintImageFilterTest.cpp53 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_unscaled() local
55 for (int x = 0; x < r.width(); ++x, ++filterPtr, ++paintPtr) { in test_unscaled()
56 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr); in test_unscaled()
101 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_scaled() local
103 for (int x = 0; x < r.width(); ++x, ++filterPtr, ++paintPtr) { in test_scaled()
104 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr); in test_scaled()
/external/skqp/tests/
DPaintImageFilterTest.cpp53 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_unscaled() local
55 for (int x = 0; x < r.width(); ++x, ++filterPtr, ++paintPtr) { in test_unscaled()
56 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr); in test_unscaled()
101 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_scaled() local
103 for (int x = 0; x < r.width(); ++x, ++filterPtr, ++paintPtr) { in test_scaled()
104 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr); in test_scaled()
/external/skqp/include/core/
DSkImageFilter.h183 bool isColorFilterNode(SkColorFilter** filterPtr) const { in isColorFilterNode() argument
184 return this->onIsColorFilterNode(filterPtr); in isColorFilterNode()
188 bool asColorFilter(SkColorFilter** filterPtr) const { in asColorFilter() argument
189 return this->isColorFilterNode(filterPtr); in asColorFilter()
199 bool asAColorFilter(SkColorFilter** filterPtr) const;
/external/skia/include/core/
DSkImageFilter.h183 bool isColorFilterNode(SkColorFilter** filterPtr) const { in isColorFilterNode() argument
184 return this->onIsColorFilterNode(filterPtr); in isColorFilterNode()
188 bool asColorFilter(SkColorFilter** filterPtr) const { in asColorFilter() argument
189 return this->isColorFilterNode(filterPtr); in asColorFilter()
199 bool asAColorFilter(SkColorFilter** filterPtr) const;
/external/skqp/src/core/
DSkImageFilter.cpp276 bool SkImageFilter::asAColorFilter(SkColorFilter** filterPtr) const { in asAColorFilter()
277 SkASSERT(nullptr != filterPtr); in asAColorFilter()
278 if (!this->isColorFilterNode(filterPtr)) { in asAColorFilter()
281 if (nullptr != this->getInput(0) || (*filterPtr)->affectsTransparentBlack()) { in asAColorFilter()
282 (*filterPtr)->unref(); in asAColorFilter()
/external/skia/src/core/
DSkImageFilter.cpp279 bool SkImageFilter::asAColorFilter(SkColorFilter** filterPtr) const { in asAColorFilter()
280 SkASSERT(nullptr != filterPtr); in asAColorFilter()
281 if (!this->isColorFilterNode(filterPtr)) { in asAColorFilter()
284 if (nullptr != this->getInput(0) || (*filterPtr)->affectsTransparentBlack()) { in asAColorFilter()
285 (*filterPtr)->unref(); in asAColorFilter()