MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / updateFramebufferMonitorSingleScanline

Function updateFramebufferMonitorSingleScanline

source/NTSC.cpp:554–565  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

552
553//===========================================================================
554inline void updateFramebufferMonitorSingleScanline( uint16_t signal, bgra_t *pTable )
555{
556 uint32_t *pLine0Curr = getScanlineCurrent();
557 uint32_t *pLine1Next = getScanlineNextInbetween();
558 const uint32_t color0 = getScanlineColor( signal, pTable );
559 const uint32_t color1 = 0; // Remove blending for consistent DHGR MIX mode (GH#631)
560// const uint32_t color1 = ((color0 & 0x00fcfcfc) >> 2); // 25% Blend (original)
561
562 *pLine1Next = color1 | ALPHA32_MASK;
563 *pLine0Curr = color0;
564 g_pVideoAddress++;
565}
566
567//===========================================================================
568inline void updateFramebufferMonitorDoubleScanline( uint16_t signal, bgra_t *pTable )

Calls 3

getScanlineCurrentFunction · 0.85
getScanlineNextInbetweenFunction · 0.85
getScanlineColorFunction · 0.85

Tested by

no test coverage detected