[PATCH libdrm 04/11] tests: Split helpers into library

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sat Jan 24 15:24:05 PST 2015


Hi Thierry,

On Friday 23 January 2015 17:08:17 Thierry Reding wrote:
> From: Thierry Reding <treding at nvidia.com>
> 
> Some of the helpers, such as the pattern drawing helpers or the format
> lookup helpers, have potential to be reused. Move them into a separate
> library to make it easier to share them.
> 
> Signed-off-by: Thierry Reding <treding at nvidia.com>

Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
>  configure.ac                |   1 +
>  tests/Makefile.am           |   2 +-
>  tests/modeprint/Makefile.am |   1 +
>  tests/modeprint/modeprint.c |   2 +-
>  tests/modetest/Makefile.am  |   2 +
>  tests/modetest/buffers.c    | 956 +----------------------------------------
>  tests/modetest/buffers.h    |  12 +-
>  tests/modetest/cursor.c     |   4 +-
>  tests/modetest/modetest.c   |  25 +-
>  tests/proptest/proptest.c   |   3 +-
>  tests/util/Makefile.am      |  19 +
>  tests/util/common.h         |  33 ++
>  tests/util/format.c         | 119 ++++++
>  tests/util/format.h         |  65 +++
>  tests/util/pattern.c        | 870 ++++++++++++++++++++++++++++++++++++++++
>  tests/util/pattern.h        |  39 ++
>  tests/vbltest/Makefile.am   |   1 +
>  tests/vbltest/vbltest.c     |   2 +-
>  18 files changed, 1177 insertions(+), 979 deletions(-)
>  create mode 100644 tests/util/Makefile.am
>  create mode 100644 tests/util/common.h
>  create mode 100644 tests/util/format.c
>  create mode 100644 tests/util/format.h
>  create mode 100644 tests/util/pattern.c
>  create mode 100644 tests/util/pattern.h

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list