Searched refs:origInfo (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapDevice.cpp73 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 DSkCanvas.cpp686 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 DSkCanvas.cpp660 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 DSkBitmapDevice.cpp71 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo, argument
73 SkImageInfo info = origInfo;
H A DSkBitmap.cpp186 bool SkBitmap::setInfo(const SkImageInfo& origInfo, size_t rowBytes) { argument
187 SkImageInfo info = origInfo;
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGpuDevice.cpp166 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 DSkGpuDevice.cpp197 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