Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmap.cpp709 bool SkBitmap::canCopyTo(Config dstConfig) const { in canCopyTo()
714 bool sameConfigs = (this->config() == dstConfig); in canCopyTo()
715 switch (dstConfig) { in canCopyTo()
739 bool SkBitmap::copyTo(SkBitmap* dst, Config dstConfig, Allocator* alloc) const { in copyTo() argument
740 if (!this->canCopyTo(dstConfig)) { in copyTo()
751 tmp.setConfig(dstConfig, this->width(), this->height()); in copyTo()
754 SkColorTable* ctable = (dstConfig == kIndex8_Config) ? in copyTo()
769 if (this->config() == dstConfig) { in copyTo()