Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
SkRasterPipelineContextUtils.h File Reference
#include "src/base/SkArenaAlloc.h"
#include "src/base/SkUtils.h"
#include <cstring>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  SkRPCtxUtils
 

Typedefs

template<typename T >
using SkRPCtxUtils::UnpackedType = typename std::conditional< sizeof(T)<=sizeof(void *), T, const T & >::type
 

Functions

template<typename T >
static void * SkRPCtxUtils::Pack (const T &ctx, SkArenaAlloc *alloc)
 
template<typename T >
static UnpackedType< TSkRPCtxUtils::Unpack (const T *ctx)