2017-05-17 08:01:54 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* Project64-video - A Nintendo 64 gfx plugin. *
|
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2017 Project64. All rights reserved. *
|
|
|
|
* Copyright (C) 2003-2009 Sergey 'Gonetz' Lipski *
|
|
|
|
* Copyright (C) 2002 Dave2001 *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* version 2 of the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include <Project64-video/Renderer/types.h>
|
2017-05-22 07:32:32 +00:00
|
|
|
#include <glide.h>
|
|
|
|
#include "../GlideExtensions.h"
|
|
|
|
|
2017-05-22 10:18:43 +00:00
|
|
|
void gfxClipWindow(FxU32 minx, FxU32 miny, FxU32 maxx, FxU32 maxy);
|
2017-05-22 07:32:32 +00:00
|
|
|
FxU32 gfxTexMinAddress(GrChipID_t tmu);
|
2017-05-22 10:35:28 +00:00
|
|
|
void gfxColorMask(FxBool rgb, FxBool a);
|
2017-05-17 08:01:54 +00:00
|
|
|
|
2017-05-17 08:13:04 +00:00
|
|
|
extern uint32_t nbTextureUnits;
|
|
|
|
extern uint32_t g_scr_res_x, g_scr_res_y, g_res_x, g_res_y;
|