зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1073252. Part 4: Flip hasAlpha to isOpaque for consistency. r=mattwoodrow
--HG-- extra : rebase_source : a553b4c36feb555b23cbe140a05df09f0dc2656d
This commit is contained in:
Родитель
c13f8729d9
Коммит
18b9877442
|
@ -41,7 +41,7 @@ MacIOSurfaceTextureHostBasic::MacIOSurfaceTextureHostBasic(
|
|||
{
|
||||
mSurface = MacIOSurface::LookupSurface(aDescriptor.surface(),
|
||||
aDescriptor.scaleFactor(),
|
||||
aDescriptor.hasAlpha());
|
||||
!aDescriptor.isOpaque());
|
||||
}
|
||||
|
||||
gfx::SourceSurface*
|
||||
|
|
|
@ -53,7 +53,7 @@ struct SurfaceDescriptorD3D10 {
|
|||
struct SurfaceDescriptorMacIOSurface {
|
||||
uint32_t surface;
|
||||
double scaleFactor;
|
||||
bool hasAlpha;
|
||||
bool isOpaque;
|
||||
};
|
||||
|
||||
struct SurfaceTextureDescriptor {
|
||||
|
|
|
@ -55,7 +55,7 @@ MacIOSurfaceTextureClientOGL::ToSurfaceDescriptor(SurfaceDescriptor& aOutDescrip
|
|||
}
|
||||
aOutDescriptor = SurfaceDescriptorMacIOSurface(mSurface->GetIOSurfaceID(),
|
||||
mSurface->GetContentsScaleFactor(),
|
||||
mSurface->HasAlpha());
|
||||
!mSurface->HasAlpha());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче