mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
implemented FX_grSstPerfStats()
This commit is contained in:
parent
9360a4450d
commit
56b99de2fa
1 changed files with 6 additions and 6 deletions
|
|
@ -221,12 +221,12 @@ void FX_grGlideGetVersion(char *buf)
|
|||
|
||||
void FX_grSstPerfStats(GrSstPerfStats_t *st)
|
||||
{
|
||||
/* ToDo */
|
||||
st->pixelsIn = 0;
|
||||
st->chromaFail = 0;
|
||||
st->zFuncFail = 0;
|
||||
st->aFuncFail = 0;
|
||||
st->pixelsOut = 0;
|
||||
int n;
|
||||
grGet(GR_STATS_PIXELS_IN, 4, &n); st->pixelsIn = n;
|
||||
grGet(GR_STATS_PIXELS_CHROMA_FAIL, 4, &n); st->chromaFail = n;
|
||||
grGet(GR_STATS_PIXELS_DEPTHFUNC_FAIL, 4, &n); st->zFuncFail = n;
|
||||
grGet(GR_STATS_PIXELS_AFUNC_FAIL, 4, &n); st->aFuncFail = n;
|
||||
grGet(GR_STATS_PIXELS_OUT, 4, &n); st->pixelsOut = n;
|
||||
}
|
||||
|
||||
void FX_grAADrawLine(GrVertex *a,GrVertex *b)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue