Reflect OS build fixes on 7b489128ac back to inbox

Retrieved from https://microsoft.visualstudio.com os OS official/rs_onecore_dep_uxp 677d15a4e298a0e1e3ce093bc1dff8d832e3c2b1

Related work items: #26765368
This commit is contained in:
Dustin Howett 2020-06-04 22:09:17 +00:00
parent b1715479bd
commit efce279c5c
4 changed files with 13 additions and 3 deletions

View file

@ -36,6 +36,7 @@
".db",
".wrn",
".rec",
".err"
".err",
".xlsx"
]
}

View file

@ -9,11 +9,14 @@
#include "..\..\renderer\vt\Xterm256Engine.hpp"
#include "..\..\renderer\vt\XtermEngine.hpp"
#include "..\..\renderer\vt\WinTelnetEngine.hpp"
#include "..\..\renderer\dx\DxRenderer.hpp"
#include "..\..\renderer\base\Renderer.hpp"
#include "..\Settings.hpp"
#include "..\VtIo.hpp"
#ifndef __INSIDE_WINDOWS
#include "..\..\renderer\dx\DxRenderer.hpp"
#endif
using namespace WEX::Common;
using namespace WEX::Logging;
using namespace WEX::TestExecution;

View file

@ -28,7 +28,13 @@
#include "..\..\renderer\base\renderer.hpp"
#include "..\..\renderer\gdi\gdirenderer.hpp"
#ifndef __INSIDE_WINDOWS
#include "..\..\renderer\dx\DxRenderer.hpp"
#else
// Forward-declare this so we don't blow up later.
struct DxEngine;
#endif
#include "..\inc\ServiceLocator.hpp"
#include "..\..\types\inc\Viewport.hpp"

View file

@ -808,7 +808,7 @@ void Renderer::_PaintBufferOutputHelper(_In_ IRenderEngine* const pEngine,
// We could theoretically pre-pass for this in the loop above to be more efficient about walking
// the iterator, but I fear it would make the code even more confusing than it already is.
// Do that in the future if some WPR trace points you to this spot as super bad.
for (auto colsPainted = 0; colsPainted < cols; ++colsPainted, ++lineIt, ++lineTarget.X)
for (auto colsPainted = 0u; colsPainted < cols; ++colsPainted, ++lineIt, ++lineTarget.X)
{
auto lines = lineIt->TextAttr();
_PaintBufferOutputGridLineHelper(pEngine, lines, 1, lineTarget);