libmesa_winsys_panfrost \
libpanfrost_bifrost \
libpanfrost_decode \
- libpanfrost_encoder \
+ libpanfrost_lib \
libpanfrost_midgard \
libpanfrost_shared \
libpanfrost_util \
libmesa_gallium \
libpanfrost_bifrost \
libpanfrost_decode \
- libpanfrost_encoder \
+ libpanfrost_lib \
libpanfrost_midgard \
libpanfrost_shared \
libpanfrost_util \
+++ /dev/null
-# Copyright © 2019 Collabora Ltd.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included
-# in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libpanfrost_encoder
-
-LOCAL_SRC_FILES := \
- $(encoder_FILES)
-
-LOCAL_C_INCLUDES := \
- $(MESA_TOP)/src/gallium/auxiliary/ \
- $(MESA_TOP)/src/gallium/include/ \
- $(MESA_TOP)/src/panfrost/encoder/ \
- $(MESA_TOP)/src/panfrost/include/
-
-LOCAL_STATIC_LIBRARIES := \
- libmesa_nir
-
-LOCAL_GENERATED_SOURCES := \
-
-LOCAL_EXPORT_C_INCLUDE_DIRS := \
- $(MESA_TOP)/src/panfrost/encoder/ \
-
-include $(MESA_COMMON_MK)
-include $(BUILD_STATIC_LIBRARY)
\ No newline at end of file
--- /dev/null
+# Copyright © 2019 Collabora Ltd.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libpanfrost_lib
+
+LOCAL_SRC_FILES := \
+ $(lib_FILES)
+
+LOCAL_C_INCLUDES := \
+ $(MESA_TOP)/src/gallium/auxiliary/ \
+ $(MESA_TOP)/src/gallium/include/ \
+ $(MESA_TOP)/src/panfrost/lib/ \
+ $(MESA_TOP)/src/panfrost/include/
+
+LOCAL_STATIC_LIBRARIES := \
+ libmesa_nir
+
+LOCAL_GENERATED_SOURCES := \
+
+LOCAL_EXPORT_C_INCLUDE_DIRS := \
+ $(MESA_TOP)/src/panfrost/lib/ \
+
+include $(MESA_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)
include $(LOCAL_PATH)/Makefile.sources
include $(LOCAL_PATH)/Android.util.mk
include $(LOCAL_PATH)/Android.bifrost.mk
-include $(LOCAL_PATH)/Android.encoder.mk
+include $(LOCAL_PATH)/Android.lib.mk
include $(LOCAL_PATH)/Android.midgard.mk
include $(LOCAL_PATH)/Android.shared.mk
include $(LOCAL_PATH)/Android.pandecode.mk
$(MESA_TOP)/src/gallium/auxiliary/ \
$(MESA_TOP)/src/gallium/include/ \
$(MESA_TOP)/src/panfrost/include/ \
- $(MESA_TOP)/src/panfrost/encoder/ \
+ $(MESA_TOP)/src/panfrost/lib/ \
$(MESA_TOP)/src/panfrost/pandecode/
LOCAL_STATIC_LIBRARIES := \
- libpanfrost_encoder
+ libpanfrost_lib
LOCAL_GENERATED_SOURCES := \
$(MESA_TOP)/src/panfrost/pandecode/ \
include $(MESA_COMMON_MK)
-include $(BUILD_STATIC_LIBRARY)
\ No newline at end of file
+include $(BUILD_STATIC_LIBRARY)
bifrost/disassemble.c \
bifrost/disassemble.h
-encoder_FILES := \
- encoder/pan_afbc.c \
- encoder/pan_attributes.c \
- encoder/pan_bo.c \
- encoder/pan_bo.h \
- encoder/pan_blit.c \
- encoder/pan_device.h \
- encoder/pan_encoder.h \
- encoder/pan_format.c \
- encoder/pan_invocation.c \
- encoder/pan_pool.c \
- encoder/pan_pool.h \
- encoder/pan_props.c \
- encoder/pan_sampler.c \
- encoder/pan_scoreboard.c \
- encoder/pan_scoreboard.h \
- encoder/pan_tiler.c \
- encoder/pan_texture.c \
- encoder/pan_scratch.c \
- encoder/pan_util.h
+lib_FILES := \
+ lib/pan_afbc.c \
+ lib/pan_attributes.c \
+ lib/pan_bo.c \
+ lib/pan_bo.h \
+ lib/pan_blit.c \
+ lib/pan_device.h \
+ lib/pan_encoder.h \
+ lib/pan_format.c \
+ lib/pan_invocation.c \
+ lib/pan_pool.c \
+ lib/pan_pool.h \
+ lib/pan_props.c \
+ lib/pan_sampler.c \
+ lib/pan_scoreboard.c \
+ lib/pan_scoreboard.h \
+ lib/pan_tiler.c \
+ lib/pan_texture.c \
+ lib/pan_scratch.c \
+ lib/pan_util.h
midgard_FILES := \
midgard/compiler.h \