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

  /external/webkit/WebKitTools/DumpRenderTree/cg/
PixelDumpSupportCG.cpp 71 void computeMD5HashStringForBitmapContext(BitmapContext* context, char hashString[33])
73 CGContextRef bitmapContext = context->cgContext();
75 ASSERT(CGBitmapContextGetBitsPerPixel(bitmapContext) == 32); // ImageDiff assumes 32 bit RGBA, we must as well.
76 size_t pixelsHigh = CGBitmapContextGetHeight(bitmapContext);
77 size_t pixelsWide = CGBitmapContextGetWidth(bitmapContext);
78 size_t bytesPerRow = CGBitmapContextGetBytesPerRow(bitmapContext);
83 unsigned char* bitmapData = static_cast<unsigned char*>(CGBitmapContextGetData(bitmapContext));
85 if ((CGBitmapContextGetBitmapInfo(bitmapContext) & kCGBitmapByteOrderMask) == kCGBitmapByteOrder32Big) {
109 void dumpBitmap(BitmapContext* context)
  /external/webkit/WebCore/platform/win/
DragImageCairoWin.cpp 64 cairo_surface_t* bitmapContext = cairo_image_surface_create_for_data((unsigned char*)bits,
70 if (!bitmapContext) {
75 *targetRef = cairo_create (bitmapContext);
76 cairo_surface_destroy (bitmapContext);
DragImageCGWin.cpp 57 CGContextRef bitmapContext = CGBitmapContextCreate(bits, bmpInfo.bmiHeader.biWidth, bmpInfo.bmiHeader.biHeight, 8,
61 if (!bitmapContext) {
66 *targetRef = bitmapContext;
77 CGContextRef bitmapContext = CGBitmapContextCreate(info.bmBits, info.bmWidth, info.bmHeight, 8,
80 return bitmapContext;
  /external/webkit/WebKitTools/DumpRenderTree/cairo/
PixelDumpSupportCairo.cpp 67 void computeMD5HashStringForBitmapContext(BitmapContext* context, char hashString[33])
69 cairo_t* bitmapContext = context->cairoContext();
70 cairo_surface_t* surface = cairo_get_target(bitmapContext);
93 void dumpBitmap(BitmapContext* context)
  /external/webkit/WebCore/platform/graphics/win/
ImageCGWin.cpp 53 RetainPtr<CGContextRef> bitmapContext(AdoptCF, CGBitmapContextCreate(dibSection.dsBm.bmBits, dibSection.dsBm.bmWidth, dibSection.dsBm.bmHeight, 8,
57 CGImageRef cgImage = CGBitmapContextCreateImage(bitmapContext.get());
GraphicsContextCGWin.cpp 95 CGContextRef bitmapContext = CGBitmapContextCreate(info.bmBits, info.bmWidth, info.bmHeight, 8,
100 CGImageRef image = CGBitmapContextCreateImage(bitmapContext);
105 CGContextRelease(bitmapContext);
  /external/webkit/WebKitTools/DumpRenderTree/mac/
PixelDumpSupportMac.mm 107 PassRefPtr<BitmapContext> createBitmapContextFromWebView(bool onscreen, bool incrementalRepaint, bool sweepHorizontally, bool drawSelectionRect)
143 // The BitmapContext keeps the CGContextRef and the pixel buffer alive
144 RefPtr<BitmapContext> bitmapContext = BitmapContext::createByAdoptingBitmapAndContext(buffer, context);
255 return bitmapContext.release();

Completed in 34 milliseconds