aboutsummaryrefslogtreecommitdiffstats
path: root/java/Makefile.in
diff options
context:
space:
mode:
authorPo Lu2024-04-23 14:30:38 +0800
committerPo Lu2024-04-23 14:30:38 +0800
commitb9c191d690fd5d1480858469df23cc4509996fae (patch)
tree2e0536607f1442a99e88e39af8d24c51bab45aeb /java/Makefile.in
parent63765a74f15ef22109750414ec3025c8a40039f0 (diff)
downloademacs-b9c191d690fd5d1480858469df23cc4509996fae.tar.gz
emacs-b9c191d690fd5d1480858469df23cc4509996fae.zip
Implement face stipples on Android
* .gitignore: * java/Makefile.in: Fix typos. * java/org/gnu/emacs/EmacsFillRectangle.java (perform): Call blitOpaqueStipple if filling an unobscured rectangle with an opaque stipple. * java/org/gnu/emacs/EmacsGC.java (EmacsGC) <tileObject>: New field. (markDirty): Synchronize the current stipple with tileObject. (prepareStipple, blitOpaqueStipple): New functions. * java/org/gnu/emacs/EmacsService.java (EmacsService) <resources>: New static field. (onCreate): Set it. * src/android.c (android_create_bitmap_from_data): Correct order of arguments to android_create_pixmap_from_bitmap_data. (HAS_BUILTIN_TRAP): Delete macro. (emacs_abort): Always induce backtraces by means of a NULL pointer deference. * src/dispextern.h (Emacs_GC, Emacs_Rectangle, GCForeground) (GCBackground, GCFillStyle, GCStipple, FillOpaqueStipple) [HAVE_ANDROID]: Define to their Android counterparts rather than simulating their existence. * src/epaths.in: Set bitmap path to /assets/bitmaps on Android. * src/image.c (image_bitmap_pixmap): Also enable when HAVE_ANDROID. * src/sfntfont-android.c (sfntfont_android_put_glyphs): Assert that this is never called to draw a stippled background. * src/xfaces.c (x_create_gc) [HAVE_ANDROID]: Redefine as wrapper around android_create_gc. (prepare_face_for_display) [HAVE_ANDROID]: Enable stipples.
Diffstat (limited to 'java/Makefile.in')
-rw-r--r--java/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/java/Makefile.in b/java/Makefile.in
index abddae6b5cf..35d2637837c 100644
--- a/java/Makefile.in
+++ b/java/Makefile.in
@@ -197,10 +197,13 @@ install_temp: $(CROSS_BINS) $(CROSS_LIBS) $(RESOURCE_FILES)
197 $(AM_V_SILENT) mkdir -p install_temp/assets/etc 197 $(AM_V_SILENT) mkdir -p install_temp/assets/etc
198 $(AM_V_SILENT) mkdir -p install_temp/assets/lisp 198 $(AM_V_SILENT) mkdir -p install_temp/assets/lisp
199 $(AM_V_SILENT) mkdir -p install_temp/assets/info 199 $(AM_V_SILENT) mkdir -p install_temp/assets/info
200# Install architecture independents to assets/etc and assets/lisp 200 $(AM_V_SILENT) mkdir -p install_temp/assets/bitmaps
201# Install architecture independents to assets/etc, assets/lisp and
202# assets/bitmaps
201 $(AM_V_SILENT) cp -r $(top_srcdir)/lisp install_temp/assets 203 $(AM_V_SILENT) cp -r $(top_srcdir)/lisp install_temp/assets
202 $(AM_V_SILENT) cp -r $(top_srcdir)/etc install_temp/assets 204 $(AM_V_SILENT) cp -r $(top_srcdir)/etc install_temp/assets
203 $(AM_V_SILENT) cp -r $(top_srcdir)/info install_temp/assets 205 $(AM_V_SILENT) cp -r $(top_srcdir)/info install_temp/assets
206 $(AM_V_SILENT) cp -r $(top_srcdir)/src/bitmaps install_temp/assets
204# Replace etc/DOC generated by compiling Emacs for the build machine 207# Replace etc/DOC generated by compiling Emacs for the build machine
205# with etc/DOC from the cross-compiled Emacs. 208# with etc/DOC from the cross-compiled Emacs.
206 $(AM_V_SILENT) test -f $(top_builddir)/cross/etc/DOC \ 209 $(AM_V_SILENT) test -f $(top_builddir)/cross/etc/DOC \
@@ -354,8 +357,8 @@ public static final String[] EMACS_SHARED_LIBRARIES\
354 357
355# cf-stamp-1 is a phony target invoked in a second `make' instance after 358# cf-stamp-1 is a phony target invoked in a second `make' instance after
356# all shared libraries are compiled, because the computation of 359# all shared libraries are compiled, because the computation of
357# ALL_DEPENDENCIES cannot be postponed until that stage in this instance 360# ALL_DEPENDENCIES in this instance of Make cannot be postponed until
358# of Make. 361# that stage.
359cf-stamp: $(NDK_BUILD_SHARED) $(CROSS_LIBS) 362cf-stamp: $(NDK_BUILD_SHARED) $(CROSS_LIBS)
360 $(AM_V_EMACSCONFIG) $(MAKE) cf-stamp-1 363 $(AM_V_EMACSCONFIG) $(MAKE) cf-stamp-1
361 $(AM_V_at) touch $@ 364 $(AM_V_at) touch $@