Path: blob/master/libmupen64plus/mupen64plus-video-glide64mk2/src/Glide64/GlideExtensions.h
2 views
/*1* Glide64 - Glide video plugin for Nintendo 64 emulators.2* Copyright (c) 2002 Dave20013* Copyright (c) 2003-2009 Sergey 'Gonetz' Lipski4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU General Public License16* along with this program; if not, write to the Free Software17* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA18*/1920#define GR_BUFFER_TEXTUREBUFFER_EXT 0x621#define GR_BUFFER_TEXTUREAUXBUFFER_EXT 0x72223typedef FxU32 GrPixelFormat_t;24#define GR_PIXFMT_RGB_565 0x0325#define GR_PIXFMT_ARGB_1555 0x000426#define GR_PIXFMT_ARGB_8888 0x00052728typedef FxU32 GrCCUColor_t;29typedef FxU32 GrACUColor_t;30typedef FxU32 GrTCCUColor_t;31typedef FxU32 GrTACUColor_t;32#define GR_CMBX_ZERO 0x0033#define GR_CMBX_TEXTURE_ALPHA 0x0134#define GR_CMBX_ALOCAL 0x0235#define GR_CMBX_AOTHER 0x0336#define GR_CMBX_B 0x0437#define GR_CMBX_CONSTANT_ALPHA 0x0538#define GR_CMBX_CONSTANT_COLOR 0x0639#define GR_CMBX_DETAIL_FACTOR 0x0740#define GR_CMBX_ITALPHA 0x0841#define GR_CMBX_ITRGB 0x0942#define GR_CMBX_LOCAL_TEXTURE_ALPHA 0x0a43#define GR_CMBX_LOCAL_TEXTURE_RGB 0x0b44#define GR_CMBX_LOD_FRAC 0x0c45#define GR_CMBX_OTHER_TEXTURE_ALPHA 0x0d46#define GR_CMBX_OTHER_TEXTURE_RGB 0x0e47#define GR_CMBX_TEXTURE_RGB 0x0f48#define GR_CMBX_TMU_CALPHA 0x1049#define GR_CMBX_TMU_CCOLOR 0x115051typedef FxU32 GrCombineMode_t;52#define GR_FUNC_MODE_ZERO 0x0053#define GR_FUNC_MODE_X 0x0154#define GR_FUNC_MODE_ONE_MINUS_X 0x0255#define GR_FUNC_MODE_NEGATIVE_X 0x0356#define GR_FUNC_MODE_X_MINUS_HALF 0x045758#define GR_TEXFMT_ARGB_8888 0x125960#define GR_LOD_LOG2_2048 0xb61#define GR_LOD_LOG2_1024 0xa62#define GR_LOD_LOG2_512 0x96364#define GR_TEXTURE_UMA_EXT 0x06656667