... | ... | @@ -92,7 +92,7 @@ for your GPU externally. |
|
|
|
|
|
First, you need to implement the following external stub:
|
|
|
|
|
|
```C
|
|
|
```cpp
|
|
|
DriDriverOps* __dri_ex_driver_get (const char* driver_name);
|
|
|
```
|
|
|
|
... | ... | @@ -110,7 +110,7 @@ instead. |
|
|
The `DriDriverOps` is a struct type consisted by a set of operators
|
|
|
(callbacks):
|
|
|
|
|
|
```C
|
|
|
```cpp
|
|
|
/**
|
|
|
* The struct type defines the operators for a DRI driver.
|
|
|
*/
|
... | ... | @@ -255,7 +255,7 @@ need this pointer as the context of your DRI driver. |
|
|
Note that MiniGUI does not defined the detailed structure of
|
|
|
`DriDriver`, it is up to your implementation:
|
|
|
|
|
|
```C
|
|
|
```cpp
|
|
|
/**
|
|
|
* The struct type represents the DRI sub driver.
|
|
|
* The concrete struct should be defined by the driver.
|
... | ... | |