#include <stdbool.h>
#include <string.h>
#include "main/mtypes.h"
-#include "main/mm.h"
+#include "main/errors.h"
#include <drm.h>
#include <intel_bufmgr.h>
#include "tnl_dd/t_dd_vertex.h"
#undef TAG
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#define DV_PF_555 (1<<8)
#define DV_PF_565 (2<<8)
#define DV_PF_8888 (3<<8)
*/
bool front_buffer_dirty;
- bool use_early_z;
-
__DRIcontext *driContext;
struct intel_screen *intelScreen;
#ifdef HAVE_ANDROID_PLATFORM
#define LOG_TAG "INTEL-MESA"
+#if ANDROID_API_LEVEL >= 26
+#include <log/log.h>
+#else
#include <cutils/log.h>
+#endif /* use log/log.h start from android 8 major version */
#ifndef ALOGW
#define ALOGW LOGW
#endif
extern int intel_translate_compare_func(GLenum func);
extern int intel_translate_stencil_op(GLenum op);
extern int intel_translate_blend_factor(GLenum factor);
-extern int intel_translate_logic_op(GLenum opcode);
void intel_update_renderbuffers(__DRIcontext *context,
__DRIdrawable *drawable);
return (struct intel_context *) ctx;
}
-#ifdef __cplusplus
-}
-#endif
-
#endif