HomeSort by relevance Sort by last modified time
    Searched refs:fullSizeImage (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ImageFrameGenerator.cpp 148 const ScaledImageFragment* ImageFrameGenerator::tryToScale(const ScaledImageFragment* fullSizeImage, const SkISize& scaledSize, size_t index)
157 if (!fullSizeImage && !ImageDecodingStore::instance()->lockCache(this, m_fullSize, index, &fullSizeImage))
164 SkBitmap scaledBitmap = skia::ImageOperations::Resize(fullSizeImage->bitmap(), resizeMethod(), scaledSize.width(), scaledSize.height(), m_allocator.get());
167 if (fullSizeImage->isComplete())
168 scaledImage = ScaledImageFragment::createComplete(scaledSize, fullSizeImage->index(), scaledBitmap);
170 scaledImage = ScaledImageFragment::createPartial(scaledSize, fullSizeImage->index(), nextGenerationId(), scaledBitmap);
171 ImageDecodingStore::instance()->unlockCache(this, fullSizeImage);
183 OwnPtr<ScaledImageFragment> fullSizeImage = decode(index, &decoder);
195 if (!fullSizeImage) {
    [all...]
ImageFrameGenerator.h 99 const ScaledImageFragment* tryToScale(const ScaledImageFragment* fullSizeImage, const SkISize& scaledSize, size_t index);

Completed in 352 milliseconds