1 /* 2 * Copyright 2005-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Copyright 2016, Jessica Hamilton, jessica.l.hamilton@gmail.com. 4 * Distributed under the terms of the MIT License. 5 */ 6 #ifndef VIRTIO_GPU_ACCELERANT_H 7 #define VIRTIO_GPU_ACCELERANT_H 8 9 10 #include "virtio_info.h" 11 12 13 typedef struct accelerant_info { 14 int device; 15 bool is_clone; 16 17 area_id shared_info_area; 18 virtio_gpu_shared_info* shared_info; 19 20 area_id mode_list_area; 21 // cloned list of standard display modes 22 display_mode *mode_list; 23 uint16 current_mode; 24 } accelerant_info; 25 26 extern accelerant_info *gInfo; 27 28 extern status_t create_mode_list(void); 29 30 #endif /* VIRTIO_GPU_ACCELERANT_H */ 31