mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-14 19:27:30 +09:00
Issue #1053 - Part 3a: Remove Android conditionals from /gfx
This commit is contained in:
parent
7167c960d0
commit
753251e54c
43 changed files with 32 additions and 1708 deletions
|
|
@ -28,15 +28,8 @@ Compositor::Compositor(widget::CompositorWidget* aWidget,
|
|||
, mScreenRotation(ROTATION_0)
|
||||
, mWidget(aWidget)
|
||||
, mIsDestroyed(false)
|
||||
#if defined(MOZ_WIDGET_ANDROID)
|
||||
// If the default color isn't white for Fennec, there is a black
|
||||
// flash before the first page of a tab is loaded.
|
||||
, mClearColor(1.0, 1.0, 1.0, 1.0)
|
||||
, mDefaultClearColor(1.0, 1.0, 1.0, 1.0)
|
||||
#else
|
||||
, mClearColor(0.0, 0.0, 0.0, 0.0)
|
||||
, mDefaultClearColor(0.0, 0.0, 0.0, 0.0)
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -173,11 +166,7 @@ Compositor::DrawDiagnosticsInternal(DiagnosticFlags aFlags,
|
|||
const gfx::Matrix4x4& aTransform,
|
||||
uint32_t aFlashCounter)
|
||||
{
|
||||
#if defined(ANDROID)
|
||||
int lWidth = 10;
|
||||
#else
|
||||
int lWidth = 2;
|
||||
#endif
|
||||
|
||||
gfx::Color color;
|
||||
if (aFlags & DiagnosticFlags::CONTENT) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue