README: reflow the project description to improve readability

Also, move the sentence about "who would use libdrm" into its own paragraph,
as it is something people discovering libdrm will want to know.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
main
Eric Engestrom 2018-11-07 16:15:32 +00:00
parent 6d2379857b
commit 403f3c92fd
1 changed files with 12 additions and 10 deletions

View File

@ -1,15 +1,17 @@
libdrm - userspace library for drm libdrm - userspace library for drm
----------------------------------
This is libdrm, a userspace library for accessing the DRM, direct This is libdrm, a userspace library for accessing the DRM, direct rendering
rendering manager, on Linux, BSD and other operating systems that manager, on Linux, BSD and other operating systems that support the ioctl
support the ioctl interface. The library provides wrapper functions interface.
for the ioctls to avoid exposing the kernel interface directly, and The library provides wrapper functions for the ioctls to avoid exposing the
for chipsets with drm memory manager, support for tracking relocations kernel interface directly, and for chipsets with drm memory manager, support
and buffers. libdrm is a low-level library, typically used by for tracking relocations and buffers.
graphics drivers such as the Mesa DRI drivers, the X drivers, libva New functionality in the kernel DRM drivers typically requires a new libdrm,
and similar projects. New functionality in the kernel DRM drivers but a new libdrm will always work with an older kernel.
typically requires a new libdrm, but a new libdrm will always work
with an older kernel. libdrm is a low-level library, typically used by graphics drivers such as
the Mesa drivers, the X drivers, libva and similar projects.
Compiling Compiling