| 38 | static Tr2UpscalingAL::Result s_lastUpscalingResult; |
| 39 | |
| 40 | void DrawInto( const Tr2TextureAL& dest, Tr2LoadAction::Type loadAction, const Tr2TextureAL& src, Tr2RenderContext& renderContext ) |
| 41 | { |
| 42 | renderContext.RenderPassHint( { loadAction, Tr2StoreAction::STORE }, {} ); |
| 43 | renderContext.m_esm.PushRenderTarget( dest ); |
| 44 | Tr2Renderer::DrawTexture( renderContext, src ); |
| 45 | renderContext.m_esm.PopRenderTarget(); |
| 46 | } |
| 47 | |
| 48 | void DrawPartiallyInto( const Tr2TextureAL& dest, Tr2LoadAction::Type loadAction, const Tr2TextureAL& src, Tr2RenderContext& renderContext, const Vector2 tlTextureCoords = Vector2( 0, 0 ), const Vector2 brTextureCoords = Vector2( 1, 1 ) ) |
| 49 | { |
no test coverage detected