1ec3c44bdd38051d870f64d0b2cc7dbd59760386 |
|
09-Dec-2015 |
Thierry Reding <treding@nvidia.com> |
tests: Split helpers into library 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. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/modetest/buffers.c
|
85ede61136d541038a941c1eee90379af33e987f |
|
06-May-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
modetest: make middle SMPTE colors transparent This enables us to check for overlay planes which are located 'below' the primary plane. Since the alpha value only has an effect when creating surfaces with an alpha-pixelformat this doesn't affect the regular XRGB8888 primary surface. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/modetest/buffers.c
|
128344c2cf22385dedece5a3d774d3a24527d2de |
|
28-Apr-2015 |
Emil Velikov <emil.l.velikov@gmail.com> |
modetest: replace malloc + memset with calloc Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/libdrm/tests/modetest/buffers.c
|
b4defea65fac690aefbe5348ff6ac2976e0ee090 |
|
05-May-2015 |
Rob Clark <robclark@freedesktop.org> |
modetest: fix allocation for yuv420/yvu420 Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/libdrm/tests/modetest/buffers.c
|
b091ecdbf93fca76521868863fb1f20e0bfe7268 |
|
17-Apr-2015 |
Joonyoung Shim <jy0922.shim@samsung.com> |
modetest: fix the arguments of the MAKE_RGB_INFO define The current order (rbg) seems wrong. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> [Emil Velikov: Tweak the commit message.] Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/modetest/buffers.c
|
42465feb9759ef5a6d79d7e628510cd0a081f913 |
|
05-Apr-2015 |
Emil Velikov <emil.l.velikov@gmail.com> |
drm: rename libdrm{,_macros}.h Provide a more meaningful name, considering what it does. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/modetest/buffers.c
|
d7c0a08bc576deb07df6c3f91f393ca8edd0c4bf |
|
09-Dec-2014 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
modetest: Allocate dumb buffers with the correct bpp The modetest application uses libkms to allocate dumb buffers, leading to overallocation due to the hardcoded 32 bpp value. This can even cause failures in drivers when the resulting pitch is too large for the hardware to handle and gets rejected by the driver when creating the frame buffer. Fix this by computing the required bpp value and allocating dumb buffers directly without going through libkms. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
/external/libdrm/tests/modetest/buffers.c
|
b958d76f7794143380a79f656fc71cc924422bdc |
|
12-Oct-2013 |
Rob Clark <robclark@freedesktop.org> |
modetest: alpha buffers Make upper-left corner for RGB32 buffers translucent, for testing blending of AR24 vs XR24. Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/libdrm/tests/modetest/buffers.c
|
8e93afc9765f1de613c65a76e9a86e17db96e653 |
|
27-Jul-2014 |
Emil Velikov <emil.l.velikov@gmail.com> |
all: include config.h only when available and use its defines ... rather than explicitly redefining HAVE_STDINT_H and _GNU_SOURCE. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/modetest/buffers.c
|
3c967e715528ee52195c178c4d09d03b643f0c06 |
|
14-Jun-2013 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
modetest: Allocate NV buffers large enough for the two planes Multiple the image height by 1.5 for NV12/NV21 and by 2 for NV16/NV61 to make room for the chroma plane. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
/external/libdrm/tests/modetest/buffers.c
|
1ef179d09c465248db47f62f00e718f4911e0e34 |
|
14-Jun-2013 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
modetest: Fix line stride in SMPTE YUV packet pattern generator The line stride passed to the function is expressed in bytes, there's no need to multiply it by 2. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
/external/libdrm/tests/modetest/buffers.c
|
ca9c8f06e0f560082dcd0943e9be29ba9a915ee3 |
|
11-Feb-2013 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
modetest: Fix warnings Enable all standard automake warnings except for -Wpointer-arith (as the test pattern generation code uses void pointer arithmetics) and fix them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
/external/libdrm/tests/modetest/buffers.c
|
8a88e349975a64676f143183e835e6d296f29627 |
|
18-Apr-2013 |
Ville Syrjälä <ville.syrjala@linux.intel.com> |
modetest: Make RGB565 pwetty too Render the crosshairs for 565 and x888/a888 formats. v2: Use the drm format to determine cairo format Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
/external/libdrm/tests/modetest/buffers.c
|
83e77461249d535a77c3ed055d198e26f0c1b390 |
|
18-Apr-2013 |
Ville Syrjälä <ville.syrjala@linux.intel.com> |
modetest: Add YUV420 support and fix YVU420 Cb/Cr ordering YUV420 support is trivial to add since the code already supports YVU420. But it looks like the YVU420 support is a bit broken. The chroma planes are passed in the wrong order to the fill functions, so fix that while were at it. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
/external/libdrm/tests/modetest/buffers.c
|
3f024f85d816a648473373bccc8ccc915951886a |
|
18-Apr-2013 |
Ville Syrjälä <ville.syrjala@linux.intel.com> |
modetest: Pass format_info to fill_tiles functions The fourcc is inside the format_info structure, so if we want to use it inside the various fill_tiles functions, we need to pass down the whole format_info, not just the rgb/yuv infos. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
/external/libdrm/tests/modetest/buffers.c
|
fa2925aa342158037ef972f3ef095442fb1fe430 |
|
17-Apr-2013 |
Ville Syrjälä <ville.syrjala@linux.intel.com> |
modetest: Add support for all 16/32 bpp RGB formats Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
/external/libdrm/tests/modetest/buffers.c
|
c2988eb211ecad2db60081f1000cf19b350703db |
|
17-Apr-2013 |
Ville Syrjälä <ville.syrjala@linux.intel.com> |
modetest: Fix pitches, somewhat libkms only has the xrgb8888 format, so we're overallocating the bo by quite a lot in some cases. But we still need to get the pitch from the libkms since it's the driver that decides how to align it. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
/external/libdrm/tests/modetest/buffers.c
|
db004badef9315ba6a5f165d0974dd5afd5a6178 |
|
20-Jul-2012 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
modeset: Split buffer allocation to a separate file As the modeset test application is often referred to as an example of the KMS API usage, move test pattern generation and buffer allocation to a separate file to keep it simple and clear. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
/external/libdrm/tests/modetest/buffers.c
|