mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 11:11:04 +00:00
Engine function name cleanup round 2
git-svn-id: https://svn.eduke32.com/eduke32@6828 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ee63d2c070
commit
0340e3cc0f
40 changed files with 668 additions and 679 deletions
|
@ -218,7 +218,7 @@ int32_t animvpx_nextpic(animvpx_codec_ctx *codec, uint8_t **picptr)
|
|||
if (codec->initstate <= 0) // not inited or error
|
||||
return 1;
|
||||
|
||||
t[0] = getticks();
|
||||
t[0] = timerGetTicks();
|
||||
|
||||
if (codec->decstate == 0) // first time / begin
|
||||
{
|
||||
|
@ -282,7 +282,7 @@ read_ivf_frame:
|
|||
return 5;
|
||||
}
|
||||
|
||||
t[1] = getticks();
|
||||
t[1] = timerGetTicks();
|
||||
|
||||
uint8_t *const dstpic = codec->pic;
|
||||
|
||||
|
@ -352,7 +352,7 @@ read_ivf_frame:
|
|||
}
|
||||
}
|
||||
|
||||
t[2] = getticks();
|
||||
t[2] = timerGetTicks();
|
||||
|
||||
codec->sumtimes[0] += t[1]-t[0];
|
||||
codec->sumtimes[1] += t[2]-t[1];
|
||||
|
@ -505,7 +505,7 @@ void animvpx_restore_glstate(void)
|
|||
|
||||
int32_t animvpx_render_frame(animvpx_codec_ctx *codec, double animvpx_aspect)
|
||||
{
|
||||
int32_t t = getticks();
|
||||
int32_t t = timerGetTicks();
|
||||
|
||||
if (codec->initstate <= 0) // not inited or error
|
||||
return 1;
|
||||
|
@ -565,7 +565,7 @@ int32_t animvpx_render_frame(animvpx_codec_ctx *codec, double animvpx_aspect)
|
|||
|
||||
glEnd();
|
||||
|
||||
t = getticks()-t;
|
||||
t = timerGetTicks()-t;
|
||||
codec->sumtimes[2] += t;
|
||||
codec->maxtimes[2] = max(codec->maxtimes[2], t);
|
||||
codec->numframes++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue