summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-15 14:20:30 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-15 14:20:30 +0800
commita49adc545bae522851b095c05df9d82d78fc78c8 (patch)
treefa11aaf273bd6ade312f549d1d8b380a61d8daf9
parentb4d0fdf8d25777dc7b6ad69f7338ea8ca6800638 (diff)
Update Android.mk for recent merge.
-rw-r--r--src/mesa/Android.mk50
-rw-r--r--src/mesa/drivers/dri/i915/i915_program.c1
-rw-r--r--src/mesa/es/main/mfeatures.h2
-rw-r--r--src/mesa/main/glheader.h7
-rw-r--r--src/mesa/swrast/swrast.h6
5 files changed, 36 insertions, 30 deletions
diff --git a/src/mesa/Android.mk b/src/mesa/Android.mk
index 91a0940a54..bf2d99fdaf 100644
--- a/src/mesa/Android.mk
+++ b/src/mesa/Android.mk
@@ -1,9 +1,10 @@
LOCAL_PATH := $(call my-dir)
-include $(LOCAL_PATH)/sources
+MESA := $(LOCAL_PATH)
+include $(LOCAL_PATH)/es/sources.mak
-common_CFLAGS := \
- -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DIN_DRI_DRIVER \
+common_CFLAGS := \
+ -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS \
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
common_CFLAGS += -DPTHREADS
@@ -18,8 +19,9 @@ endif
common_C_INCLUDES := \
$(LOCAL_PATH)/../../include \
- $(LOCAL_PATH) \
- $(LOCAL_PATH)/main
+ $(LOCAL_PATH)/es/glapi/headers-es1 \
+ $(LOCAL_PATH)/es \
+ $(LOCAL_PATH)
include $(CLEAR_VARS)
@@ -37,13 +39,18 @@ endif
include $(CLEAR_VARS)
+mesa_SOURCES := $(ES1_MESA_SOURCES)
+es1_SOURCES := $(addprefix es/, $(ES1_LOCAL_SOURCES))
+
LOCAL_SRC_FILES := \
- $(MESA_SOURCES) \
+ $(mesa_SOURCES) \
+ $(es1_SOURCES) \
$(MESA_ASM_SOURCES)
LOCAL_C_INCLUDES += $(common_C_INCLUDES)
LOCAL_CFLAGS += \
+ -include es/main/mfeatures.h \
$(common_CFLAGS) \
-Wno-sign-compare
@@ -72,15 +79,17 @@ i915_SOURCES = \
i830_metaops.c \
i830_state.c \
i830_texblend.c \
- i830_tex.c \
i830_texstate.c \
i830_vtbl.c \
intel_render.c \
intel_regions.c \
intel_buffer_objects.c \
intel_batchbuffer.c \
+ intel_clear.c \
+ intel_eglimage.c \
+ intel_extensions.c \
+ intel_generatemipmap.c \
intel_mipmap_tree.c \
- i915_tex_layout.c \
intel_tex_layout.c \
intel_tex_image.c \
intel_tex_subimage.c \
@@ -89,13 +98,11 @@ i915_SOURCES = \
intel_tex_format.c \
intel_tex.c \
intel_pixel.c \
- intel_pixel_bitmap.c \
- intel_pixel_copy.c \
- intel_pixel_draw.c \
intel_pixel_read.c \
intel_buffers.c \
intel_blit.c \
- i915_tex.c \
+ intel_swapbuffers.c \
+ i915_tex_layout.c \
i915_texstate.c \
i915_context.c \
i915_debug.c \
@@ -110,18 +117,19 @@ i915_SOURCES = \
intel_screen.c \
intel_span.c \
intel_state.c \
+ intel_syncobj.c \
intel_tris.c \
- intel_fbo.c \
- intel_depthstencil.c
+ intel_fbo.c
i915_SOURCES := $(addprefix drivers/dri/i915/, $(i915_SOURCES))
common_SOURCES = \
- utils.c \
- texmem.c \
- vblank.c \
- dri_util.c \
- xmlconfig.c \
- drirenderbuffer.c
+ utils.c \
+ vblank.c \
+ dri_util.c \
+ xmlconfig.c \
+ texmem.c \
+ drirenderbuffer.c \
+ dri_metaops.c
common_SOURCES := $(addprefix drivers/dri/common/, $(common_SOURCES))
LOCAL_SRC_FILES := \
@@ -136,7 +144,7 @@ LOCAL_C_INCLUDES += \
$(common_C_INCLUDES) \
external/drm/libdrm \
external/drm/libdrm/intel \
- external/drm/shared-core \
+ external/drm/shared-core \
external/expat/lib
LOCAL_CFLAGS += \
diff --git a/src/mesa/drivers/dri/i915/i915_program.c b/src/mesa/drivers/dri/i915/i915_program.c
index defe27f11d..e87700f8e0 100644
--- a/src/mesa/drivers/dri/i915/i915_program.c
+++ b/src/mesa/drivers/dri/i915/i915_program.c
@@ -25,7 +25,6 @@
*
**************************************************************************/
-#include <stdlib.h>
#include <strings.h>
#include "main/glheader.h"
diff --git a/src/mesa/es/main/mfeatures.h b/src/mesa/es/main/mfeatures.h
index 28f376d2d1..19f09b233f 100644
--- a/src/mesa/es/main/mfeatures.h
+++ b/src/mesa/es/main/mfeatures.h
@@ -36,8 +36,6 @@
#ifndef MFEATURES_H
#define MFEATURES_H
-#include "main/compiler.h"
-
/* this file replaces main/mfeatures.h */
#ifdef FEATURES_H
#error "main/mfeatures.h was wrongly included"
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 81d4ccf919..7b14c24d24 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -57,6 +57,13 @@
#ifndef GL_FIXED
#define GL_FIXED 0x140C
+
+typedef int GLfixed;
+typedef int GLclampx;
+typedef void *GLeglImageOES;
+#define HAVE_GLES_TYPES
+#define GL_OES_EGL_image
+
#endif
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h
index a85d69bfbf..436c7ad0f9 100644
--- a/src/mesa/swrast/swrast.h
+++ b/src/mesa/swrast/swrast.h
@@ -76,12 +76,6 @@ typedef struct {
} SWvertex;
-/**
- * Fixed point data type.
- */
-typedef int GLfixed;
-
-
#define FRAG_ATTRIB_CI FRAG_ATTRIB_COL0