Home
last modified time | relevance | path

Searched refs:blend_mode (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata.cpp82 void get_blend_mode(const private_handle_t *hnd, std::optional<BlendMode> *blend_mode) in get_blend_mode() argument
85 *blend_mode = metadata->blend_mode.to_std_optional(); in get_blend_mode()
88 void set_blend_mode(const private_handle_t *hnd, const BlendMode &blend_mode) in set_blend_mode() argument
91 metadata->blend_mode = aligned_optional(blend_mode); in set_blend_mode()
DSharedMetadata_struct.h104 aligned_optional<BlendMode> blend_mode {};
130 static_assert(offsetof(shared_metadata, blend_mode) == 0, "bad alignment");
131 static_assert(sizeof(shared_metadata::blend_mode) == 8, "bad size");
DSharedMetadata.h59 void get_blend_mode(const private_handle_t *hnd, std::optional<BlendMode> *blend_mode);
60 void set_blend_mode(const private_handle_t *hnd, const BlendMode &blend_mode);
DMapperMetadata.cpp559 std::optional<BlendMode> blend_mode; in get_metadata() local
560 get_blend_mode(handle, &blend_mode); in get_metadata()
561 err = android::gralloc4::encodeBlendMode(blend_mode.value_or(BlendMode::INVALID), &vec); in get_metadata()
676 BlendMode blend_mode; in set_metadata() local
677 err = android::gralloc4::decodeBlendMode(metadata, &blend_mode); in set_metadata()
680 set_blend_mode(handle, blend_mode); in set_metadata()