def METHOD_NAME(self, dump=False, func_name=None):
    cpoints = []
    dump_index = 0
    for width, height, capture_buffer in self.render_frames():
        if dump:
            img = Image.frombuffer(_MODE, (width, height), capture_buffer, "raw", _MODE, 0, 1)
            CompareBase.dump_image(img, dump_index, func_name)
            dump_index += 1
        frame_cpoints = {}
        for point_name, (x, y) in self._points.items():
            pix_x, pix_y = self._pos_to_px((x, y), width, height)
            pos = (pix_y * width + pix_x) * 4
            c = capture_buffer[pos : pos + 4]
            frame_cpoints[point_name] = c[0] << 24 | c[1] << 16 | c[2] << 8 | c[3]
        cpoints.append(frame_cpoints)
    return cpoints