Delete deprecated wuffs_base__animation_blend
diff --git a/internal/cgen/base/image-public.h b/internal/cgen/base/image-public.h index b17d55e..4ca47de 100644 --- a/internal/cgen/base/image-public.h +++ b/internal/cgen/base/image-public.h
@@ -736,28 +736,6 @@ // -------- -// Deprecated: use wuffs_base__pixel_blend instead. -// -// wuffs_base__animation_blend encodes, for an animated image, how to blend the -// transparent pixels of this frame with the existing canvas. In Porter-Duff -// compositing operator terminology: -// - 0 means the frame may be transparent, and should be blended "src over -// dst", also known as just "over". -// - 1 means the frame may be transparent, and should be blended "src". -// - 2 means the frame is completely opaque, so that "src over dst" and "src" -// are equivalent. -// -// These semantics are conservative. It is valid for a completely opaque frame -// to have a blend value other than 2. -typedef uint8_t wuffs_base__animation_blend; - -#define WUFFS_BASE__ANIMATION_BLEND__SRC_OVER_DST \ - ((wuffs_base__animation_blend)0) -#define WUFFS_BASE__ANIMATION_BLEND__SRC ((wuffs_base__animation_blend)1) -#define WUFFS_BASE__ANIMATION_BLEND__OPAQUE ((wuffs_base__animation_blend)2) - -// -------- - // wuffs_base__animation_disposal encodes, for an animated image, how to // dispose of a frame after displaying it: // - None means to draw the next frame on top of this one.
diff --git a/internal/cgen/data/data.go b/internal/cgen/data/data.go index 37917a9..19266fe 100644 --- a/internal/cgen/data/data.go +++ b/internal/cgen/data/data.go
@@ -148,8 +148,6 @@ "\n\n#ifdef __cplusplus\n\ninline void //\nwuffs_base__image_config::set(uint32_t pixfmt_repr,\n uint32_t pixsub_repr,\n uint32_t width,\n uint32_t height,\n uint64_t first_frame_io_position,\n bool first_frame_is_opaque) {\n wuffs_base__image_config__set(this, pixfmt_repr, pixsub_repr, width, height,\n first_frame_io_position, first_frame_is_opaque);\n}\n\ninline void //\nwuffs_base__image_config::invalidate() {\n wuffs_base__image_config__invalidate(this);\n}\n\ninline bool //\nwuffs_base__image_config::is_valid() const {\n return wuffs_base__image_config__is_valid(this);\n}\n\ninline uint64_t //\nwuffs_base__image_config::first_frame_io_position() const {\n return wuffs_base__image_config__first_frame_io_position(this);\n}\n\ninline bool //\nwuffs_base__image_config::first_frame_is_opaque() const {\n return wuffs_base__image_config__first_frame_is_opaque(t" + "his);\n}\n\n#endif // __cplusplus\n\n" + "" + - "// --------\n\n// Deprecated: use wuffs_base__pixel_blend instead.\n//\n// wuffs_base__animation_blend encodes, for an animated image, how to blend the\n// transparent pixels of this frame with the existing canvas. In Porter-Duff\n// compositing operator terminology:\n// - 0 means the frame may be transparent, and should be blended \"src over\n// dst\", also known as just \"over\".\n// - 1 means the frame may be transparent, and should be blended \"src\".\n// - 2 means the frame is completely opaque, so that \"src over dst\" and \"src\"\n// are equivalent.\n//\n// These semantics are conservative. It is valid for a completely opaque frame\n// to have a blend value other than 2.\ntypedef uint8_t wuffs_base__animation_blend;\n\n#define WUFFS_BASE__ANIMATION_BLEND__SRC_OVER_DST \\\n ((wuffs_base__animation_blend)0)\n#define WUFFS_BASE__ANIMATION_BLEND__SRC ((wuffs_base__animation_blend)1)\n#define WUFFS_BASE__ANIMATION_BLEND__OPAQUE ((wuffs_base__animation_blend)2)\n\n" + - "" + "// --------\n\n// wuffs_base__animation_disposal encodes, for an animated image, how to\n// dispose of a frame after displaying it:\n// - None means to draw the next frame on top of this one.\n// - Restore Background means to clear the frame's dirty rectangle to \"the\n// background color\" (in practice, this means transparent black) before\n// drawing the next frame.\n// - Restore Previous means to undo the current frame, so that the next frame\n// is drawn on top of the previous one.\ntypedef uint8_t wuffs_base__animation_disposal;\n\n#define WUFFS_BASE__ANIMATION_DISPOSAL__NONE ((wuffs_base__animation_disposal)0)\n#define WUFFS_BASE__ANIMATION_DISPOSAL__RESTORE_BACKGROUND \\\n ((wuffs_base__animation_disposal)1)\n#define WUFFS_BASE__ANIMATION_DISPOSAL__RESTORE_PREVIOUS \\\n ((wuffs_base__animation_disposal)2)\n\n" + "" + "// --------\n\ntypedef struct wuffs_base__frame_config__struct {\n // Do not access the private_impl's fields directly. There is no API/ABI\n // compatibility or safety guarantee if you do so.\n struct {\n wuffs_base__rect_ie_u32 bounds;\n wuffs_base__flicks duration;\n uint64_t index;\n uint64_t io_position;\n wuffs_base__animation_disposal disposal;\n bool opaque_within_bounds;\n bool overwrite_instead_of_blend;\n wuffs_base__color_u32_argb_premul background_color;\n } private_impl;\n\n#ifdef __cplusplus\n inline void set(wuffs_base__rect_ie_u32 bounds,\n wuffs_base__flicks duration,\n uint64_t index,\n uint64_t io_position,\n wuffs_base__animation_disposal disposal,\n bool opaque_within_bounds,\n bool overwrite_instead_of_blend,\n wuffs_base__color_u32_argb_premul background_color);\n inline wuffs_base__rect_ie_u32 bounds() const;\n inline uint32_t width() const;\n inline uint32_t hei" +
diff --git a/release/c/wuffs-unsupported-snapshot.c b/release/c/wuffs-unsupported-snapshot.c index 5217c13..946dad3 100644 --- a/release/c/wuffs-unsupported-snapshot.c +++ b/release/c/wuffs-unsupported-snapshot.c
@@ -3493,28 +3493,6 @@ // -------- -// Deprecated: use wuffs_base__pixel_blend instead. -// -// wuffs_base__animation_blend encodes, for an animated image, how to blend the -// transparent pixels of this frame with the existing canvas. In Porter-Duff -// compositing operator terminology: -// - 0 means the frame may be transparent, and should be blended "src over -// dst", also known as just "over". -// - 1 means the frame may be transparent, and should be blended "src". -// - 2 means the frame is completely opaque, so that "src over dst" and "src" -// are equivalent. -// -// These semantics are conservative. It is valid for a completely opaque frame -// to have a blend value other than 2. -typedef uint8_t wuffs_base__animation_blend; - -#define WUFFS_BASE__ANIMATION_BLEND__SRC_OVER_DST \ - ((wuffs_base__animation_blend)0) -#define WUFFS_BASE__ANIMATION_BLEND__SRC ((wuffs_base__animation_blend)1) -#define WUFFS_BASE__ANIMATION_BLEND__OPAQUE ((wuffs_base__animation_blend)2) - -// -------- - // wuffs_base__animation_disposal encodes, for an animated image, how to // dispose of a frame after displaying it: // - None means to draw the next frame on top of this one.