Lines Matching refs:eventId
43 def findDrawWithEventId(controller, eventId): argument
45 if d.eventId == eventId:
50 def dumpImage(controller, eventId, outputDir, tracefile): argument
51 draw = findDrawWithEventId(controller, eventId)
53 raise RuntimeError("Couldn't find draw call with eventId " + str(eventId))
55 controller.SetFrameEvent(draw.eventId, True)
67 filepath = filepath / (tracefile + "-" + str(int(draw.eventId)) + ".png")
69 print("Saving image at eventId %d: %s to %s" % (draw.eventId, draw.name, filepath))
110 eventIds.append(controller.GetDrawcalls()[-1].eventId)
112 for eventId in eventIds:
113 dumpImage(controller, eventId, outputDir, tracefile)