Dave Airlie
cccbc3b5e4
renderer: return values from submit_cmd/decode block
...
makes easier to write unit tests.
10 years ago
Dave Airlie
5783d84b30
egl: overhaul the fourcc retrieval function
...
We really need a new mesa interface that works properly for all this.
10 years ago
Dave Airlie
83d7fbb0d7
renderer: overhaul transfer code a bit
...
This merges the error/bounds checking on the transfer
code, but keeps the same API, it also uses a struct
to pass through the transfer info.
this also passes a return value out to make testing easier.
10 years ago
Dave Airlie
8b423dc28a
renderer: fixup get_info interface
...
don't overwrite memory if we get a bad res or info,
return the gbm and virgl formats
use errno return values
10 years ago
Dave Airlie
3ef1317b81
renderer: add renderer cleanup interface
...
this just tears down the EGL stuff for now
10 years ago
Dave Airlie
03e3116a75
import latest renderer code
10 years ago
Dave Airlie
a3a2c64cd6
initial import of standalone renderer
11 years ago