зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1343728 - Part 2: Add const operator== to TextureFactoryIdentifier and CompositorOptions, r=jrmuizel
MozReview-Commit-ID: 6BayMmqNlyx
This commit is contained in:
Родитель
e1e38ff7fb
Коммит
aafcf19442
|
@ -195,6 +195,18 @@ struct TextureFactoryIdentifier
|
||||||
, mSupportsBackdropCopyForComponentAlpha(true)
|
, mSupportsBackdropCopyForComponentAlpha(true)
|
||||||
, mSyncHandle(aSyncHandle)
|
, mSyncHandle(aSyncHandle)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
bool operator==(const TextureFactoryIdentifier& aOther) const {
|
||||||
|
return
|
||||||
|
mParentBackend == aOther.mParentBackend &&
|
||||||
|
mParentProcessType == aOther.mParentProcessType &&
|
||||||
|
mMaxTextureSize == aOther.mMaxTextureSize &&
|
||||||
|
mCompositorUseANGLE == aOther.mCompositorUseANGLE &&
|
||||||
|
mSupportsTextureBlitting == aOther.mSupportsTextureBlitting &&
|
||||||
|
mSupportsPartialUploads == aOther.mSupportsPartialUploads &&
|
||||||
|
mSupportsComponentAlpha == aOther.mSupportsComponentAlpha &&
|
||||||
|
mSyncHandle == aOther.mSyncHandle;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Загрузка…
Ссылка в новой задаче