webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <ShareableBitmap.h>
Classes | |
class | Handle |
Public Types | |
enum | Flag { NoFlags = 0, SupportsAlpha = 1 << 0, SupportsExtendedColor = 1 << 1 } |
typedef unsigned | Flags |
Static Public Member Functions | |
static RefPtr< ShareableBitmap > | create (const WebCore::IntSize &, Flags) |
static RefPtr< ShareableBitmap > | createShareable (const WebCore::IntSize &, Flags) |
static RefPtr< ShareableBitmap > | create (const WebCore::IntSize &, Flags, RefPtr< SharedMemory >) |
static RefPtr< ShareableBitmap > | create (const Handle &, SharedMemory::Protection=SharedMemory::Protection::ReadWrite) |
Additional Inherited Members | |
Protected Member Functions inherited from WTF::RefCounted< ShareableBitmap > | |
RefCounted () | |
RefCounted () | |
RefCounted () | |
~RefCounted () | |
~RefCounted () | |
~RefCounted () | |
Protected Member Functions inherited from WTF::RefCountedBase | |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
typedef unsigned WebKit::ShareableBitmap::Flags |
WebKit::ShareableBitmap::~ShareableBitmap | ( | ) |
|
inline |
|
static |
|
static |
|
static |
std::unique_ptr< GraphicsContext > WebKit::ShareableBitmap::createGraphicsContext | ( | ) |
bool WebKit::ShareableBitmap::createHandle | ( | Handle & | handle, |
SharedMemory::Protection | protection = SharedMemory::Protection::ReadWrite |
||
) | const |
|
static |
|
inline |
void WebKit::ShareableBitmap::paint | ( | WebCore::GraphicsContext & | context, |
const WebCore::IntPoint & | destination, | ||
const WebCore::IntRect & | source | ||
) |
void WebKit::ShareableBitmap::paint | ( | WebCore::GraphicsContext & | context, |
float | scaleFactor, | ||
const WebCore::IntPoint & | destination, | ||
const WebCore::IntRect & | source | ||
) |
|
inline |