• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.editorconfigD23-Nov-202347 43

Makefile.sourcesD23-Nov-2023118 98

READMED23-Nov-20233.2 KiB7363

meson.buildD23-Nov-20231.8 KiB4738

xa-indent.shD23-Nov-202359 41

xa_composite.cD23-Nov-202316.9 KiB593433

xa_composite.hD23-Nov-20234 KiB15781

xa_context.cD23-Nov-202310.6 KiB420310

xa_context.hD23-Nov-20233.4 KiB10247

xa_priv.hD23-Nov-20237.2 KiB290194

xa_renderer.cD23-Nov-202317.9 KiB637479

xa_tgsi.cD23-Nov-202315.4 KiB501373

xa_tracker.cD23-Nov-202315.9 KiB579460

xa_tracker.h.inD23-Nov-20237.1 KiB218186

xa_yuv.cD23-Nov-20234.8 KiB164109

README

1/**********************************************************
2 * Copyright 2009-2011 VMware, Inc. All rights reserved.
3 *
4 * Permission is hereby granted, free of charge, to any person
5 * obtaining a copy of this software and associated documentation
6 * files (the "Software"), to deal in the Software without
7 * restriction, including without limitation the rights to use, copy,
8 * modify, merge, publish, distribute, sublicense, and/or sell copies
9 * of the Software, and to permit persons to whom the Software is
10 * furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be
13 * included in all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
19 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
20 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 * SOFTWARE.
23 *
24 *********************************************************
25 * Authors:
26 * Zack Rusin <zackr-at-vmware-dot-com>
27 * Thomas Hellstrom <thellstrom-at-vmware-dot-com>
28 */
29
30The XA gallium frontend is intended as a versioned interface to gallium for
31xorg driver writers. Initially it's mostly based on Zack Rusin's
32composite / video work for the Xorg gallium frontend.
33
34The motivation behind this gallium frontend is that the Xorg gallium frontend has
35a number of interfaces to work with:
36
371) The Xorg sdk (versioned)
382) Gallium3D (not versioned)
393) KMS modesetting (versioned)
404) Driver-private (hopefully versioned)
41
42Since Gallium3D is not versioned, the Xorg gallium frontend needs to be compiled
43with Gallium, but it's really beneficial to be able to compile xorg drivers
44standalone.
45
46Therefore the xa gallium frontend is intended to supply the following
47functionality:
48
491) Versioning.
502) Surface functionality (creation and copying for a basic dri2 implementation)
513) YUV blits for textured Xv.
524) Solid fills without ROP functionality.
535) Copies with format conversion and - reinterpretation but without ROP
546) Xrender- type compositing for general acceleration.
55
56
57The first user will be the vmwgfx xorg driver. When there are more users,
58we need to be able to load the appropriate gallium pipe driver, and we
59should investigate sharing the loadig mechanism with the EGL gallium frontend.
60
61IMPORTANT:
62Version compatibilities:
63While this library remains OUTSIDE any mesa release branch,
64and the major version number is still 0. Any minor bump should be viewed as
65an incompatibility event, and any user of this library should test for that
66and refuse to use the library if minor versions differ.
67As soon as the library enters a mesa release branch, if not earlier, major
68will be bumped to 1, and normal incompatibility rules (major bump)
69will be followed.
70It is allowed to add function interfaces while only bumping minor. Any
71user that uses these function interfaces must therefore use lazy symbol
72lookups and test minor for compatibility before using such a function.
73