Searched refs:origInfo (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/core/ |
D | SkBitmapDevice.cpp | 86 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo, in Create() argument 88 SkAlphaType newAT = origInfo.alphaType(); in Create() 89 if (!valid_for_bitmap_device(origInfo, &newAT)) { in Create() 93 const SkImageInfo info = origInfo.makeAlphaType(newAT); in Create()
|
D | SkCanvas.cpp | 917 bool SkCanvas::writePixels(const SkImageInfo& origInfo, const void* pixels, size_t rowBytes, in writePixels() argument 919 switch (origInfo.colorType()) { in writePixels() 926 if (nullptr == pixels || rowBytes < origInfo.minRowBytes()) { in writePixels() 931 SkIRect target = SkIRect::MakeXYWH(x, y, origInfo.width(), origInfo.height()); in writePixels() 942 const SkImageInfo info = origInfo.makeWH(target.width(), target.height()); in writePixels()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 189 GrContext* context, SkBudgeted budgeted, const SkImageInfo& origInfo, in CreateRenderTarget() argument 191 if (kUnknown_SkColorType == origInfo.colorType() || in CreateRenderTarget() 192 origInfo.width() < 0 || origInfo.height() < 0) { in CreateRenderTarget() 200 SkColorType ct = origInfo.colorType(); in CreateRenderTarget() 201 SkAlphaType at = origInfo.alphaType(); in CreateRenderTarget() 211 const SkImageInfo info = SkImageInfo::Make(origInfo.width(), origInfo.height(), ct, at); in CreateRenderTarget()
|