mesa: Handle !m->Ended for performance monitor result availability.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Nov 2013 01:15:23 +0000 (17:15 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 18 Nov 2013 02:51:07 +0000 (18:51 -0800)
commitd12e0e8972e13addf37c2ad885ea3ae5357d69f4
tree3258b94a0645a6b0517d7f3fae60b1fe6aa92025
parentbde5e4a1e64cd0ddd89556f654185d256743728f
mesa: Handle !m->Ended for performance monitor result availability.

If a performance monitor has never ended, then no result can be
available.  Core Mesa can easily handle this, saving drivers a tiny bit
of complexity.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/performance_monitor.c