mirror of https://github.com/xemu-project/xemu.git
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/*
|
|
* QEMU Geforce NV2A implementation
|
|
*
|
|
* Copyright (c) 2012 espes
|
|
* Copyright (c) 2015 Jannik Vogel
|
|
* Copyright (c) 2018-2024 Matt Borgerson
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef HW_XBOX_NV2A_PGRAPH_SURFACE_H
|
|
#define HW_XBOX_NV2A_PGRAPH_SURFACE_H
|
|
|
|
typedef struct SurfaceShape {
|
|
unsigned int z_format;
|
|
unsigned int color_format;
|
|
unsigned int zeta_format;
|
|
unsigned int log_width, log_height;
|
|
unsigned int clip_x, clip_y;
|
|
unsigned int clip_width, clip_height;
|
|
unsigned int anti_aliasing;
|
|
} SurfaceShape;
|
|
|
|
#endif
|