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

..09-Feb-2022-

.editorconfigH A D09-Feb-202247 43

READMEH A D09-Feb-20223.2 KiB7363

meson.buildH A D09-Feb-20221.8 KiB4839

xa-indent.shH A D09-Feb-202259 41

xa_composite.cH A D09-Feb-202216.9 KiB593433

xa_composite.hH A D09-Feb-20224 KiB15781

xa_context.cH A D09-Feb-202210.6 KiB421311

xa_context.hH A D09-Feb-20223.4 KiB10247

xa_priv.hH A D09-Feb-20227.2 KiB290194

xa_renderer.cH A D09-Feb-202218.1 KiB641483

xa_tgsi.cH A D09-Feb-202215.4 KiB501373

xa_tracker.cH A D09-Feb-202215.9 KiB579460

xa_tracker.h.inH A D09-Feb-20227.1 KiB218186

xa_yuv.cH A D09-Feb-20224.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