{
}
+void renderer_notify_scanout_change(int x, int y)
+{
+}
+
extern const unsigned char cmd_lengths[256];
-int do_cmd_list(unsigned int *list, int list_len, int *last_cmd)
+int do_cmd_list(uint32_t *list, int list_len, int *last_cmd)
{
unsigned int cmd = 0, len;
- unsigned int *list_start = list;
- unsigned int *list_end = list + list_len;
+ uint32_t *list_start = list;
+ uint32_t *list_end = list + list_len;
for (; list < list_end; list += 1 + len)
{
}
#ifndef TEST
- if (cmd == 0xa0 || cmd == 0xc0)
+ if (0x80 <= cmd && cmd < 0xe0)
break; // image i/o, forward to upper layer
else if ((cmd & 0xf8) == 0xe0)
gpu.ex_regs[cmd & 7] = GETLE32(list);
cmdSTP((unsigned char *)&ecmds[6]);
}
-void renderer_update_caches(int x, int y, int w, int h)
+void renderer_update_caches(int x, int y, int w, int h, int state_changed)
{
}