OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stddef.h> | |
6 | |
5 #include "third_party/mesa/MesaLib/src/egl/main/egldriver.h" | 7 #include "third_party/mesa/MesaLib/src/egl/main/egldriver.h" |
piman
2011/03/24 03:41:36
This include should be first
neb
2011/03/25 21:27:10
Unfortunately, Mesa's egldriver.h relies on NULL b
| |
6 | 8 |
7 #include "third_party/mesa/MesaLib/src/egl/main/eglconfig.h" | 9 #include "third_party/mesa/MesaLib/src/egl/main/eglconfig.h" |
8 #include "third_party/mesa/MesaLib/src/egl/main/eglcontext.h" | 10 #include "third_party/mesa/MesaLib/src/egl/main/eglcontext.h" |
9 #include "third_party/mesa/MesaLib/src/egl/main/egldisplay.h" | 11 #include "third_party/mesa/MesaLib/src/egl/main/egldisplay.h" |
10 #include "third_party/mesa/MesaLib/src/egl/main/eglmisc.h" | 12 #include "third_party/mesa/MesaLib/src/egl/main/eglmisc.h" |
11 #include "third_party/mesa/MesaLib/src/egl/main/eglsurface.h" | 13 #include "third_party/mesa/MesaLib/src/egl/main/eglsurface.h" |
12 | 14 |
13 /** | 15 /** |
14 * Functions for choosing and opening/loading device drivers. | 16 * Functions for choosing and opening/loading device drivers. |
15 */ | 17 */ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
99 drv->API.ReleaseTexImage = _eglReleaseTexImage; | 101 drv->API.ReleaseTexImage = _eglReleaseTexImage; |
100 drv->API.SwapInterval = _eglSwapInterval; | 102 drv->API.SwapInterval = _eglSwapInterval; |
101 drv->API.SwapBuffers = _eglSwapBuffers; | 103 drv->API.SwapBuffers = _eglSwapBuffers; |
102 drv->API.CopyBuffers = _eglCopyBuffers; | 104 drv->API.CopyBuffers = _eglCopyBuffers; |
103 | 105 |
104 drv->API.QueryString = _eglQueryString; | 106 drv->API.QueryString = _eglQueryString; |
105 drv->API.WaitClient = _eglWaitClient; | 107 drv->API.WaitClient = _eglWaitClient; |
106 drv->API.WaitNative = _eglWaitNative; | 108 drv->API.WaitNative = _eglWaitNative; |
107 } | 109 } |
108 | 110 |
OLD | NEW |