mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 984761 - IPDL serialization for the ColorSpace enum. r=bjacob
This commit is contained in:
parent
0837b9905e
commit
ba7d5b6851
@ -298,6 +298,13 @@ struct ParamTraits<mozilla::gfx::PrimitiveType>
|
||||
mozilla::gfx::PrimitiveType::Max>
|
||||
{};
|
||||
|
||||
template <>
|
||||
struct ParamTraits<mozilla::gfx::ColorSpace>
|
||||
: public TypedEnumSerializer<mozilla::gfx::ColorSpace,
|
||||
mozilla::gfx::ColorSpace::SRGB,
|
||||
mozilla::gfx::ColorSpace::Max>
|
||||
{};
|
||||
|
||||
/*
|
||||
template <>
|
||||
struct ParamTraits<mozilla::PixelFormat>
|
||||
|
@ -206,7 +206,8 @@ private:
|
||||
|
||||
MOZ_BEGIN_ENUM_CLASS(ColorSpace)
|
||||
SRGB,
|
||||
LinearRGB
|
||||
LinearRGB,
|
||||
Max
|
||||
MOZ_END_ENUM_CLASS(ColorSpace)
|
||||
|
||||
MOZ_BEGIN_ENUM_CLASS(AlphaModel)
|
||||
|
Loading…
x
Reference in New Issue
Block a user