mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
43 lines
993 B
C++
43 lines
993 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
|
|
{
|
|
|
|
enum
|
|
{
|
|
CONFIG_ISWII = 0,
|
|
CONFIG_DISABLEFOG,
|
|
CONFIG_SHOWEFBREGIONS
|
|
};
|
|
|
|
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, unsigned int srcFormat,
|
|
const EFBRectangle& srcRect, bool isIntensity, bool scaleByHalf);
|
|
void ClearScreen(const EFBRectangle &rc);
|
|
void OnPixelFormatChange();
|
|
u8 *GetPointer(const u32 &address);
|
|
bool GetConfig(const int &type);
|
|
void SetTextureMode(const BPCmd &bp);
|
|
void SetInterlacingMode(const BPCmd &bp);
|
|
};
|