Searched refs:origInfo (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/core/ |
D | SkBitmapDevice.cpp | 72 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo, in Create() argument 74 SkAlphaType newAT = origInfo.alphaType(); in Create() 75 if (!valid_for_bitmap_device(origInfo, &newAT)) { in Create() 79 const SkImageInfo info = origInfo.makeAlphaType(newAT); in Create()
|
D | SkCanvas.cpp | 774 bool SkCanvas::writePixels(const SkImageInfo& origInfo, const void* pixels, size_t rowBytes, in writePixels() argument 776 switch (origInfo.colorType()) { in writePixels() 783 if (NULL == pixels || rowBytes < origInfo.minRowBytes()) { in writePixels() 788 SkIRect target = SkIRect::MakeXYWH(x, y, origInfo.width(), origInfo.height()); in writePixels() 799 const SkImageInfo info = origInfo.makeWH(target.width(), target.height()); in writePixels()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 174 const SkImageInfo& origInfo, int sampleCount) { in CreateRenderTarget() argument 175 if (kUnknown_SkColorType == origInfo.colorType() || in CreateRenderTarget() 176 origInfo.width() < 0 || origInfo.height() < 0) { in CreateRenderTarget() 184 SkColorType ct = origInfo.colorType(); in CreateRenderTarget() 185 SkAlphaType at = origInfo.alphaType(); in CreateRenderTarget() 195 const SkImageInfo info = SkImageInfo::Make(origInfo.width(), origInfo.height(), ct, at); in CreateRenderTarget()
|