# ./probe_ui/capi_capture.c
TIZEN_SRCS = $(COMMON_SRCS) $(CAPI_SRCS)\
- ./helper/addr-tizen.c \
- ./helper/common_probe_init.cpp \
- ./probe_memory/libdanew.cpp
+ ./helper/addr-tizen.c \
+ ./helper/common_probe_init.cpp \
+ ./probe_memory/libdanew.cpp \
+ ./probe_graphics/da_gles20_tizen.cpp \
+ ./probe_graphics/da_gles20_native.cpp
+
ASM_SRC = ./helper/da_call_original.S
#ifndef DA_GLES20_H_
#define DA_GLES20_H_
+/*
+ * TODO find this headers. need for EGL_Context and other
#include <egl.h>
#include <eglext.h>
#include <gl2.h>
#include <gl2ext.h>
+*/
+
+#include <Evas_GL.h>
+#include <Evas.h>
+
#include <errno.h>
#include "daprobe.h"
#include "dahelper.h"
+/* TODO add egl header for next */
+#define EGLContext void *
+extern EGLContext eglGetCurrentContext(void);
+
#define NO_RETURN_FORMAT "%s"
#define NO_RETURN_VALUE 0
#define APITYPE_INIT 0
static enum DaOptions _sopt = OPT_GLES;
static __thread GLenum gl_error_external = GL_NO_ERROR;
+GLenum glGetError(void);
+void glGetIntegerv(GLenum pname, GLint * params);
+
static void init_probe_gl(const char *func_name, void **func_pointer,
ORIGINAL_LIBRARY id, int blockresult, int32_t vAPI_ID)
{