📄 oem.h
字号:
#ifndef __OEM_H__
#define __OEM_H__
//#ifdef MIPS
//#if defined(R4100) || defined(R4111) || defined(R4200) || defined(R4300)
//#define MIPS_NEC
//#endif
//#endif
// The following equates are used to configure driver compile flag and
// generate proper binary code. MediaQ driver turns on these flags by
// defaut and OEM can disable certain flag to save driver footprint
// depend on its specific confiuration requirement.
#define ENABLE_FASTMEMBLT
// DDIDUMP Driver
//
#ifdef DDIDUMP
#define ENABLE_2D // Enable 2D acceleration
#else
// DDI Driver
//
#define ENABLE_2D // Enable 2D acceleration
// #define SUPPORT_ROTATE // Rotation
// #define INSTANT_ROTATE // Instant rotation (no offscreen if on)
// #define SUPPORT_DDC // DDC
#if defined( MIPS_NEC )
#define POWER_DOWN_SAVE_RESTORE // Support save/restore while power down
// see power.cpp for details .
#endif // MIPS_NEC
//#define USB_MOUSE // USB type mouse
// #define HW_ROTATE // use fast rotation
#endif // DDIDUMP
// Use the following to determine if certain color depth(s) is/are
// to be excluded. By default, all color depths (8 thru 32bpp) are
// supported in the GE driver.
// Note: You have to comment out CHECK_24BPP and CHECK_32BPP together
// for now.
#define CHECK_8BPP //Check for 8bpp is required
#define CHECK_16BPP //Check for 16bpp is required
#define CHECK_24BPP //Check for 24bpp is required
#define CHECK_32BPP //Check for 32bpp is required
#ifndef CHECK_32BPP
#ifdef CHECK_24BPP
error! Must comment out CHECK_32BPP too!
#endif
#endif
#ifndef CHECK_24BPP
#ifdef CHECK_32BPP
error! Must comment out CHECK_24BPP too!
#endif
#endif
#endif // __OEM_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -