Krita Source Code Documentation
Loading...
Searching...
No Matches
KoColorConversionCache.cpp File Reference
#include "KoColorConversionCache.h"
#include <QList>
#include <QMutex>
#include <QMutexLocker>
#include <QThreadStorage>
#include <KoColorSpace.h>

Go to the source code of this file.

Classes

struct  KoColorConversionCache::CachedTransformation
 
struct  KoColorConversionCacheKey
 
struct  KoColorConversionCache::Private
 

Typedefs

typedef QPair< KoColorConversionCacheKey, KoCachedColorConversionTransformationFastPathCacheItem
 

Functions

uint qHash (const KoColorConversionCacheKey &key)
 

Typedef Documentation

◆ FastPathCacheItem

Function Documentation

◆ qHash()

uint qHash ( const KoColorConversionCacheKey & key)

Definition at line 41 of file KoColorConversionCache.cpp.

42{
43 return qHash(key.src) + qHash(key.dst) + qHash(key.renderingIntent) + qHash(key.conversionFlags);
44}
uint qHash(const KoColorConversionCacheKey &key)
KoColorConversionTransformation::ConversionFlags conversionFlags
KoColorConversionTransformation::Intent renderingIntent

References KoColorConversionCacheKey::conversionFlags, KoColorConversionCacheKey::dst, qHash(), KoColorConversionCacheKey::renderingIntent, and KoColorConversionCacheKey::src.