[Mesa-stable] [Mesa-dev] [PATCH 03/53] st/nine: Additional defines to d3dtypes.h

Ilia Mirkin imirkin at alum.mit.edu
Wed Jan 7 08:46:50 PST 2015


On Wed, Jan 7, 2015 at 11:36 AM, Axel Davy <axel.davy at ens.fr> wrote:
> From: xavier <xavierb at gmail.com>

Would be nice to fix up the from name... you can do this with 'git
commit --amend --author asdf' or by reimporting the patch.

>
> Reviewed-by: David Heidelberg <david at ixit.cz>
> Reviewed-by: Axel Davy <axel.davy at ens.fr>
> Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>
>
> Cc: "10.4" <mesa-stable at lists.freedesktop.org>
> ---
>  include/D3D9/d3d9types.h | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/include/D3D9/d3d9types.h b/include/D3D9/d3d9types.h
> index 0a8f9e5..e53e389 100644
> --- a/include/D3D9/d3d9types.h
> +++ b/include/D3D9/d3d9types.h
> @@ -224,6 +224,8 @@ typedef struct _RGNDATA {
>  #define D3DERR_INVALIDDEVICE             MAKE_D3DHRESULT(2155)
>  #define D3DERR_INVALIDCALL               MAKE_D3DHRESULT(2156)
>  #define D3DERR_DRIVERINVALIDCALL         MAKE_D3DHRESULT(2157)
> +#define D3DERR_DEVICEREMOVED             MAKE_D3DHRESULT(2160)
> +#define D3DERR_DEVICEHUNG                MAKE_D3DHRESULT(2164)
>
>  /********************************************************
>   * Bitmasks                                             *
> @@ -331,6 +333,7 @@ typedef struct _RGNDATA {
>
>  #define D3DPRESENT_DONOTWAIT      0x00000001
>  #define D3DPRESENT_LINEAR_CONTENT 0x00000002
> +#define D3DPRESENT_RATE_DEFAULT            0
>
>  #define D3DCREATE_FPU_PRESERVE              0x00000002
>  #define D3DCREATE_MULTITHREADED             0x00000004
> @@ -344,6 +347,13 @@ typedef struct _RGNDATA {
>  #define D3DSTREAMSOURCE_INDEXEDDATA  (1 << 30)
>  #define D3DSTREAMSOURCE_INSTANCEDATA (2 << 30)
>
> +/* D3DRS_COLORWRITEENABLE */
> +#define D3DCOLORWRITEENABLE_RED     (1L << 0)
> +#define D3DCOLORWRITEENABLE_GREEN   (1L << 1)
> +#define D3DCOLORWRITEENABLE_BLUE    (1L << 2)
> +#define D3DCOLORWRITEENABLE_ALPHA   (1L << 3)
> +
> +
>  /********************************************************
>   * Function macros                                      *
>   *******************************************************/
> --
> 2.1.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-stable mailing list