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