mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 10:10:09 +01:00
gallium: update for new i915_screen.c file; fix some warnings.
This commit is contained in:
parent
8902ce06e8
commit
f81b7a6285
4 changed files with 20 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ i915simple = env.ConvenienceLibrary(
|
|||
'i915_fpc_translate.c',
|
||||
'i915_prim_emit.c',
|
||||
'i915_prim_vbuf.c',
|
||||
'i915_screen.c',
|
||||
'i915_state.c',
|
||||
'i915_state_derived.c',
|
||||
'i915_state_dynamic.c',
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
#include "pipe/p_winsys.h"
|
||||
|
||||
#include "i915_reg.h"
|
||||
#include "i915_context.h"
|
||||
#include "i915_screen.h"
|
||||
#include "i915_texture.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,11 @@
|
|||
#include "pipe/p_screen.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Subclass of pipe_screen
|
||||
*/
|
||||
|
|
@ -57,4 +62,8 @@ extern struct pipe_screen *
|
|||
i915_create_screen(struct pipe_winsys *winsys, uint pci_id);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* I915_SCREEN_H */
|
||||
|
|
|
|||
|
|
@ -40,6 +40,11 @@
|
|||
#include "pipe/p_defines.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/* Pipe drivers are (meant to be!) independent of both GL and the
|
||||
* window system. The window system provides a buffer manager and a
|
||||
* set of additional hooks for things like command buffer submission,
|
||||
|
|
@ -112,4 +117,8 @@ struct pipe_context *i915_create_context( struct pipe_screen *,
|
|||
struct pipe_winsys *,
|
||||
struct i915_winsys * );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue