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