#include "pipe/p_compiler.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
#include "c99_math.h"
#include <float.h>
#include <stdarg.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#ifndef M_SQRT2
#define M_SQRT2 1.41421356237309504880
#endif
#include "r600_asm.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct r600_shader_io {
unsigned name;
unsigned gpr;
TGSI_INTERPOLATE_LOC_CENTER/SAMPLE/COUNT. Other input values return -1. */
int eg_get_interpolator_index(unsigned interpolate, unsigned location);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+
#endif
#ifndef SB_BC_H_
#define SB_BC_H_
-extern "C" {
#include <stdint.h>
#include "r600_isa.h"
-}
#include <cstdio>
#include <string>
#define BCP_DUMP(q)
#endif
-extern "C" {
#include "r600_pipe.h"
#include "r600_shader.h"
-}
#include <stack>
#define SB_RA_SCHED_CHECK DEBUG
-extern "C" {
#include "os/os_time.h"
#include "r600_pipe.h"
#include "r600_shader.h"
#include "sb_public.h"
-}
#include <stack>
#include <map>
#ifndef R600_SB_H_
#define R600_SB_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct r600_shader;
void r600_sb_context_destroy(void *sctx);
int dump_source_bytecode,
int optimize);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+
#endif //R600_SB_H_
#include "glxclient.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern struct _glapi_table *__glXNewIndirectAPI(void);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* _INDIRECT_INIT_H_ */
#include <gtest/gtest.h>
#include "main/glheader.h"
-extern "C" {
#include "../indirect_init.h"
#include "glapi/glapi.h"
#include "../../mesa/main/dispatch.h"
-}
static const void *nil = 0;
#include <gtest/gtest.h>
#include "../../../mesa/main/glheader.h"
-extern "C" {
#include "glapi/glapi.h"
#include "glapi/glapitable.h"
-}
struct name_offset {
const char *name;
#ifndef DRIVERFUNCS_H
#define DRIVERFUNCS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void
_mesa_init_driver_functions(struct dd_function_table *driver);
extern void
_mesa_init_driver_state(struct gl_context *ctx);
+#ifdef __cplusplus
+} // extern "C"
+#endif
#endif
* from the LIR.
*/
-extern "C" {
-
#include <sys/types.h>
#include "util/hash_table.h"
#include "brw_context.h"
#include "brw_eu.h"
#include "brw_wm.h"
-}
#include "brw_fs.h"
#include "brw_cfg.h"
#include "brw_dead_control_flow.h"
* we do retain the vector types in that case.
*/
-extern "C" {
#include "main/core.h"
#include "brw_wm.h"
-}
#include "glsl/ir.h"
#include "glsl/ir_expression_flattening.h"
#include "glsl/glsl_types.h"
* native instructions.
*/
-extern "C" {
#include "main/macros.h"
#include "brw_context.h"
#include "brw_eu.h"
-} /* extern "C" */
-
#include "brw_fs.h"
#include "brw_cfg.h"
* behavior we want for the results of texture lookups, but probably not for
*/
-extern "C" {
#include "main/core.h"
#include "brw_context.h"
-}
#include "glsl/ir.h"
#include "glsl/ir_visitor.h"
#include "glsl/ir_rvalue_visitor.h"
* makes it easier to do backend-specific optimizations than doing so
* in the GLSL IR or in the native code.
*/
-extern "C" {
-
#include <sys/types.h>
#include "main/macros.h"
#include "brw_context.h"
#include "brw_eu.h"
#include "brw_wm.h"
-}
#include "brw_vec4.h"
#include "brw_fs.h"
#include "main/uniforms.h"
* IN THE SOFTWARE.
*/
-extern "C" {
#include "main/macros.h"
#include "brw_context.h"
-}
#include "brw_vs.h"
#include "brw_gs.h"
#include "brw_fs.h"
* IN THE SOFTWARE.
*/
-extern "C" {
#include "main/macros.h"
#include "util/register_allocate.h"
-} /* extern "C" */
-
#include "brw_vec4.h"
#include "brw_vs.h"
#include "brw_cfg.h"
#define AA_SOMETIMES 1
#define AA_ALWAYS 2
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Compile a fragment shader.
*
void
brw_upload_wm_prog(struct brw_context *brw);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif
#ifndef API_EXEC_H
#define API_EXEC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
struct _glapi_table;
struct gl_context;
extern void
_mesa_initialize_dispatch_tables(struct gl_context *ctx);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif
#include <gtest/gtest.h>
-extern "C" {
#include "GL/gl.h"
#include "GL/glext.h"
#include "main/compiler.h"
#endif
#include "main/dispatch.h"
-}
struct function {
const char *name;
#include <gtest/gtest.h>
-extern "C" {
#include "GL/gl.h"
#include "GL/glext.h"
#include "main/compiler.h"
-}
#include "program/prog_statevars.h"
#include "mtypes.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
extern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
extern void _mesa_initialize_vbo_vtxfmt(struct gl_context *ctx);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* _VTXFMT_H_ */
#include <stdbool.h>
#include "main/glheader.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gl_client_array;
struct gl_context;
struct gl_transform_feedback_object;
void GLAPIENTRY
_es_VertexAttrib4fv(GLuint indx, const GLfloat* values);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif
#include "main/macros.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct vbo_context {
struct gl_client_array currval[VBO_ATTRIB_MAX];
}
}
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif
noinst_LTLIBRARIES = libmesautil.la
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/include
+
libmesautil_la_CPPFLAGS = \
$(DEFINES) \
-I$(top_srcdir)/include \
#include <stdbool.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct ra_class;
struct ra_regs;
int ra_get_best_spill_node(struct ra_graph *g);
/** @} */
+
+#ifdef __cplusplus
+} // extern "C"
+#endif