CoordinatedGraphicsArgumentCoders.h [plain text]
#ifndef CoordinatedGraphicsArgumentCoders_h
#define CoordinatedGraphicsArgumentCoders_h
#if USE(COORDINATED_GRAPHICS)
#include "ArgumentCoders.h"
namespace WebCore {
struct CoordinatedGraphicsLayerState;
struct CoordinatedGraphicsState;
class FloatPoint3D;
class TextureMapperAnimation;
class TextureMapperAnimations;
class SurfaceUpdateInfo;
struct TileCreationInfo;
struct TileUpdateInfo;
class TransformationMatrix;
class TransformOperations;
struct Length;
class FilterOperations;
#if USE(GRAPHICS_SURFACE)
struct GraphicsSurfaceToken;
#endif
}
namespace IPC {
template<> struct ArgumentCoder<WebCore::FilterOperations> {
static void encode(Encoder&, const WebCore::FilterOperations&);
static bool decode(Decoder&, WebCore::FilterOperations&);
};
template<> struct ArgumentCoder<WebCore::TransformOperations> {
static void encode(Encoder&, const WebCore::TransformOperations&);
static bool decode(Decoder&, WebCore::TransformOperations&);
};
template<> struct ArgumentCoder<WebCore::TextureMapperAnimations> {
static void encode(Encoder&, const WebCore::TextureMapperAnimations&);
static bool decode(Decoder&, WebCore::TextureMapperAnimations&);
};
template<> struct ArgumentCoder<WebCore::TextureMapperAnimation> {
static void encode(Encoder&, const WebCore::TextureMapperAnimation&);
static bool decode(Decoder&, WebCore::TextureMapperAnimation&);
};
#if USE(GRAPHICS_SURFACE)
template<> struct ArgumentCoder<WebCore::GraphicsSurfaceToken> {
static void encode(Encoder&, const WebCore::GraphicsSurfaceToken&);
static bool decode(Decoder&, WebCore::GraphicsSurfaceToken&);
};
#endif
template<> struct ArgumentCoder<WebCore::SurfaceUpdateInfo> {
static void encode(Encoder&, const WebCore::SurfaceUpdateInfo&);
static bool decode(Decoder&, WebCore::SurfaceUpdateInfo&);
};
template<> struct ArgumentCoder<WebCore::CoordinatedGraphicsLayerState> {
static void encode(Encoder&, const WebCore::CoordinatedGraphicsLayerState&);
static bool decode(Decoder&, WebCore::CoordinatedGraphicsLayerState&);
};
template<> struct ArgumentCoder<WebCore::TileUpdateInfo> {
static void encode(Encoder&, const WebCore::TileUpdateInfo&);
static bool decode(Decoder&, WebCore::TileUpdateInfo&);
};
template<> struct ArgumentCoder<WebCore::TileCreationInfo> {
static void encode(Encoder&, const WebCore::TileCreationInfo&);
static bool decode(Decoder&, WebCore::TileCreationInfo&);
};
template<> struct ArgumentCoder<WebCore::CoordinatedGraphicsState> {
static void encode(Encoder&, const WebCore::CoordinatedGraphicsState&);
static bool decode(Decoder&, WebCore::CoordinatedGraphicsState&);
};
}
#endif // USE(COORDINATED_GRAPHICS)
#endif // CoordinatedGraphicsArgumentCoders_h