Home
last modified time | relevance | path

Searched refs:gr2d (Results 1 – 5 of 5) sorted by relevance

/third_party/libdrm/tests/tegra/
Ddrm-test-tegra.c35 struct drm_tegra_gr2d *gr2d; in drm_tegra_gr2d_open() local
38 gr2d = calloc(1, sizeof(*gr2d)); in drm_tegra_gr2d_open()
39 if (!gr2d) in drm_tegra_gr2d_open()
42 gr2d->drm = drm; in drm_tegra_gr2d_open()
44 err = drm_tegra_channel_open(drm, DRM_TEGRA_GR2D, &gr2d->channel); in drm_tegra_gr2d_open()
46 free(gr2d); in drm_tegra_gr2d_open()
50 *gr2dp = gr2d; in drm_tegra_gr2d_open()
55 int drm_tegra_gr2d_close(struct drm_tegra_gr2d *gr2d) in drm_tegra_gr2d_close() argument
57 if (!gr2d) in drm_tegra_gr2d_close()
60 drm_tegra_channel_close(gr2d->channel); in drm_tegra_gr2d_close()
[all …]
Dgr2d-fill.c48 struct drm_tegra_gr2d *gr2d; in main() local
78 err = drm_tegra_gr2d_open(drm, &gr2d); in main()
128 err = drm_tegra_gr2d_fill(gr2d, fb, fb->width / 4, fb->height / 4, in main()
140 drm_tegra_gr2d_close(gr2d); in main()
Ddrm-test-tegra.h50 int drm_tegra_gr2d_close(struct drm_tegra_gr2d *gr2d);
51 int drm_tegra_gr2d_fill(struct drm_tegra_gr2d *gr2d, struct drm_framebuffer *fb,
D.gitignore1 tegra-gr2d-fill
Dmeson.build60 'tegra-gr2d-fill',
61 files('gr2d-fill.c'),