summaryrefslogtreecommitdiff
path: root/libkms/api.c
AgeCommit message (Collapse)Author
2014-09-01all: include config.h only when available and use its definesEmil Velikov
... rather than explicitly redefining HAVE_STDINT_H and _GNU_SOURCE. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-04-18kms: Return a negative error code in kms_bo_create()Laurent Pinchart
The function returns returns 0 on success or a negative value in case of an error, except when given invalid attributes in which case it returns the positive EINVAL value. Replace that with -EINVAL to allow the caller to detect errors with a < 0 check. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-01-28libkms: Rework interface to not duplicate fields from kms and make formats ↵Jakob Bornecrantz
explicit List of changes: Fixes the cursor size to 64x64, you still need ti supply width and height Explicitly make the cursor format A8R8G8B8 Explicitly make the scanout format X8R8G8B8
2010-01-12libkms: Use sysfs instead of udev to find driverJakob Bornecrantz
Udev code is still there just commented out.
2010-01-08libkms: Add intel backendJakob Bornecrantz
2010-01-08libkms: Pick driver backend via pci id that we get from udevJakob Bornecrantz
2010-01-05libkms: Make vmwgfx optionalJakob Bornecrantz
2009-12-04libkms: Change destroy api a bitJakob Bornecrantz
2009-12-04libkms: Add libkmsJakob Bornecrantz