📄 dyndebug.h
字号:
/***************************************************************************
* Name : dyndebug.h
* Title : MBX WinCE driver
* Author(s) : Imagination Technologies
* Created : 6th January 2003
*
* Copyright : 2003 by Imagination Technologies. All rights reserved.
* : No part of this software, either material or conceptual
* : may be copied or distributed, transmitted, transcribed,
* : stored in a retrieval system or translated into any
* : human or computer language in any form by any means,
* : electronic, mechanical, manual or other-wise, or
* : disclosed to third parties without the express written
* : permission of Imagination Technologies Limited, Unit 8,
* : HomePark Industrial Estate, King's Langley, Hertfordshire,
* : WD4 8LZ, U.K.
*
* Description : MBX WinCE driver GPE class.
*
* Platform : WinCE
*
* Modifications:-
* $Log: dyndebug.h $
*
* --- Revision Logs Removed ---
*
* --- Revision Logs Removed ---
*
* --- Revision Logs Removed ---
*
* --- Revision Logs Removed ---
*
****************************************************************************/
#pragma once
#ifdef DYNAMIC_LOG
typedef enum {
// GDI 2D
DYNL_GDI_HWBLIT_START=0, //"HW Blit start"
DYNL_GDI_HWBLIT_END, //"HW Blit end"
DYNL_GDI_SWBLIT_START, //"SW Blit start"
DYNL_GDI_SWBLIT_END, //"SW Blit end"
DYNL_GDI_SWLINE_START, //"SW Line start"
DYNL_GDI_SWLINE_END, //"SW Line end"
// interrupts
DYNL_2DSYNC_INT, //"2D complete interrupt"
DYNL_TA_COMPLETE_INT, //"TA complete interrupt"
DYNL_3D_AND_EVM_INT, //"3D complete interrupt"
DYNL_TA_OVERFLOW_INT, //"TA Overflow interrupt"
DYNL_BAD_INT, //"Bad interrupt(s)"
DYNL_POLLFORVAL_FAILED, //"Poll for val failed"
DYNL_POLLFORINT_FAILED, //"Poll for int failed"
DYNL_INT_STATUS, //"Int Status"
DYNL_INT_MASK, //"Int Mask"
// DD blits
DYNL_DD_BLIT_START, //"DD blit start"
// TA
DYNL_TA_START, //"TA start"
DYNL_TA_STOP, //"TA Stop"
DYNL_TA_FINISH, //"TA Finish"
// context
DYNL_CONTEXT_RESET, //"Context Reset"
DYNL_CONTEXT_STORE, //"Context Store"
DYNL_CONTEXT_LOAD, //"Context Load"
// hw context id
DYNL_ALLOC_HW_ID, //"Alloc HW Id"
DYNL_FREE_HW_ID, //"Free HW Id"
// 3D
DYNL_3D_COMMAND_ADDED, //"3D Command Added"
DYNL_RENDER_START, //"3D start"
// state
DYNL_STATE, //"State"
DYNL_SET_STATE, //"Set State"
DYNL_CLEAR_STATE, //"Clr State"
// HWQ
DYNL_PROCESS_CMD_ENTER, //"Process Cmd Enter"
DYNL_PROCESS_CMD_EXIT, //"Process Cmd Exit"
DYNL_GET_HWQ, //"Get HWQ"
DYNL_UPDATE_HWQ, //"Update HWQ"
DYNL_RELEASE_HWQ, //"Release HWQ"
// Render address
DYNL_RENDER_ADDR, //"Render Addr"
// NOP
DYNL_NOP
} DYNLOG_CODE;
// dynamic debug utility function prototype
void LogInfo (DYNLOG_CODE eDCode, ULONG uVal);
#define LOGINFO LogInfo
extern DWORD guFlushDynLog;
#else
// simply define the debug macros to nothing
#define LOGINFO(eDCode, uVal)
#endif
/********************************** end of file ******************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -