|
bool | isCompatibleWithContext (const GraphicsContext &) const |
|
WEBCORE_EXPORT | ~ImageBuffer () |
|
const IntSize & | internalSize () const |
|
const IntSize & | logicalSize () const |
|
FloatSize | sizeForDestinationSize (FloatSize) const |
|
float | resolutionScale () const |
|
WEBCORE_EXPORT GraphicsContext & | context () const |
|
WEBCORE_EXPORT RefPtr< Image > | copyImage (BackingStoreCopy=CopyBackingStore, ScaleBehavior=Scaled) const |
|
RefPtr< Uint8ClampedArray > | getUnmultipliedImageData (const IntRect &, CoordinateSystem=LogicalCoordinateSystem) const |
|
RefPtr< Uint8ClampedArray > | getPremultipliedImageData (const IntRect &, CoordinateSystem=LogicalCoordinateSystem) const |
|
void | putByteArray (Multiply multiplied, Uint8ClampedArray *, const IntSize &sourceSize, const IntRect &sourceRect, const IntPoint &destPoint, CoordinateSystem=LogicalCoordinateSystem) |
|
void | convertToLuminanceMask () |
|
String | toDataURL (const String &mimeType, std::optional< double > quality=std::nullopt, CoordinateSystem=LogicalCoordinateSystem) const |
|
Vector< uint8_t > | toData (const String &mimeType, std::optional< double > quality=std::nullopt) const |
|
AffineTransform | baseTransform () const |
|
void | transformColorSpace (ColorSpace srcColorSpace, ColorSpace dstColorSpace) |
|
void | platformTransformColorSpace (const Vector< int > &) |
|
PlatformLayer * | platformLayer () const |
|
size_t | memoryCost () const |
|
size_t | externalMemoryCost () const |
|
bool | copyToPlatformTexture (GraphicsContext3D &, GC3Denum, Platform3DObject, GC3Denum, bool, bool) |
|
bool | isCompatibleWithContext (const GraphicsContext &) const |
|
WEBCORE_EXPORT | ~ImageBuffer () |
|
const IntSize & | internalSize () const |
|
const IntSize & | logicalSize () const |
|
FloatSize | sizeForDestinationSize (FloatSize) const |
|
float | resolutionScale () const |
|
WEBCORE_EXPORT GraphicsContext & | context () const |
|
WEBCORE_EXPORT RefPtr< Image > | copyImage (BackingStoreCopy=CopyBackingStore, ScaleBehavior=Scaled) const |
|
RefPtr< Uint8ClampedArray > | getUnmultipliedImageData (const IntRect &, CoordinateSystem=LogicalCoordinateSystem) const |
|
RefPtr< Uint8ClampedArray > | getPremultipliedImageData (const IntRect &, CoordinateSystem=LogicalCoordinateSystem) const |
|
void | putByteArray (Multiply multiplied, Uint8ClampedArray *, const IntSize &sourceSize, const IntRect &sourceRect, const IntPoint &destPoint, CoordinateSystem=LogicalCoordinateSystem) |
|
void | convertToLuminanceMask () |
|
String | toDataURL (const String &mimeType, std::optional< double > quality=std::nullopt, CoordinateSystem=LogicalCoordinateSystem) const |
|
Vector< uint8_t > | toData (const String &mimeType, std::optional< double > quality=std::nullopt) const |
|
AffineTransform | baseTransform () const |
|
void | transformColorSpace (ColorSpace srcColorSpace, ColorSpace dstColorSpace) |
|
void | platformTransformColorSpace (const Vector< int > &) |
|
PlatformLayer * | platformLayer () const |
|
size_t | memoryCost () const |
|
size_t | externalMemoryCost () const |
|
bool | copyToPlatformTexture (GraphicsContext3D &, GC3Denum, Platform3DObject, GC3Denum, bool, bool) |
|
|
static WEBCORE_EXPORT std::unique_ptr< ImageBuffer > | create (const FloatSize &, RenderingMode, float resolutionScale=1, ColorSpace=ColorSpaceSRGB) |
|
static std::unique_ptr< ImageBuffer > | createCompatibleBuffer (const FloatSize &, const GraphicsContext &) |
|
static std::unique_ptr< ImageBuffer > | createCompatibleBuffer (const FloatSize &, ColorSpace, const GraphicsContext &) |
|
static std::unique_ptr< ImageBuffer > | createCompatibleBuffer (const FloatSize &, float resolutionScale, ColorSpace, const GraphicsContext &) |
|
static IntSize | compatibleBufferSize (const FloatSize &, const GraphicsContext &) |
|
static WEBCORE_EXPORT RefPtr< Image > | sinkIntoImage (std::unique_ptr< ImageBuffer >, ScaleBehavior=Scaled) |
|
static BackingStoreCopy | fastCopyImageMode () |
|
static bool | sizeNeedsClamping (const FloatSize &) |
|
static bool | sizeNeedsClamping (const FloatSize &, FloatSize &scale) |
|
static FloatSize | clampedSize (const FloatSize &) |
|
static FloatSize | clampedSize (const FloatSize &, FloatSize &scale) |
|
static FloatRect | clampedRect (const FloatRect &) |
|
static WEBCORE_EXPORT std::unique_ptr< ImageBuffer > | create (const FloatSize &, RenderingMode, float resolutionScale=1, ColorSpace=ColorSpaceSRGB) |
|
static std::unique_ptr< ImageBuffer > | createCompatibleBuffer (const FloatSize &, const GraphicsContext &) |
|
static std::unique_ptr< ImageBuffer > | createCompatibleBuffer (const FloatSize &, ColorSpace, const GraphicsContext &) |
|
static std::unique_ptr< ImageBuffer > | createCompatibleBuffer (const FloatSize &, float resolutionScale, ColorSpace, const GraphicsContext &) |
|
static IntSize | compatibleBufferSize (const FloatSize &, const GraphicsContext &) |
|
static WEBCORE_EXPORT RefPtr< Image > | sinkIntoImage (std::unique_ptr< ImageBuffer >, ScaleBehavior=Scaled) |
|
static BackingStoreCopy | fastCopyImageMode () |
|
static bool | sizeNeedsClamping (const FloatSize &) |
|
static bool | sizeNeedsClamping (const FloatSize &, FloatSize &scale) |
|
static FloatSize | clampedSize (const FloatSize &) |
|
static FloatSize | clampedSize (const FloatSize &, FloatSize &scale) |
|
static FloatRect | clampedRect (const FloatRect &) |
|