#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>
*/
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);