5 Copyright 2010-2011, The AROS Development Team. All rights reserved.
10 # include <exec/types.h>
14 # include <hidd/hidd.h>
21 #ifndef P_AROS_VERSION_H
22 /* Gallium3D interface version. This is separate from gallium.hidd versioning */
23 # include <gallium/pipe/p_aros_version.h>
30 #ifndef U_SIMPLE_SCREEN_H
31 # include <gallium/util/u_simple_screen.h>
35 # include <gallium/pipe/p_state.h>
38 #ifndef GRAPHICS_RASTPORT_H
39 # include <graphics/rastport.h>
42 /* Gallium interface */
43 #define CLID_Hidd_Gallium "hidd.gallium"
44 #define IID_Hidd_Gallium "hidd.gallium"
46 #define HiddGalliumAttrBase __IHidd_Gallium
48 #ifndef __OOP_NOATTRBASES__
49 extern OOP_AttrBase HiddGalliumAttrBase
;
52 /* Gallium Class methods */
56 moHidd_Gallium_CreatePipeScreen
= 0,
57 moHidd_Gallium_DisplaySurface
= 2, /* This method is OBSOLETE */
58 moHidd_Gallium_DisplayResource
,
65 aoHidd_Gallium_GalliumInterfaceVersion
= 0,
67 num_Hidd_Gallium_Attrs
70 #define aHidd_Gallium_GalliumInterfaceVersion (HiddGalliumAttrBase + aoHidd_Gallium_GalliumInterfaceVersion)
72 #define IS_GALLIUM_ATTR(attr, idx) \
73 (((idx) = (attr) - HiddGalliumAttrBase) < num_Hidd_Gallium_Attrs)
75 struct pHidd_Gallium_CreatePipeScreen
77 STACKED OOP_MethodID mID
;
80 struct pHidd_Gallium_DisplaySurface
82 STACKED OOP_MethodID mID
;
84 STACKED
struct RastPort
*rastport
;
89 STACKED
struct pipe_surface
*surface
;
96 struct pHidd_Gallium_DisplayResource
98 STACKED OOP_MethodID mID
;
99 STACKED
struct pipe_resource
*resource
;
103 STACKED
struct BitMap
*bitmap
;
107 STACKED ULONG height
;
112 struct pipe_winsys base
;