/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
WebGLImageBufferSurface.h | 47 virtual const SkBitmap& bitmap() const OVERRIDE { return m_bitmap; } 48 virtual bool isValid() const OVERRIDE { return m_bitmap.pixelRef(); } 53 SkBitmap m_bitmap; member in class:WebCore::WebGLImageBufferSurface
|
WebGLImageBufferSurface.cpp | 46 ensureTextureBackedSkBitmap(gr, m_bitmap, size, kDefault_GrSurfaceOrigin, kRGBA_8888_GrPixelConfig); 51 GrTexture* texture = m_bitmap.getTexture();
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
DragImage.h | 46 const SkBitmap& bitmap() { return m_bitmap; } 48 IntSize size() const { return IntSize(m_bitmap.width(), m_bitmap.height()); } 57 SkBitmap m_bitmap; member in class:WebCore::DragImage
|
DragImage.cpp | 198 : m_bitmap(bitmap) 244 int imageWidth = scaleX * m_bitmap.width(); 245 int imageHeight = scaleY * m_bitmap.height(); 246 m_bitmap = skia::ImageOperations::Resize( 247 m_bitmap, skia::ImageOperations::RESIZE_LANCZOS3, imageWidth, imageHeight); 252 m_bitmap.setAlphaType(kPremul_SkAlphaType); 253 SkAutoLockPixels lock(m_bitmap); 255 for (int row = 0; row < m_bitmap.height(); ++row) { 256 for (int column = 0; column < m_bitmap.width(); ++column) { 257 uint32_t* pixel = m_bitmap.getAddr32(column, row) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
ImageFrame.cpp | 33 : m_bitmap(NativeImageSkia::create()) 54 m_bitmap = other.m_bitmap->clone(); 57 m_bitmap->bitmap().lockPixels(); 81 m_bitmap->bitmap().reset(); 91 m_bitmap->bitmap().eraseARGB(0, 0, 0, 0); 101 m_bitmap->bitmap().reset(); 102 const NativeImageSkia* otherBitmap = other.m_bitmap.get(); 103 return otherBitmap->bitmap().copyTo(&m_bitmap->bitmap(), otherBitmap->bitmap().config()); 111 m_bitmap->bitmap().setConfig(SkBitmap::kARGB_8888_Config, newWidth, newHeight) [all...] |
ImageFrame.h | 122 const SkBitmap& getSkBitmap() const { return m_bitmap->bitmap(); } 142 void setSkBitmap(const SkBitmap& bitmap) { m_bitmap = NativeImageSkia::create(bitmap); } 157 return m_bitmap->bitmap().getAddr32(x, y); 195 m_bitmap->bitmap().notifyPixelsChanged(); 202 return m_bitmap->bitmap().width(); 207 return m_bitmap->bitmap().height(); 210 RefPtr<NativeImageSkia> m_bitmap;
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
ImageBitmapTest.cpp | 56 m_bitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); 57 m_bitmap.allocPixels(); 58 m_bitmap.eraseColor(0xFFFFFFFF); 79 SkBitmap m_bitmap, m_bitmap2; member in class:WebCore::ImageBitmapTest 89 imageElement->setImageResource(new ImageResource(BitmapImage::create(NativeImageSkia::create(m_bitmap)).get())); 91 RefPtr<ImageBitmap> imageBitmapNoCrop = ImageBitmap::create(imageElement.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height())); 92 RefPtr<ImageBitmap> imageBitmapInteriorCrop = ImageBitmap::create(imageElement.get(), IntRect(m_bitmap.width() / 2, m_bitmap.height() / 2, m_bitmap.width() / 2, m_bitmap.height() / 2)) [all...] |
ImageBitmap.cpp | 42 , m_bitmap(0) 73 m_bitmap = buf->copyImage(DontCopyBackingStore); 90 m_bitmap = cropImage(canvas->buffer()->copyImage(CopyBackingStore).get(), cropRect); 108 m_bitmap = buf->copyImage(DontCopyBackingStore); 116 , m_bitmap(0) 129 m_bitmap = cropImage(bitmap->bitmapImage().get(), adjustedCropRect); 140 m_bitmap = cropImage(image, cropRect); 190 m_bitmap = cropImage(m_imageElement->cachedImage()->image(), m_cropRect); 197 ASSERT((m_imageElement || m_bitmap || !m_bitmapRect.width() || !m_bitmapRect.height()) && (!m_imageElement || !m_bitmap)); [all...] |
ImageBitmap.h | 58 RefPtr<Image> m_bitmap; member in class:WebCore::ImageBitmap
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebImage.h | 87 WebImage(const SkBitmap& bitmap) : m_bitmap(bitmap) { } 91 m_bitmap = bitmap; 95 SkBitmap& getSkBitmap() { return m_bitmap; } 96 const SkBitmap& getSkBitmap() const { return m_bitmap; } 100 SkBitmap m_bitmap; member in class:blink::WebImage
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ScaledImageFragment.h | 63 const SkBitmap& bitmap() const { return m_bitmap; } 64 SkBitmap& bitmap() { return m_bitmap; } 70 SkBitmap m_bitmap; member in class:WebCore::ScaledImageFragment
|
ScaledImageFragment.cpp | 40 , m_bitmap(bitmap)
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebImageSkia.cpp | 136 m_bitmap.reset(); 141 m_bitmap = image.m_bitmap; 146 return m_bitmap.isNull(); 151 return WebSize(m_bitmap.width(), m_bitmap.height());
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebMediaPlayerClientImpl.cpp | 591 if (!ensureTextureBackedSkBitmap(context3D->grContext(), m_bitmap, naturalSize(), kTopLeft_GrSurfaceOrigin, kSkia8888_GrPixelConfig)) 597 unsigned textureId = static_cast<unsigned>((m_bitmap.getTexture())->getTextureHandle()); 608 canvas->drawBitmapRect(m_bitmap, NULL, dest, &paint);
|
WebMediaPlayerClientImpl.h | 156 SkBitmap m_bitmap; member in class:blink::WebMediaPlayerClientImpl
|