Lines Matching refs:pykms
3 import pykms
11 black = pykms.RGB(0, 0, 0)
21 card = pykms.Card()
32 res = pykms.ResourceManager(card)
62 fb_tmp = pykms.DumbFramebuffer(card, fbX, fbY, 'XR24');
78 req = pykms.AtomicReq(card)
121 self.color = pykms.RGB(r, g, b)
122 self.color2 = pykms.RGB(r // 2, g // 2, b // 2)
123 self.color3 = pykms.RGB(r // 3, g // 3, b // 3)
152 pykms.draw_rect(fb, 0, old_box_y, self.fbX, self.bar_size, black)
155 pykms.draw_rect(fb, 0, pos_y, self.fbX, 5, self.color3)
157 pykms.draw_rect(fb, 0, pos_y, self.fbX, 10, self.color2)
159 pykms.draw_rect(fb, 0, pos_y, self.fbX, 15, self.color)
161 pykms.draw_rect(fb, 0, pos_y, self.fbX, 10, self.color2)
163 pykms.draw_rect(fb, 0, pos_y, self.fbX, 5, self.color3)
173 req = pykms.AtomicReq(card)
206 req = pykms.AtomicReq(card)
264 if ev.type == pykms.DrmEventType.FLIP_COMPLETE: