Searched refs:origInfo (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapDevice.cpp | 73 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo, argument 75 SkAlphaType newAT = origInfo.alphaType(); 76 if (!valid_for_bitmap_device(origInfo, &newAT)) { 80 const SkImageInfo info = origInfo.makeAlphaType(newAT);
|
H A D | SkCanvas.cpp | 686 bool SkCanvas::readPixels(const SkImageInfo& origInfo, void* dstP, size_t rowBytes, int x, int y) { argument 687 switch (origInfo.colorType()) { 694 if (NULL == dstP || rowBytes < origInfo.minRowBytes()) { 697 if (0 == origInfo.width() || 0 == origInfo.height()) { 707 SkIRect srcR = SkIRect::MakeXYWH(x, y, origInfo.width(), origInfo.height()); 713 const SkImageInfo info = origInfo.makeWH(srcR.width(), srcR.height()); 741 bool SkCanvas::writePixels(const SkImageInfo& origInfo, const void* pixels, size_t rowBytes, argument 743 switch (origInfo [all...] |
/external/skia/src/core/ |
H A D | SkCanvas.cpp | 660 bool SkCanvas::readPixels(const SkImageInfo& origInfo, void* dstP, size_t rowBytes, int x, int y) { argument 661 switch (origInfo.colorType()) { 668 if (NULL == dstP || rowBytes < origInfo.minRowBytes()) { 671 if (0 == origInfo.width() || 0 == origInfo.height()) { 681 SkIRect srcR = SkIRect::MakeXYWH(x, y, origInfo.width(), origInfo.height()); 686 SkImageInfo info = origInfo; 717 bool SkCanvas::writePixels(const SkImageInfo& origInfo, const void* pixels, size_t rowBytes, argument 719 switch (origInfo [all...] |
H A D | SkBitmapDevice.cpp | 71 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo, argument 73 SkImageInfo info = origInfo;
|
H A D | SkBitmap.cpp | 186 bool SkBitmap::setInfo(const SkImageInfo& origInfo, size_t rowBytes) { argument 187 SkImageInfo info = origInfo;
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | SkGpuDevice.cpp | 166 SkGpuDevice* SkGpuDevice::Create(GrContext* context, const SkImageInfo& origInfo, argument 168 if (kUnknown_SkColorType == origInfo.colorType() || 169 origInfo.width() < 0 || origInfo.height() < 0) { 173 SkColorType ct = origInfo.colorType(); 174 SkAlphaType at = origInfo.alphaType(); 185 const SkImageInfo info = SkImageInfo::Make(origInfo.width(), origInfo.height(), ct, at);
|
/external/skia/src/gpu/ |
H A D | SkGpuDevice.cpp | 197 SkGpuDevice* SkGpuDevice::Create(GrContext* context, const SkImageInfo& origInfo, argument 199 if (kUnknown_SkColorType == origInfo.colorType() || 200 origInfo.width() < 0 || origInfo.height() < 0) { 204 SkImageInfo info = origInfo;
|
Completed in 1324 milliseconds