OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bitmapContext
(Results
1 - 5
of
5
) sorted by null
/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/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/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
;
/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/Source/WebCore/platform/graphics/win/
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 97 milliseconds