14
14
* The above copyright notice and this permission notice shall be included
15
15
* in all copies or substantial portions of the Software.
17
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
19
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20
* BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23
* DEALINGS IN THE SOFTWARE.
25
26
#ifndef _NATIVE_X11_H_
26
27
#define _NATIVE_X11_H_
28
#include "state_tracker/drm_api.h"
29
29
#include "common/native.h"
31
31
struct native_display *
32
x11_create_ximage_display(EGLNativeDisplayType dpy,
32
x11_create_ximage_display(Display *dpy,
33
33
struct native_event_handler *event_handler,
36
36
struct native_display *
37
x11_create_dri2_display(EGLNativeDisplayType dpy,
37
x11_create_dri2_display(Display *dpy,
38
38
struct native_event_handler *event_handler,
41
41
#endif /* _NATIVE_X11_H_ */