#include "brw_structs.h"
#include "main/imports.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/* Glossary:
*
bool brw_do_cubemap_normalize(struct exec_list *instructions);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#include "brw_defines.h"
#include "program/prog_instruction.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define BRW_SWIZZLE4(a,b,c,d) (((a)<<0) | ((b)<<2) | ((c)<<4) | ((d)<<6))
#define BRW_GET_SWZ(swz, idx) (((swz) >> ((idx)*2)) & 0x3)
void brw_remove_duplicate_mrf_moves(struct brw_compile *p);
void brw_remove_grf_to_mrf_moves(struct brw_compile *p);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#include "brw_context.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern const struct brw_tracked_state brw_blend_constant_color;
extern const struct brw_tracked_state brw_cc_vp;
extern const struct brw_tracked_state brw_cc_unit;
get_attr_override(struct brw_vue_map *vue_map, int urb_entry_read_offset,
int fs_attr, bool two_side_color);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct intel_context;
struct intel_mipmap_tree;
struct intel_mipmap_tree *mt,
uint32_t level,
uint32_t layer);
+
+#ifdef __cplusplus
+}
+#endif
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct intel_context;
struct intel_mipmap_tree;
struct intel_mipmap_tree *mt,
uint32_t level,
uint32_t layer);
+
+#ifdef __cplusplus
+}
+#endif
#include "intel_bufmgr.h"
#include "intel_reg.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define BATCH_RESERVED 16
void intel_batchbuffer_init(struct intel_context *intel);
#define ADVANCE_BATCH() intel_batchbuffer_advance(intel);
#define CACHED_BATCH() intel_batchbuffer_cached_advance(intel);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifdef __cplusplus
#undef virtual
-}
#endif
#include "tnl/t_vertex.h"
return (value & (value - 1)) == 0;
}
+#ifdef __cplusplus
+}
+#endif
+
#endif
#include "intel_context.h"
#include "intel_screen.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct intel_context;
struct intel_mipmap_tree;
struct intel_texture_image;
intel_renderbuffer_resolve_depth(struct intel_context *intel,
struct intel_renderbuffer *irb);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* INTEL_FBO_H */
#include "intel_regions.h"
#include "intel_resolve_map.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* A layer on top of the intel_regions code which adds:
*
* - Code to size and layout a region to hold a set of mipmaps.
unsigned int level,
unsigned int slice);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#include "main/mtypes.h"
#include "intel_bufmgr.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct intel_context;
struct intel_buffer_object;
void *data;
};
+#ifdef __cplusplus
+}
+#endif
+
#endif
#include "mtypes.h"
#include "formats.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/** Is the given value one of the 6 cube faces? */
static inline GLboolean
/*@}*/
+#ifdef __cplusplus
+}
+#endif
+
#endif