diff --git a/headers/os/add-ons/graphics/Accelerant.h b/headers/os/add-ons/graphics/Accelerant.h
index 1322c35..443a853 100644
a
|
b
|
|
16 | 16 | |
17 | 17 | |
18 | 18 | #define B_ACCELERANT_ENTRY_POINT "get_accelerant_hook" |
19 | | #define B_ACCELERANT_VERSION 1 |
| 19 | #define B_ACCELERANT_VERSION 2 |
20 | 20 | |
21 | 21 | |
22 | 22 | typedef void* (*GetAccelerantHook)(uint32, void*); |
… |
… |
enum {
|
33 | 33 | B_UNINIT_ACCELERANT, /* required */ |
34 | 34 | B_GET_ACCELERANT_DEVICE_INFO, /* required */ |
35 | 35 | B_ACCELERANT_RETRACE_SEMAPHORE, /* optional */ |
| 36 | B_GET_ACCELERANT_HEAD_COUNT, /* optional */ |
36 | 37 | |
37 | 38 | /* mode configuration */ |
38 | 39 | B_ACCELERANT_MODE_COUNT = 0x100, /* required */ |
… |
… |
typedef struct {
|
176 | 177 | uint32 min_vertical_frequency; /* in Hz */ |
177 | 178 | uint32 max_vertical_frequency; |
178 | 179 | uint32 max_pixel_clock; /* in kHz */ |
| 180 | uint32 connector_type; |
| 181 | uint32 encoder_type; |
179 | 182 | } monitor_info; |
180 | 183 | |
181 | 184 | |
… |
… |
typedef struct {
|
261 | 264 | |
262 | 265 | enum { /* engine capabilities */ |
263 | 266 | B_2D_ACCELERATION = 1 << 0, |
264 | | B_3D_ACCELERATION = 1 << 1 |
| 267 | B_3D_ACCELERATION = 1 << 1, |
| 268 | B_COMPUTE_ACCELERATION = 1 << 2 |
265 | 269 | }; |
266 | 270 | |
267 | 271 | |