mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
33 lines
823 B
C++
33 lines
823 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
// ------------------------------------------
|
|
// Video backend must define these functions
|
|
// ------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "VideoCommon/BPMemory.h"
|
|
#include "VideoCommon/VideoCommon.h"
|
|
|
|
namespace BPFunctions
|
|
{
|
|
|
|
void FlushPipeline();
|
|
void SetGenerationMode();
|
|
void SetScissor();
|
|
void SetLineWidth();
|
|
void SetDepthMode();
|
|
void SetBlendMode();
|
|
void SetDitherMode();
|
|
void SetLogicOpMode();
|
|
void SetColorMask();
|
|
void CopyEFB(u32 dstAddr, unsigned int dstFormat, PEControl::PixelFormat srcFormat,
|
|
const EFBRectangle& srcRect, bool isIntensity, bool scaleByHalf);
|
|
void ClearScreen(const EFBRectangle &rc);
|
|
void OnPixelFormatChange();
|
|
void SetInterlacingMode(const BPCmd &bp);
|
|
};
|