☠☠ backed out by dc33e00dad90 ☠ ☠ | |
author | Michael Layzell <michael@thelayzells.com> |
Thu, 15 Jun 2017 13:25:27 -0400 | |
changeset 414073 | 831e95b29f6640714312f35dc4c933857e087257 |
parent 414072 | d5630ef01b17b62aa3a9e870035e4b3bce724bf4 |
child 414074 | 0169e09f60304d074424804812ebe83c5372e2f5 |
push id | 7566 |
push user | mtabara@mozilla.com |
push date | Wed, 02 Aug 2017 08:25:16 +0000 |
treeherder | mozilla-beta@86913f512c3c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jrmuizel |
bugs | 1343728 |
milestone | 56.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/gfx/layers/CompositorTypes.h +++ b/gfx/layers/CompositorTypes.h @@ -190,16 +190,28 @@ struct TextureFactoryIdentifier , mMaxTextureSize(aMaxTextureSize) , mCompositorUseANGLE(aCompositorUseANGLE) , mSupportsTextureBlitting(aSupportsTextureBlitting) , mSupportsPartialUploads(aSupportsPartialUploads) , mSupportsComponentAlpha(aSupportsComponentAlpha) , mSupportsBackdropCopyForComponentAlpha(true) , 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; + } }; /** * Information required by the compositor from the content-side for creating or * using compositables and textures. * XXX - TextureInfo is a bad name: this information is useful for the compositable, * not the Texture. And ith new Textures, only the compositable type is really * useful. This may (should) be removed in the near future.