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

  /external/webkit/Source/WebKit2/Platform/cg/
CGUtilities.h 32 void paintBitmapContext(CGContextRef, CGContextRef bitmapContext, CGPoint destination, CGRect source);
CGUtilities.cpp 50 void paintBitmapContext(CGContextRef context, CGContextRef bitmapContext, CGPoint destination, CGRect source)
52 RetainPtr<CGImageRef> image(AdoptCF, CGBitmapContextCreateImage(bitmapContext));
  /external/webkit/Source/WebKit2/WebProcess/WebPage/mac/
ChunkedUpdateDrawingAreaMac.cpp 48 RetainPtr<CGContextRef> bitmapContext(AdoptCF, CGBitmapContextCreate(updateChunk->data(), updateChunk->rect().width(), updateChunk->rect().height(), 8, updateChunk->rect().width() * 4, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
51 CGContextTranslateCTM(bitmapContext.get(), 0.0, updateChunk->rect().height());
52 CGContextScaleCTM(bitmapContext.get(), 1.0, -1.0);
55 GraphicsContext graphicsContext(bitmapContext.get());
  /external/webkit/Tools/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, const char* checksum)
  /external/webkit/Tools/WebKitTestRunner/cg/
TestInvocationCG.cpp 65 void computeMD5HashStringForContext(CGContextRef bitmapContext, char hashString[33])
67 ASSERT(CGBitmapContextGetBitsPerPixel(bitmapContext) == 32); // ImageDiff assumes 32 bit RGBA, we must as well.
68 size_t pixelsHigh = CGBitmapContextGetHeight(bitmapContext);
69 size_t pixelsWide = CGBitmapContextGetWidth(bitmapContext);
70 size_t bytesPerRow = CGBitmapContextGetBytesPerRow(bitmapContext);
74 unsigned char* bitmapData = static_cast<unsigned char*>(CGBitmapContextGetData(bitmapContext));
76 if ((CGBitmapContextGetBitmapInfo(bitmapContext) & kCGBitmapByteOrderMask) == kCGBitmapByteOrder32Big) {
102 static void dumpBitmap(CGContextRef bitmapContext)
104 RetainPtr<CGImageRef> image(AdoptCF, CGBitmapContextCreateImage(bitmapContext));
  /external/webkit/Source/WebKit2/Shared/cg/
ShareableBitmapCG.cpp 54 RetainPtr<CGContextRef> bitmapContext(AdoptCF, CGBitmapContextCreateWithData(data(),
59 CGContextTranslateCTM(bitmapContext.get(), 0, m_size.height());
60 CGContextScaleCTM(bitmapContext.get(), 1, -1);
62 return adoptPtr(new GraphicsContext(bitmapContext.get()));
  /external/webkit/Source/WebCore/platform/win/
DragImageCGWin.cpp 56 CGContextRef bitmapContext = CGBitmapContextCreate(bits, bmpInfo.bmiHeader.biWidth, bmpInfo.bmiHeader.biHeight, 8,
59 if (!bitmapContext) {
64 *targetRef = bitmapContext;
74 CGContextRef bitmapContext = CGBitmapContextCreate(info.bmBits, info.bmWidth, info.bmHeight, 8,
76 return bitmapContext;
DragImageCairoWin.cpp 58 cairo_surface_t* bitmapContext = cairo_image_surface_create_for_data((unsigned char*)bits,
64 if (!bitmapContext) {
69 cairo_t* cr = cairo_create(bitmapContext);
70 cairo_surface_destroy(bitmapContext);
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContext3DCG.cpp 129 RetainPtr<CGContextRef> bitmapContext;
134 bitmapContext.adoptCF(CGBitmapContextCreate(0, width, height, 8, width * 4,
137 if (!bitmapContext)
140 CGContextSetBlendMode(bitmapContext.get(), kCGBlendModeCopy);
141 CGContextSetInterpolationQuality(bitmapContext.get(), kCGInterpolationNone);
142 CGContextDrawImage(bitmapContext.get(), CGRectMake(0, 0, width, height), cgImage);
145 decodedImage.adoptCF(CGBitmapContextCreateImage(bitmapContext.get()));
  /external/webkit/Tools/DumpRenderTree/cairo/
PixelDumpSupportCairo.cpp 64 void computeMD5HashStringForBitmapContext(BitmapContext* context, char hashString[33])
66 cairo_t* bitmapContext = context->cairoContext();
67 cairo_surface_t* surface = cairo_get_target(bitmapContext);
89 void dumpBitmap(BitmapContext* context, const char* checksum)
  /external/webkit/Tools/DumpRenderTree/mac/
PixelDumpSupportMac.mm 108 static PassRefPtr<BitmapContext> createBitmapContext(size_t pixelsWide, size_t pixelsHigh, size_t& rowBytes, void*& buffer)
134 return BitmapContext::createByAdoptingBitmapAndContext(buffer, context);
137 PassRefPtr<BitmapContext> createBitmapContextFromWebView(bool onscreen, bool incrementalRepaint, bool sweepHorizontally, bool drawSelectionRect)
151 RefPtr<BitmapContext> bitmapContext = createBitmapContext(pixelsWide, pixelsHigh, rowBytes, buffer);
152 if (!bitmapContext)
154 CGContextRef context = bitmapContext->cgContext();
265 return bitmapContext.release();
268 PassRefPtr<BitmapContext> createPagedBitmapContext()
276 RefPtr<BitmapContext> bitmapContext = createBitmapContext(pageWidthInPixels, numberOfPages * (pageHeightInPixels + 1) - (…)
    [all...]
  /external/webkit/Source/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 107 CGContextRef bitmapContext = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelData.size().height(), 8,
111 CGImageRef image = CGBitmapContextCreateImage(bitmapContext);
116 CGContextRelease(bitmapContext);

Completed in 162 milliseconds