Home
last modified time | relevance | path

Searched refs:prim_count (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/opengl/libagl/
Darray.cpp403 uint32_t prim_count; in dump_stats() local
405 case GL_POINTS: prim_count = total; break; in dump_stats()
406 case GL_LINE_STRIP: prim_count = total - 1; break; in dump_stats()
407 case GL_LINE_LOOP: prim_count = total - 1; break; in dump_stats()
408 case GL_LINES: prim_count = total / 2; break; in dump_stats()
409 case GL_TRIANGLE_STRIP: prim_count = total - 2; break; in dump_stats()
410 case GL_TRIANGLE_FAN: prim_count = total - 2; break; in dump_stats()
411 case GL_TRIANGLES: prim_count = total / 3; break; in dump_stats()
417 prim_count, int(ns2us(time)), int(prim_count*float(seconds(1))/time), in dump_stats()
418 float(misses) / prim_count); in dump_stats()