소스 검색

progs/perf: added PerfExtensionSupported() helper

tags/mesa_7_7_rc1
Brian Paul 16 년 전
부모
커밋
cfb0f2489d
2개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 7
    0
      progs/perf/glmain.c
  2. 3
    0
      progs/perf/glmain.h

+ 7
- 0
progs/perf/glmain.c 파일 보기

@@ -165,6 +165,13 @@ PerfReshapeWindow( unsigned w, unsigned h )
}


GLboolean
PerfExtensionSupported(const char *ext)
{
return glutExtensionSupported(ext);
}


static void
Idle(void)
{

+ 3
- 0
progs/perf/glmain.h 파일 보기

@@ -49,6 +49,9 @@ PerfShaderProgram(const char *vertShader, const char *fragShader);
extern int
PerfReshapeWindow( unsigned w, unsigned h );

extern GLboolean
PerfExtensionSupported(const char *ext);


/** Test programs must implement these functions **/


Loading…
취소
저장