[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/android 1088a8e8dab 6/7: Update Android port
From: |
Po Lu |
Subject: |
feature/android 1088a8e8dab 6/7: Update Android port |
Date: |
Mon, 29 May 2023 06:07:13 -0400 (EDT) |
branch: feature/android
commit 1088a8e8dab13085951254ee191a267145a9d825
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Update Android port
* src/android.c (android_blit_copy):
(android_blit_xor): Fix typos.
---
src/android.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/android.c b/src/android.c
index 9674fda36d8..e0d0da6704a 100644
--- a/src/android.c
+++ b/src/android.c
@@ -4044,7 +4044,7 @@ android_blit_copy (int src_x, int src_y, int width, int
height,
size_t pixel, offset, offset1;
unsigned char *src_current, *dst_current;
unsigned char *mask_current;
- int overflow, temp, i, xdir;
+ int overflow, temp, i, j;
bool backwards;
unsigned int *long_src, *long_dst;
@@ -4292,7 +4292,7 @@ android_blit_copy (int src_x, int src_y, int width, int
height,
mask_current = mask;
#ifndef __aarch64__
- while (temp--)
+ for (j = 0; j < temp; ++j)
{
/* Sign extend the mask. */
i = *(signed char *) mask_current++;
@@ -4335,14 +4335,16 @@ android_blit_xor (int src_x, int src_y, int width, int
height,
unsigned char *dst, AndroidBitmapInfo *dst_info,
unsigned char *mask, AndroidBitmapInfo *mask_info)
{
+#if 0
uintptr_t start, end;
int mask_offset;
size_t pixel, offset, offset1;
unsigned char *src_current, *dst_current;
unsigned char *mask_current;
- int overflow, temp, i, xdir;
+ int overflow, temp, i;
bool backwards;
unsigned int *long_src, *long_dst;
+#endif /* 0 */
/* Note that this alu hasn't been tested -- it probably does not
work! */
- feature/android updated (d33bf0a0afd -> 1a1cf6b86fc), Po Lu, 2023/05/29
- feature/android 327d2d01313 1/7: Add extra thread-related checking, Po Lu, 2023/05/29
- feature/android 00671b18438 2/7: Implement android_copy_area in C, Po Lu, 2023/05/29
- feature/android 787c947028c 5/7: ; * src/android.c (android_blit_copy): Fix typos., Po Lu, 2023/05/29
- feature/android 9a353545933 3/7: Update Android port, Po Lu, 2023/05/29
- feature/android 7fdde02f321 4/7: Work around more problems with Bitmaps, Po Lu, 2023/05/29
- feature/android 1a1cf6b86fc 7/7: Merge remote-tracking branch 'origin/master' into feature/android, Po Lu, 2023/05/29
- feature/android 1088a8e8dab 6/7: Update Android port,
Po Lu <=