~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to src/gallium/state_trackers/d3d1x/d3dapi/dxgitype.idl

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2011-08-04 16:25:08 UTC
  • mfrom: (1.2.37 upstream)
  • Revision ID: james.westby@ubuntu.com-20110804162508-kujg82moxerjg1kk
Tags: 7.11-0ubuntu1
* Fake merge from Debian experimental, updating previous changelog entries.
  New upstream release fixes infrequent X crash (LP: #800778).
  Remaining Ubuntu changes:
 - debian/control
    + Drop lesstif-dev from Build-Depends; it's in Universe.
    + Comment out GLw libs since it depends on lesstif-dev.
    + Drop i686 swx11 libgl package.
    + Add libdrm-dev to mesa-common-dev Depends.
    + Drop libwayland-dev from Build-Depends; it's in Universe.
    + Update Breaks for Ubuntu versions
    + Enable llvm on armel as well as i386 and amd64
  - debian/rules
    + Use --disable-glw for swx11 targets too.
    + Don't enable motif for swx11 targets.
    + Use lzma compression for binary debs to save CD space.
    + Drop unloved mach64 driver.
    + Use --enable-shared-dricore to claw back CD space.
    + Enable llvmpipe software rasteriser.
    + Enable llvm on armel as well as i386 and amd64
  - debian/patches
    + 100_no_abi_tag.patch
    + 101_ubuntu_hidden_glname.patch
    + 103_savage-expose_fbmodes_with_nonzero_alpha.patch
  - rules, libgl1-mesa-{glx,dev,swx11,swx11-dev}.install.in,
    libgl1-mesa-{glx,swx11}.{postinst,prerm}.in, libgl1-mesa-dev.links.in:
    Install libGL.so* in /usr/lib/mesa to allow things to work with
    alternatives.
  - debian/not-installed:
    + Drop i686 files; we don't build 686-optimised packages in the first
      place.
  - debian/gbp.conf
    + Point at Ubuntu branch to make git-buildpackage less narky.
  - 113_fix_tls.diff: Fix crashes in unrelated code due to TLS usage.
  - debian/patches/111_export_searchdirs_in_dripc.diff:
    + Add drisearchdirs variable to dri.pc so the Xserver can pick up the
      alternate DRI driver dirs.
  - debian/patches/115_llvm_dynamic_linking.diff
    + Dynamically link DRI drivers to libllvm.  Saves ~6MiB per DRI driver.
  - debian/patches/116_use_shared_galliumcore.diff:
  - debian/libgl1-mesa-dri.install.in:
    + Link gallium DRI drivers against shared gallium routines to save CD
      space.
* debian/rules:
* debian/libgl1-mesa-dri-experimental.install.{i386,amd64}.in
  - Explicitly install i915g only when it has been built, matching what is
    done with r300g.
* debian/rules:
* debian/control:
* debian/libegl1-mesa{,-dev}.install.in:
* debian/libegl1-mesa.symbols:
  - Enable the Wayland EGL backend.
* debian/rules:
* debian/libegl1-mesa.{postinst,prerm,install}.in:
* debian/libegl1-mesa-dev.{install,links}.in:
* debian/libgles{1,2}-mesa.install.in:
* debian/libgles{1,2}-mesa-dev.links.in:
* debian/libopenvg1-mesa{,-dev}.install.in:
* debian/libopenvg1-mesa-dev.links.in:
  - Use alternatives for libEGL to match the handling of libGL.
    libEGL (and associated GL|ES and OpenVG libraries) now live in
    /usr/lib/$MULTIARCH/mesa-egl.  (LP: #812639)
* debian/patches/118_fix_24bpp_software_rendering.diff:
  - Cherry pick upstream patch from master fixing graphical corruption when
    using a 24bpp framebuffer and software rendering. (LP: #810339)
* debian/rules:
* debian/clean:
  - Generate xmlpool pot file and clean up other po files for
    pkgbinarymangler's benefit (LP: #410264).
* debian/patches/119_r600g_gnome_shell_rendering_fix.diff:
  - Cherry pick upstream commit fixing rendering corruption in gnome-shell
    (and therefore likely Unity as well).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright 2007 Andras Kovacs
3
 
 *
4
 
 * This library is free software; you can redistribute it and/or
5
 
 * modify it under the terms of the GNU Lesser General Public
6
 
 * License as published by the Free Software Foundation; either
7
 
 * version 2.1 of the License, or (at your option) any later version.
8
 
 *
9
 
 * This library is distributed in the hope that it will be useful,
10
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
 
 * Lesser General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU Lesser General Public
15
 
 * License along with this library; if not, write to the Free Software
16
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17
 
 */
18
 
 
19
 
/* DXGI 1.1 IDL, and missing DXGI 1.0 parts added by Luca Barbieri on Sep 2010 */
20
 
 
21
 
import "oaidl.idl";
22
 
import "ocidl.idl";
23
 
 
24
 
import "dxgiformat.idl";
25
 
 
26
 
typedef struct DXGI_SAMPLE_DESC {
27
 
        UINT Count;
28
 
        UINT Quality;
29
 
} DXGI_SAMPLE_DESC;
30
 
 
31
 
typedef enum DXGI_MODE_ROTATION {
32
 
        DXGI_MODE_ROTATION_UNSPECIFIED = 0,
33
 
        DXGI_MODE_ROTATION_IDENTITY      = 1,
34
 
        DXGI_MODE_ROTATION_ROTATE90      = 2,
35
 
        DXGI_MODE_ROTATION_ROTATE180    = 3,
36
 
        DXGI_MODE_ROTATION_ROTATE270    = 4,
37
 
} DXGI_MODE_ROTATION;
38
 
 
39
 
typedef enum DXGI_MODE_SCANLINE_ORDER {
40
 
        DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED    = 0,
41
 
        DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE    = 1,
42
 
        DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 2,
43
 
        DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 3,
44
 
} DXGI_MODE_SCANLINE_ORDER;
45
 
 
46
 
typedef enum DXGI_MODE_SCALING {
47
 
        DXGI_MODE_SCALING_UNSPECIFIED = 0,
48
 
        DXGI_MODE_SCALING_CENTERED       = 1,
49
 
        DXGI_MODE_SCALING_STRETCHED      = 2,
50
 
} DXGI_MODE_SCALING;
51
 
 
52
 
typedef struct DXGI_RATIONAL {
53
 
        UINT Numerator;
54
 
        UINT Denominator;
55
 
} DXGI_RATIONAL;
56
 
 
57
 
typedef struct DXGI_MODE_DESC {
58
 
        UINT Width;
59
 
        UINT Height;
60
 
        DXGI_RATIONAL RefreshRate;
61
 
        DXGI_FORMAT Format;
62
 
        DXGI_MODE_SCANLINE_ORDER ScanlineOrdering;
63
 
        DXGI_MODE_SCALING Scaling;
64
 
} DXGI_MODE_DESC;
65
 
 
66
 
typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES {
67
 
        BOOL ScaleAndOffsetSupported;
68
 
        float MaxConvertedValue;
69
 
        float MinConvertedValue;
70
 
        UINT NumGammaControlPoints;
71
 
        float ControlPointPositions[1025];
72
 
} DXGI_GAMMA_CONTROL_CAPABILITIES;
73
 
 
74
 
typedef struct DXGI_RGB {
75
 
        float Red;
76
 
        float Green;
77
 
        float Blue;
78
 
} DXGI_RGB;
79
 
 
80
 
typedef struct DXGI_GAMMA_CONTROL {
81
 
        DXGI_RGB Scale;
82
 
        DXGI_RGB Offset;
83
 
        DXGI_RGB GammaCurve[1025];
84
 
} DXGI_GAMMA_CONTROL;