mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
2b9389202e
This header doesn't actually make use of MathUtil.h within itself, so this can be removed. Many other source files used VideoCommon.h as an indirect include to include MathUtil.h, so these includes can also be adjusted. While we're at it, we can also migrate valid inclusions of VideoCommon.h into cpp files where it can feasibly be done to minimize propagating it via other headers.
27 lines
614 B
C++
27 lines
614 B
C++
// Copyright 2009 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
// ------------------------------------------
|
|
// Video backend must define these functions
|
|
// ------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "Common/MathUtil.h"
|
|
|
|
struct BPCmd;
|
|
|
|
namespace BPFunctions
|
|
{
|
|
void FlushPipeline();
|
|
void SetGenerationMode();
|
|
void SetScissor();
|
|
void SetViewport();
|
|
void SetDepthMode();
|
|
void SetBlendMode();
|
|
void ClearScreen(const MathUtil::Rectangle<int>& rc);
|
|
void OnPixelFormatChange();
|
|
void SetInterlacingMode(const BPCmd& bp);
|
|
} // namespace BPFunctions
|