- memtest86 does not re-read the text mode size after changing GOP resolution.
- Possibly this is an issue in OC, in that this should not normally change? (But it is
fundamental to Builtin renderer handling of console resolution that it will change,
unless a fixed user mode size is specified.)
- The only effect of this in memtest86 is that it attempts to place the white footer
line of its text UI below the bottom of the screen; so this clamping, which seems
reasonable anyway, completely works round it.
The renderer already (esp. since recent changes incl. reset to controlled on cls)
manages its own transitions to controlled, so we just need to indicate uncontrolled
in cases where something else has been rendering graphics
- Perform full clear screen on switch from graphics to text mode,
if marked uncontrolled
- Suppress remaining console coloured output (screen clear and
cursor, text was already handled) if in graphics mode
- Remain uncontrolled while in graphics mode
- Improve builtin renderer screen size calculations
o Although we appear to lose a small amount of height (i.e. up
to one row) with the new font size scaled vertical padding,
we were actually losing it anyway with the previous screen
size calculation
- Re-order initialisation of builtin mode
o Avoid producing uncontrolled text with old text protocol,
after resync screen clear of new controlled protocol
- Avoid additional clear screen when resyncing
- Use same values to trigger full clear screen after background
colour change as after mark uncontrolled
- Only scroll used width when controlled
- Reset controlled area after clear screen
- Fix mConsoleMaxPosY init error for controlled mode
o Present since 76e889f89af7ecdec0a8de191d7ded5856b338fb
- Fix ConsoleControl wording in docs
- Add ASSERTS and comments
- Reverts part of commit 2439d58412c071cb735cde8a70c9ef964a095780.
- Reverts commit a189bd53bc2ac1490dac7125a9ce11fd03571755.
- Reverts part of commit b07843fe1d47454747ae4eda9ea0189aa9fb8c03.
- Clear console screen on change to console mode
- Ensure entire screen is cleared at least once in console mode
o Was not needed/was done by default, prior to a189bd53bc2ac1490dac7125a9ce11fd03571755
o Remove GOP clear screen work-around no longer required with this change.
- These changes improve EnableGop driver in the same way, so update version number
o Add EnableGop version in UI section, to enable tool builders to track it
For some reason UEFI Shell trashes Cursor positions of the TextOut protocol
even though the spec explicitly forbids this.
closesacidanthera/bugtracker#837