bitmap 85 Source/core/clipboard/Pasteboard.cpp RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame(); bitmap 86 Source/core/clipboard/Pasteboard.cpp if (!bitmap) bitmap 89 Source/core/clipboard/Pasteboard.cpp blink::WebImage webImage = bitmap->bitmap(); bitmap 36 Source/core/frame/ImageBitmap.cpp image->nativeImageForCurrentFrame()->bitmap().extractSubset(&cropped, intersectRect); bitmap 114 Source/core/frame/ImageBitmap.cpp ImageBitmap::ImageBitmap(ImageBitmap* bitmap, const IntRect& cropRect) bitmap 115 Source/core/frame/ImageBitmap.cpp : m_imageElement(bitmap->imageElement()) bitmap 120 Source/core/frame/ImageBitmap.cpp IntRect oldBitmapRect = bitmap->bitmapRect(); bitmap 127 Source/core/frame/ImageBitmap.cpp } else if (bitmap->bitmapImage()) { bitmap 129 Source/core/frame/ImageBitmap.cpp m_bitmap = cropImage(bitmap->bitmapImage().get(), adjustedCropRect); bitmap 176 Source/core/frame/ImageBitmap.cpp PassRefPtrWillBeRawPtr<ImageBitmap> ImageBitmap::create(ImageBitmap* bitmap, const IntRect& cropRect) bitmap 179 Source/core/frame/ImageBitmap.cpp return adoptRefWillBeNoop(new ImageBitmap(bitmap, normalizedCropRect)); bitmap 199 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageBitmap->bitmapImage()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels(), bitmap 200 Source/core/frame/ImageBitmapTest.cpp originalImageResource->image()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels()); bitmap 203 Source/core/frame/ImageBitmapTest.cpp ASSERT_NE(imageBitmap->bitmapImage()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels(), bitmap 204 Source/core/frame/ImageBitmapTest.cpp newImageResource->image()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels()); bitmap 240 Source/core/svg/graphics/filters/SVGFEImage.cpp RefPtr<SkImageFilter> result = adoptRef(new SkBitmapSource(m_image->nativeImageForCurrentFrame()->bitmap(), srcRect, dstRect)); bitmap 248 Source/modules/imagebitmap/ImageBitmapFactories.cpp ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, ImageBitmap* bitmap, ExceptionState& exceptionState) bitmap 250 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, bitmap, 0, 0, bitmap->width(), bitmap->height(), exceptionState); bitmap 253 Source/modules/imagebitmap/ImageBitmapFactories.cpp ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, ImageBitmap* bitmap, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) bitmap 255 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!bitmap) { bitmap 264 Source/modules/imagebitmap/ImageBitmapFactories.cpp return fulfillImageBitmap(eventTarget.executionContext(), ImageBitmap::create(bitmap, IntRect(sx, sy, sw, sh))); bitmap 74 Source/platform/DragImage.cpp RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame(); bitmap 75 Source/platform/DragImage.cpp if (!bitmap) bitmap 97 Source/platform/DragImage.cpp canvas.drawBitmapRect(bitmap->bitmap(), 0, destRect); bitmap 104 Source/platform/DragImage.cpp if (!bitmap->bitmap().copyTo(&skBitmap, kPMColor_SkColorType)) bitmap 202 Source/platform/DragImage.cpp DragImage::DragImage(const SkBitmap& bitmap, float resolutionScale) bitmap 203 Source/platform/DragImage.cpp : m_bitmap(bitmap) bitmap 46 Source/platform/DragImage.h const SkBitmap& bitmap() { return m_bitmap; } bitmap 65 Source/platform/DragImageTest.cpp SkBitmap bitmap; bitmap 66 Source/platform/DragImageTest.cpp EXPECT_TRUE(bitmap.allocN32Pixels(size.width(), size.height())); bitmap 67 Source/platform/DragImageTest.cpp m_nativeImage = NativeImageSkia::create(bitmap); bitmap 140 Source/platform/DragImageTest.cpp SkAutoLockPixels lock1(dragImage->bitmap()), lock2(testImage->nativeImageForCurrentFrame()->bitmap()); bitmap 141 Source/platform/DragImageTest.cpp EXPECT_NE(dragImage->bitmap().getPixels(), testImage->nativeImageForCurrentFrame()->bitmap().getPixels()); bitmap 93 Source/platform/exported/WebImageSkia.cpp return WebImage(image->bitmap()); bitmap 128 Source/platform/exported/WebImageSkia.cpp frames.append(WebImage(image->bitmap())); bitmap 163 Source/platform/exported/WebImageSkia.cpp assign(p->bitmap()); bitmap 66 Source/platform/graphics/BitmapImage.cpp , m_size(nativeImage->bitmap().width(), nativeImage->bitmap().height()) bitmap 87 Source/platform/graphics/BitmapImage.cpp m_frames[0].m_hasAlpha = !nativeImage->bitmap().isOpaque(); bitmap 268 Source/platform/graphics/BitmapImage.cpp normSrcRect.intersect(FloatRect(0, 0, bm->bitmap().width(), bm->bitmap().height())); bitmap 598 Source/platform/graphics/BitmapImage.cpp SkAutoLockPixels lock(frame->bitmap()); bitmap 599 Source/platform/graphics/BitmapImage.cpp if (!frame->bitmap().getPixels()) bitmap 603 Source/platform/graphics/BitmapImage.cpp m_solidColor = Color(frame->bitmap().getColor(0, 0)); bitmap 376 Source/platform/graphics/Canvas2DLayerBridge.cpp bool Canvas2DLayerBridge::prepareMailbox(blink::WebExternalTextureMailbox* outMailbox, blink::WebExternalBitmap* bitmap) bitmap 379 Source/platform/graphics/Canvas2DLayerBridge.cpp if (bitmap) { bitmap 148 Source/platform/graphics/Canvas2DLayerBridgeTest.cpp NullWebExternalBitmap bitmap; bitmap 149 Source/platform/graphics/Canvas2DLayerBridgeTest.cpp bridge->prepareMailbox(0, &bitmap); bitmap 75 Source/platform/graphics/DeferredImageDecoder.cpp bool DeferredImageDecoder::isLazyDecoded(const SkBitmap& bitmap) bitmap 77 Source/platform/graphics/DeferredImageDecoder.cpp return bitmap.pixelRef() bitmap 78 Source/platform/graphics/DeferredImageDecoder.cpp && bitmap.pixelRef()->getURI() bitmap 79 Source/platform/graphics/DeferredImageDecoder.cpp && (!memcmp(bitmap.pixelRef()->getURI(), labelLazyDecoded, sizeof(labelLazyDecoded)) bitmap 80 Source/platform/graphics/DeferredImageDecoder.cpp || !memcmp(bitmap.pixelRef()->getURI(), labelDiscardable, sizeof(labelDiscardable))); bitmap 287 Source/platform/graphics/DeferredImageDecoder.cpp SkBitmap bitmap; bitmap 289 Source/platform/graphics/DeferredImageDecoder.cpp bool installed = SkInstallDiscardablePixelRef(generator, &bitmap); bitmap 291 Source/platform/graphics/DeferredImageDecoder.cpp bitmap.pixelRef()->setURI(labelDiscardable); bitmap 292 Source/platform/graphics/DeferredImageDecoder.cpp generator->setGenerationId(bitmap.getGenerationID()); bitmap 293 Source/platform/graphics/DeferredImageDecoder.cpp return bitmap; bitmap 309 Source/platform/graphics/DeferredImageDecoder.cpp SkBitmap bitmap; bitmap 310 Source/platform/graphics/DeferredImageDecoder.cpp bitmap.setConfig(info); bitmap 311 Source/platform/graphics/DeferredImageDecoder.cpp bitmap.setPixelRef(new LazyDecodingPixelRef(info, m_frameGenerator, index))->unref(); bitmap 315 Source/platform/graphics/DeferredImageDecoder.cpp bitmap.pixelRef()->setURI(labelLazyDecoded); bitmap 319 Source/platform/graphics/DeferredImageDecoder.cpp bitmap.setImmutable(); bitmap 321 Source/platform/graphics/DeferredImageDecoder.cpp return bitmap; bitmap 154 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().width()); bitmap 155 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().height()); bitmap 156 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_FALSE(image->bitmap().isNull()); bitmap 157 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_TRUE(image->bitmap().isImmutable()); bitmap 160 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); bitmap 182 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); bitmap 190 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); bitmap 210 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().width()); bitmap 211 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().height()); bitmap 212 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_FALSE(image->bitmap().isNull()); bitmap 213 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_TRUE(image->bitmap().isImmutable()); bitmap 216 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); bitmap 312 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(m_decodedSize.width(), image->bitmap().width()); bitmap 313 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(m_decodedSize.height(), image->bitmap().height()); bitmap 314 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_FALSE(image->bitmap().isNull()); bitmap 315 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_TRUE(image->bitmap().isImmutable()); bitmap 321 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); bitmap 777 Source/platform/graphics/GraphicsContext.cpp SkBitmap bitmap; bitmap 778 Source/platform/graphics/GraphicsContext.cpp if (!bitmap.allocN32Pixels(rowPixels, colPixels)) bitmap 781 Source/platform/graphics/GraphicsContext.cpp bitmap.eraseARGB(0, 0, 0, 0); bitmap 794 Source/platform/graphics/GraphicsContext.cpp uint32_t* row = bitmap.getAddr32(0, x); bitmap 815 Source/platform/graphics/GraphicsContext.cpp uint32_t* row = bitmap.getAddr32(0, x); bitmap 828 Source/platform/graphics/GraphicsContext.cpp misspellBitmap[index] = new SkBitmap(bitmap); bitmap 835 Source/platform/graphics/GraphicsContext.cpp SkBitmap bitmap; bitmap 836 Source/platform/graphics/GraphicsContext.cpp if (!bitmap.allocN32Pixels(rowPixels, colPixels)) bitmap 839 Source/platform/graphics/GraphicsContext.cpp bitmap.eraseARGB(0, 0, 0, 0); bitmap 841 Source/platform/graphics/GraphicsContext.cpp draw1xMarker(&bitmap, index); bitmap 843 Source/platform/graphics/GraphicsContext.cpp draw2xMarker(&bitmap, index); bitmap 847 Source/platform/graphics/GraphicsContext.cpp misspellBitmap[index] = new SkBitmap(bitmap); bitmap 1135 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::writePixels(const SkBitmap& bitmap, int x, int y) bitmap 1140 Source/platform/graphics/GraphicsContext.cpp if (!bitmap.getTexture()) { bitmap 1141 Source/platform/graphics/GraphicsContext.cpp SkAutoLockPixels alp(bitmap); bitmap 1142 Source/platform/graphics/GraphicsContext.cpp if (bitmap.getPixels()) bitmap 1143 Source/platform/graphics/GraphicsContext.cpp writePixels(bitmap.info(), bitmap.getPixels(), bitmap.rowBytes(), x, y); bitmap 1147 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, const SkPaint* paint) bitmap 1152 Source/platform/graphics/GraphicsContext.cpp m_canvas->drawBitmap(bitmap, left, top, paint); bitmap 1155 Source/platform/graphics/GraphicsContext.cpp SkRect rect = SkRect::MakeXYWH(left, top, bitmap.width(), bitmap.height()); bitmap 1156 Source/platform/graphics/GraphicsContext.cpp m_opaqueRegion.didDrawRect(this, rect, *paint, &bitmap); bitmap 1160 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawBitmapRect(const SkBitmap& bitmap, const SkRect* src, bitmap 1169 Source/platform/graphics/GraphicsContext.cpp m_canvas->drawBitmapRectToRect(bitmap, src, dst, paint, flags); bitmap 1172 Source/platform/graphics/GraphicsContext.cpp m_opaqueRegion.didDrawRect(this, dst, *paint, &bitmap); bitmap 1208 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::didDrawRect(const SkRect& rect, const SkPaint& paint, const SkBitmap* bitmap) bitmap 1214 Source/platform/graphics/GraphicsContext.cpp m_opaqueRegion.didDrawRect(this, rect, paint, bitmap); bitmap 1818 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::draw2xMarker(SkBitmap* bitmap, int index) bitmap 1824 Source/platform/graphics/GraphicsContext.cpp uint32_t* row1 = bitmap->getAddr32(0, 0); bitmap 1825 Source/platform/graphics/GraphicsContext.cpp uint32_t* row2 = bitmap->getAddr32(0, 1); bitmap 1826 Source/platform/graphics/GraphicsContext.cpp uint32_t* row3 = bitmap->getAddr32(0, 2); bitmap 1827 Source/platform/graphics/GraphicsContext.cpp uint32_t* row4 = bitmap->getAddr32(0, 3); bitmap 1838 Source/platform/graphics/GraphicsContext.cpp for (int x = 0; x < bitmap->width() + 8; x += 8) { bitmap 1839 Source/platform/graphics/GraphicsContext.cpp int count = std::min(bitmap->width() - x, 8); bitmap 1849 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::draw1xMarker(SkBitmap* bitmap, int index) bitmap 1856 Source/platform/graphics/GraphicsContext.cpp uint32_t* row1 = bitmap->getAddr32(0, 0); bitmap 1857 Source/platform/graphics/GraphicsContext.cpp uint32_t* row2 = bitmap->getAddr32(0, 1); bitmap 1858 Source/platform/graphics/GraphicsContext.cpp for (int x = 0; x < bitmap->width(); x++) { bitmap 106 Source/platform/graphics/GraphicsContextRecorder.cpp const SkBitmap& bitmap = canvas()->getDevice()->accessBitmap(true); bitmap 107 Source/platform/graphics/GraphicsContextRecorder.cpp bitmap.eraseARGB(0, 0, 0, 0); // FIXME: get layers background color, it might make resulting image a bit more plausable. bitmap 47 Source/platform/graphics/GraphicsContextTest.cpp #define EXPECT_PIXELS_MATCH(bitmap, opaqueRect) \ bitmap 49 Source/platform/graphics/GraphicsContextTest.cpp SkAutoLockPixels locker(bitmap); \ bitmap 52 Source/platform/graphics/GraphicsContextTest.cpp int alpha = *bitmap.getAddr32(x, y) >> 24; \ bitmap 57 Source/platform/graphics/GraphicsContextTest.cpp #define EXPECT_PIXELS_MATCH_EXACT(bitmap, opaqueRect) \ bitmap 59 Source/platform/graphics/GraphicsContextTest.cpp SkAutoLockPixels locker(bitmap); \ bitmap 60 Source/platform/graphics/GraphicsContextTest.cpp for (int y = 0; y < bitmap.height(); ++y) \ bitmap 61 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < bitmap.width(); ++x) { \ bitmap 62 Source/platform/graphics/GraphicsContextTest.cpp int alpha = *bitmap.getAddr32(x, y) >> 24; \ bitmap 70 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 71 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 72 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 73 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 83 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 87 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 91 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 95 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 99 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 103 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 107 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 111 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 115 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 119 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 123 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 128 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 129 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 130 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 140 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 149 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 159 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 168 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 180 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 192 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 207 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 216 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 222 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 223 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 224 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 225 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 254 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); bitmap 259 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 260 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 261 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 262 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 294 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); bitmap 299 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 300 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 301 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 311 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 316 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 321 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 326 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 331 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 336 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 341 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 346 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 351 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 356 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 357 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 358 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 359 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 376 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 385 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 392 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 399 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 406 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 413 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 422 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 430 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 438 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 445 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 450 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 451 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 452 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 462 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 478 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 486 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 494 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 502 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 508 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 509 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 510 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 538 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 542 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 545 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 549 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 552 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 556 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 559 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 563 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 570 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 574 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 578 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 585 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 590 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 591 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 592 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 593 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 602 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 606 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 610 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 619 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 624 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 631 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 636 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 641 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 642 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 643 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 653 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 657 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 661 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 668 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 672 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 676 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 680 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 686 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 687 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(width, height)); bitmap 688 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 689 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 713 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 717 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 721 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 725 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 729 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 733 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 737 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 741 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 745 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 750 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 751 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 752 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 753 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 777 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 781 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 785 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 789 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 793 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 797 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 802 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 803 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 804 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 805 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 829 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 833 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 837 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 841 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 845 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 849 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 854 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 855 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 856 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 857 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 881 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 885 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 889 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 893 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 897 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 902 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 903 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 904 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 905 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 913 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 936 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 937 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 938 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 939 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 963 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); bitmap 976 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); bitmap 981 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 982 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 983 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 984 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 1008 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); bitmap 1030 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); bitmap 1041 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); bitmap 1056 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); bitmap 1063 Source/platform/graphics/GraphicsContextTest.cpp SkBitmap bitmap; bitmap 1064 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(400, 400)); bitmap 1065 Source/platform/graphics/GraphicsContextTest.cpp bitmap.eraseColor(0); bitmap 1066 Source/platform/graphics/GraphicsContextTest.cpp SkCanvas canvas(bitmap); bitmap 1006 Source/platform/graphics/GraphicsLayer.cpp m_imageLayer->setBitmap(nativeImage->bitmap()); bitmap 1028 Source/platform/graphics/GraphicsLayer.cpp m_ninePatchLayer->setBitmap(nativeImage->bitmap(), aperture); bitmap 229 Source/platform/graphics/Image.cpp if (RefPtr<NativeImageSkia> bitmap = nativeImageForCurrentFrame()) bitmap 230 Source/platform/graphics/Image.cpp bitmap->drawPattern(context, adjustForNegativeSize(floatSrcRect), scale, phase, compositeOp, destRect, blendMode, repeatSpacing); bitmap 106 Source/platform/graphics/ImageBuffer.cpp return m_surface->bitmap(); bitmap 125 Source/platform/graphics/ImageBuffer.cpp static SkBitmap deepSkBitmapCopy(const SkBitmap& bitmap) bitmap 128 Source/platform/graphics/ImageBuffer.cpp if (!bitmap.deepCopyTo(&tmp)) bitmap 129 Source/platform/graphics/ImageBuffer.cpp bitmap.copyTo(&tmp, bitmap.colorType()); bitmap 139 Source/platform/graphics/ImageBuffer.cpp const SkBitmap& bitmap = m_surface->bitmap(); bitmap 140 Source/platform/graphics/ImageBuffer.cpp return BitmapImage::create(NativeImageSkia::create(copyBehavior == CopyBackingStore ? deepSkBitmapCopy(bitmap) : bitmap)); bitmap 239 Source/platform/graphics/ImageBuffer.cpp SkBitmap bitmap = m_surface->bitmap(); bitmap 244 Source/platform/graphics/ImageBuffer.cpp bitmap = m_surface->cachedBitmap(); bitmap 247 Source/platform/graphics/ImageBuffer.cpp RefPtr<Image> image = BitmapImage::create(NativeImageSkia::create(drawNeedsCopy(m_context.get(), context) ? deepSkBitmapCopy(bitmap) : bitmap)); bitmap 265 Source/platform/graphics/ImageBuffer.cpp const SkBitmap& bitmap = m_surface->bitmap(); bitmap 266 Source/platform/graphics/ImageBuffer.cpp RefPtr<Image> image = BitmapImage::create(NativeImageSkia::create(drawNeedsCopy(m_context.get(), context) ? deepSkBitmapCopy(bitmap) : bitmap)); bitmap 280 Source/platform/graphics/ImageBuffer.cpp const SkBitmap& bitmap = m_surface->bitmap(); bitmap 281 Source/platform/graphics/ImageBuffer.cpp if (bitmap.isNull()) bitmap 284 Source/platform/graphics/ImageBuffer.cpp ASSERT(bitmap.colorType() == kPMColor_SkColorType); bitmap 286 Source/platform/graphics/ImageBuffer.cpp SkAutoLockPixels bitmapLock(bitmap); bitmap 288 Source/platform/graphics/ImageBuffer.cpp uint32_t* srcRow = bitmap.getAddr32(0, y); bitmap 407 Source/platform/graphics/ImageBuffer.cpp if (!isSurfaceValid() || !encodeImage(m_surface->bitmap(), mimeType, quality, &encodedImage)) bitmap 96 Source/platform/graphics/ImageBuffer.h const SkBitmap& bitmap() const; bitmap 60 Source/platform/graphics/ImageBufferSurface.h virtual const SkBitmap& bitmap() const; bitmap 110 Source/platform/graphics/ImageDecodingStore.cpp cachedImage->bitmap().unlockPixels(); bitmap 158 Source/platform/graphics/ImageDecodingStore.cpp newImage->bitmap().lockPixels(); bitmap 340 Source/platform/graphics/ImageDecodingStore.cpp image->bitmap().lockPixels(); bitmap 344 Source/platform/graphics/ImageDecodingStore.cpp if (!image->bitmap().getPixels()) { bitmap 345 Source/platform/graphics/ImageDecodingStore.cpp image->bitmap().unlockPixels(); bitmap 203 Source/platform/graphics/ImageDecodingStore.h : CacheEntry(generator, count, DiscardablePixelRef::isDiscardable(image->bitmap().pixelRef())) bitmap 210 Source/platform/graphics/ImageDecodingStore.h virtual size_t memoryUsageInBytes() const OVERRIDE { return cachedImage()->bitmap().getSafeSize(); } bitmap 79 Source/platform/graphics/ImageDecodingStoreTest.cpp SkBitmap bitmap; bitmap 80 Source/platform/graphics/ImageDecodingStoreTest.cpp bitmap.setConfig(SkImageInfo::MakeN32Premul(size)); bitmap 82 Source/platform/graphics/ImageDecodingStoreTest.cpp bitmap.allocPixels(); bitmap 85 Source/platform/graphics/ImageDecodingStoreTest.cpp bitmap.allocPixels(&mockDiscardableAllocator, 0); bitmap 87 Source/platform/graphics/ImageDecodingStoreTest.cpp return ScaledImageFragment::createComplete(size, index, bitmap); bitmap 92 Source/platform/graphics/ImageDecodingStoreTest.cpp SkBitmap bitmap; bitmap 93 Source/platform/graphics/ImageDecodingStoreTest.cpp bitmap.setConfig(SkImageInfo::MakeN32Premul(size)); bitmap 95 Source/platform/graphics/ImageDecodingStoreTest.cpp bitmap.allocPixels(); bitmap 98 Source/platform/graphics/ImageDecodingStoreTest.cpp bitmap.allocPixels(&mockDiscardableAllocator, 0); bitmap 100 Source/platform/graphics/ImageDecodingStoreTest.cpp return ScaledImageFragment::createPartial(size, 0, generation, bitmap); bitmap 415 Source/platform/graphics/ImageDecodingStoreTest.cpp MockDiscardablePixelRef* pixelRef = static_cast<MockDiscardablePixelRef*>(refImage->bitmap().pixelRef()); bitmap 429 Source/platform/graphics/ImageDecodingStoreTest.cpp MockDiscardablePixelRef* pixelRef = static_cast<MockDiscardablePixelRef*>(cachedImage->bitmap().pixelRef()); bitmap 164 Source/platform/graphics/ImageFrameGenerator.cpp ASSERT(cachedImage->bitmap().width() == scaledSize.width()); bitmap 165 Source/platform/graphics/ImageFrameGenerator.cpp ASSERT(cachedImage->bitmap().height() == scaledSize.height()); bitmap 170 Source/platform/graphics/ImageFrameGenerator.cpp if (cachedImage->bitmap().getPixels() != pixels) bitmap 171 Source/platform/graphics/ImageFrameGenerator.cpp result = cachedImage->bitmap().copyPixelsTo(pixels, rowBytes * info.fHeight, rowBytes); bitmap 227 Source/platform/graphics/ImageFrameGenerator.cpp ImageDecodingStore::instance()->insertDecoder(this, decoderContainer.release(), DiscardablePixelRef::isDiscardable(cachedImage->bitmap().pixelRef())); bitmap 94 Source/platform/graphics/ImageFrameGeneratorTest.cpp SkBitmap bitmap; bitmap 95 Source/platform/graphics/ImageFrameGeneratorTest.cpp if (!bitmap.allocN32Pixels(size.width(), size.height())) bitmap 97 Source/platform/graphics/ImageFrameGeneratorTest.cpp return ScaledImageFragment::createComplete(size, 0, bitmap); bitmap 251 Source/platform/graphics/ImageFrameGeneratorTest.cpp EXPECT_NE(tempDecoder->frameBufferAtIndex(0)->getSkBitmap().getPixels(), tempImage->bitmap().getPixels()); bitmap 300 Source/platform/graphics/ImageFrameGeneratorTest.cpp virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* colorTable) OVERRIDE bitmap 304 Source/platform/graphics/ImageFrameGeneratorTest.cpp return m_defaultAllocator->allocPixelRef(bitmap, colorTable); bitmap 58 Source/platform/graphics/ImageLayerChromiumTest.cpp SkBitmap bitmap; bitmap 59 Source/platform/graphics/ImageLayerChromiumTest.cpp EXPECT_TRUE(bitmap.allocN32Pixels(size.width(), size.height(), isOpaque)); bitmap 60 Source/platform/graphics/ImageLayerChromiumTest.cpp m_nativeImage = NativeImageSkia::create(bitmap); bitmap 70 Source/platform/graphics/ImageLayerChromiumTest.cpp return m_nativeImage->bitmap().isOpaque(); bitmap 83 Source/platform/graphics/LazyDecodingPixelRef.cpp ASSERT(!m_lockedImageResource->bitmap().isNull()); bitmap 85 Source/platform/graphics/LazyDecodingPixelRef.cpp rec->fPixels = m_lockedImageResource->bitmap().getAddr(0, 0); bitmap 87 Source/platform/graphics/LazyDecodingPixelRef.cpp rec->fRowBytes = m_lockedImageResource->bitmap().rowBytes(); bitmap 64 Source/platform/graphics/Pattern.cpp m_pattern = adoptRef(SkShader::CreateBitmapShader(m_tileImage->bitmap(), SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode)); bitmap 79 Source/platform/graphics/Pattern.cpp SkImageInfo info = m_tileImage->bitmap().info(); bitmap 89 Source/platform/graphics/Pattern.cpp canvas.drawBitmap(m_tileImage->bitmap(), 0, 0); bitmap 36 Source/platform/graphics/ScaledImageFragment.cpp ScaledImageFragment::ScaledImageFragment(const SkISize& scaledSize, size_t index, size_t generation, const SkBitmap& bitmap) bitmap 40 Source/platform/graphics/ScaledImageFragment.cpp , m_bitmap(bitmap) bitmap 46 Source/platform/graphics/ScaledImageFragment.h static PassOwnPtr<ScaledImageFragment> createComplete(const SkISize& scaledSize, size_t index, const SkBitmap& bitmap) bitmap 48 Source/platform/graphics/ScaledImageFragment.h return adoptPtr(new ScaledImageFragment(scaledSize, index, CompleteImage, bitmap)); bitmap 51 Source/platform/graphics/ScaledImageFragment.h static PassOwnPtr<ScaledImageFragment> createPartial(const SkISize& scaledSize, size_t index, size_t generation, const SkBitmap& bitmap) bitmap 53 Source/platform/graphics/ScaledImageFragment.h return adoptPtr(new ScaledImageFragment(scaledSize, index, generation, bitmap)); bitmap 63 Source/platform/graphics/ScaledImageFragment.h const SkBitmap& bitmap() const { return m_bitmap; } bitmap 64 Source/platform/graphics/ScaledImageFragment.h SkBitmap& bitmap() { return m_bitmap; } bitmap 172 Source/platform/graphics/filters/FEColorMatrix.cpp resultImage->context()->drawBitmap(nativeImage->bitmap(), drawingRegion.x(), drawingRegion.y(), &paint); bitmap 172 Source/platform/graphics/filters/FEComponentTransfer.cpp resultImage->context()->drawBitmap(nativeImage->bitmap(), destRect.x(), destRect.y(), &paint); bitmap 103 Source/platform/graphics/filters/FEDropShadow.cpp resultContext->drawBitmap(nativeImage->bitmap(), drawingRegion.x() + offset.width(), drawingRegion.y() + offset.height(), &paint); bitmap 104 Source/platform/graphics/filters/FEDropShadow.cpp resultContext->drawBitmap(nativeImage->bitmap(), drawingRegion.x(), drawingRegion.y()); bitmap 163 Source/platform/graphics/gpu/DrawingBuffer.cpp bool DrawingBuffer::prepareMailbox(blink::WebExternalTextureMailbox* outMailbox, blink::WebExternalBitmap* bitmap) bitmap 174 Source/platform/graphics/gpu/DrawingBuffer.cpp if (bitmap) { bitmap 175 Source/platform/graphics/gpu/DrawingBuffer.cpp bitmap->setSize(size()); bitmap 177 Source/platform/graphics/gpu/DrawingBuffer.cpp unsigned char* pixels = bitmap->pixels(); bitmap 866 Source/platform/graphics/gpu/DrawingBuffer.cpp const SkBitmap& canvasBitmap = imageBuffer->bitmap(); bitmap 134 Source/platform/graphics/gpu/DrawingBufferTest.cpp EXPECT_FALSE(imageBuffer->bitmap().isNull()); bitmap 137 Source/platform/graphics/gpu/DrawingBufferTest.cpp EXPECT_FALSE(imageBuffer->bitmap().isNull()); bitmap 52 Source/platform/graphics/gpu/WebGLImageBufferSurface.h virtual const SkBitmap& bitmap() const OVERRIDE { return m_bitmap; } bitmap 1541 Source/platform/graphics/gpu/WebGLImageConversion.cpp m_skiaImage->bitmap().unlockPixels(); bitmap 1550 Source/platform/graphics/gpu/WebGLImageConversion.cpp bool hasAlpha = m_skiaImage ? !m_skiaImage->bitmap().isOpaque() : true; bitmap 1566 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (!m_nativeImage.get() || !m_nativeImage->isDataComplete() || !m_nativeImage->bitmap().width() || !m_nativeImage->bitmap().height()) bitmap 1568 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (m_nativeImage->bitmap().colorType() != kPMColor_SkColorType) bitmap 1585 Source/platform/graphics/gpu/WebGLImageConversion.cpp m_imageWidth = m_skiaImage->bitmap().width(); bitmap 1586 Source/platform/graphics/gpu/WebGLImageConversion.cpp m_imageHeight = m_skiaImage->bitmap().height(); bitmap 1597 Source/platform/graphics/gpu/WebGLImageConversion.cpp m_skiaImage->bitmap().lockPixels(); bitmap 1598 Source/platform/graphics/gpu/WebGLImageConversion.cpp m_imagePixelData = m_skiaImage->bitmap().getPixels(); bitmap 39 Source/platform/graphics/skia/GaneshUtils.cpp bool ensureTextureBackedSkBitmap(GrContext* gr, SkBitmap& bitmap, const IntSize& size, GrSurfaceOrigin origin, GrPixelConfig config) bitmap 41 Source/platform/graphics/skia/GaneshUtils.cpp if (!bitmap.getTexture() || bitmap.width() != size.width() || bitmap.height() != size.height()) { bitmap 64 Source/platform/graphics/skia/GaneshUtils.cpp bitmap.setConfig(info); bitmap 65 Source/platform/graphics/skia/GaneshUtils.cpp bitmap.setPixelRef(pixelRef)->unref(); bitmap 210 Source/platform/graphics/skia/NativeImageSkia.cpp SkISize imageSize = SkISize::Make(bitmap().width(), bitmap().height()); bitmap 399 Source/platform/graphics/skia/NativeImageSkia.cpp bool isLazyDecoded = DeferredImageDecoder::isLazyDecoded(bitmap()); bitmap 416 Source/platform/graphics/skia/NativeImageSkia.cpp context->drawBitmapRect(bitmap(), &srcRect, destRect, &paint); bitmap 419 Source/platform/graphics/skia/NativeImageSkia.cpp PlatformInstrumentation::didDrawLazyPixelRef(bitmap().getGenerationID()); bitmap 420 Source/platform/graphics/skia/NativeImageSkia.cpp context->didDrawRect(destRect, paint, &bitmap()); bitmap 423 Source/platform/graphics/skia/NativeImageSkia.cpp static SkBitmap createBitmapWithSpace(const SkBitmap& bitmap, int spaceWidth, int spaceHeight) bitmap 425 Source/platform/graphics/skia/NativeImageSkia.cpp SkImageInfo info = bitmap.info(); bitmap 433 Source/platform/graphics/skia/NativeImageSkia.cpp bitmap.copyPixelsTo(reinterpret_cast<uint8_t*>(result.getPixels()), result.rowBytes() * result.height(), result.rowBytes()); bitmap 449 Source/platform/graphics/skia/NativeImageSkia.cpp normSrcRect.intersect(FloatRect(0, 0, bitmap().width(), bitmap().height())); bitmap 479 Source/platform/graphics/skia/NativeImageSkia.cpp bool isLazyDecoded = DeferredImageDecoder::isLazyDecoded(bitmap()); bitmap 513 Source/platform/graphics/skia/NativeImageSkia.cpp bitmap().extractSubset(&srcSubset, enclosingIntRect(normSrcRect)); bitmap 543 Source/platform/graphics/skia/NativeImageSkia.cpp PlatformInstrumentation::didDrawLazyPixelRef(bitmap().getGenerationID()); bitmap 85 Source/platform/graphics/skia/NativeImageSkia.h static PassRefPtr<NativeImageSkia> create(const SkBitmap& bitmap) bitmap 87 Source/platform/graphics/skia/NativeImageSkia.h return adoptRef(new NativeImageSkia(bitmap)); bitmap 108 Source/platform/graphics/skia/NativeImageSkia.h const SkBitmap& bitmap() const { return m_image; } bitmap 125 Source/platform/graphics/skia/OpaqueRegionSkia.cpp static inline bool paintIsOpaque(const SkPaint& paint, OpaqueRegionSkia::DrawType drawType, const SkBitmap* bitmap) bitmap 135 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (bitmap && !bitmap->isOpaque()) bitmap 142 Source/platform/image-decoders/ImageFrame.h void setSkBitmap(const SkBitmap& bitmap) { m_bitmap = bitmap; } bitmap 64 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp unsigned hashSkBitmap(const SkBitmap& bitmap) bitmap 66 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp return StringHasher::hashMemory(bitmap.getPixels(), bitmap.getSize()); bitmap 66 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp unsigned hashSkBitmap(const SkBitmap& bitmap) bitmap 68 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp return StringHasher::hashMemory(bitmap.getPixels(), bitmap.getSize()); bitmap 200 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp bool JPEGImageEncoder::encode(const SkBitmap& bitmap, int quality, Vector<unsigned char>* output) bitmap 202 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp SkAutoLockPixels bitmapLock(bitmap); bitmap 204 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp if (bitmap.colorType() != kPMColor_SkColorType || !bitmap.getPixels()) bitmap 207 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char *>(bitmap.getPixels()), true, quality, output); bitmap 117 Source/platform/image-encoders/skia/PNGImageEncoder.cpp bool PNGImageEncoder::encode(const SkBitmap& bitmap, Vector<unsigned char>* output) bitmap 119 Source/platform/image-encoders/skia/PNGImageEncoder.cpp SkAutoLockPixels bitmapLock(bitmap); bitmap 121 Source/platform/image-encoders/skia/PNGImageEncoder.cpp if (bitmap.colorType() != kPMColor_SkColorType || !bitmap.getPixels()) bitmap 124 Source/platform/image-encoders/skia/PNGImageEncoder.cpp return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char*>(bitmap.getPixels()), true, output); bitmap 118 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp bool WEBPImageEncoder::encode(const SkBitmap& bitmap, int quality, Vector<unsigned char>* output) bitmap 120 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp SkAutoLockPixels bitmapLock(bitmap); bitmap 122 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp if (bitmap.colorType() != kPMColor_SkColorType || !bitmap.getPixels()) bitmap 125 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char *>(bitmap.getPixels()), true, quality, output); bitmap 85 Source/web/DragClientImpl.cpp image = dragImage->bitmap(); bitmap 167 Source/web/WebElement.cpp RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame(); bitmap 168 Source/web/WebElement.cpp if (!bitmap) bitmap 171 Source/web/WebElement.cpp return bitmap->bitmap(); bitmap 114 Source/web/WebImageDecoder.cpp return WebImage(image->bitmap()); bitmap 3761 Source/web/WebViewImpl.cpp m_layerTreeView->setOverhangBitmap(overhangImage->nativeImageForCurrentFrame()->bitmap()); bitmap 2114 Source/web/tests/WebFrameTest.cpp SkBitmap bitmap; bitmap 2115 Source/web/tests/WebFrameTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(200, 200)); bitmap 2116 Source/web/tests/WebFrameTest.cpp bitmap.eraseColor(0); bitmap 2117 Source/web/tests/WebFrameTest.cpp SkCanvas canvas(bitmap); bitmap 287 Source/web/tests/WebViewTest.cpp SkBitmap bitmap; bitmap 288 Source/web/tests/WebViewTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(kWidth, kHeight)); bitmap 289 Source/web/tests/WebViewTest.cpp SkCanvas canvas(bitmap); bitmap 294 Source/web/tests/WebViewTest.cpp SkColor color = bitmap.getColor(kWidth / 2, kHeight / 2); bitmap 87 public/platform/WebImage.h WebImage(const SkBitmap& bitmap) : m_bitmap(bitmap) { } bitmap 89 public/platform/WebImage.h WebImage& operator=(const SkBitmap& bitmap) bitmap 91 public/platform/WebImage.h m_bitmap = bitmap;