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

Go to the source code of this file.

Classes

struct  KoColorConversionCacheKey
 
struct  KoColorConversionCache::Private
 

Functions

uint qHash (const KoColorConversionCacheKey &key)
 

Function Documentation

◆ qHash()

uint qHash ( const KoColorConversionCacheKey & key)

Definition at line 46 of file KoColorConversionCache.cpp.

47{
48 return qHash(key.src) + qHash(key.dst) + qHash(key.renderingIntent) + qHash(key.conversionFlags);
49}
uint qHash(const KoColorConversionCacheKey &key)
KoColorConversionTransformation::ConversionFlags conversionFlags
KoColorConversionTransformation::Intent renderingIntent

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