Android-x86
Fork

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-native: コミット一覧

frameworks/native


RSS
Rev. 日時 作者
e9ad16b s-x86 2023-07-25 01:03:31 Chris Forbes

Inline GetPhysicalDeviceProperties2 into QueryPresentationProperties

In general, we implement the 1.1 instance / physical device API as
preferring to call the native 1.1 function if available; otherwise
falling back to calling the equivalent GPDP2 function. If the
underlying driver supports *neither* then any caller of that function
has already invoked UB by calling it and so falling over is acceptable.

Unfortunately, the loader itself does call vkGetPhysicalDeviceProperties2
in one case, regardless of what the driver may support, in order to
determine whether the platform's swapchain implementation should expose
some features. On a 1.0 driver without the GPDP2 extension, this caused
trouble.

As a slight further wrinkle, vkGetPhysicalDeviceProperties2 "cannot
fail", making propagating a failure back up through the loader annoying.

As a workaround, inline the calls to GetPhysicalDeviceProperties2 and
GetPhysicalDeviceProperties2KHR into QueryPresentationProperties, where
we can handle our one special case of both function pointers being
missing but behavior being defined.

Bug: b/192130684
Change-Id: Iff2bae98b7931bed80fafd895cf57061becabd8d
(cherry picked from commit e056c12782125c3ad5876f3ac7528d9889808675)

3719000 2023-07-25 01:03:29 Chih-Wei Huang

inputflinger: fix relative mouse movement

Since commit 78f97b326 ("Support pointer capture in InputReader") the
logic to determine whether mouse input is relative was changed.
However, commit 447a667 was forward ported from nougat-x86. It doesn't
consider that.

Fixes: 447a667 ("inputflinger: treat tablet-style inputs as absolute coordinate mouse pointer")
Reported-and-tested-by: MrARM Slack <mrarm.slack@gmail.com>

111e26b 2023-07-25 01:03:28 Fan, Yugang

Use BRGA as default format for only EFI FB rendering.

As efifb only supports BGRA format, we need config up-level
to support this when using software rendering.

Change-Id: I1fb2ba042522faac160440e5b660c01a24db2489
Tracked-On: None
Signed-off-by: Fan Yugang <yugang.fan@intel.com>

54e4985 2023-07-25 01:03:27 Jon Doe

inputflinger: treat tablet-style inputs as absolute coordinate mouse pointer

Qemu and VirtualBox use tablet-style inputs. However, it's difficult to
work with the current "invisible finger" or "drag pointer" interface
provided to the virtual absolute coordinate pointing devices.
Instead, this patch classifies them as a regular mouse pointer
(INPUT_DEVICE_CLASS_CURSOR), which is more intuitive to work with.

Change-Id: I15c8fd7bb8e08e9623d093372809b9a01708a85f

c6c5bb1 2023-07-25 01:03:26 Chih-Wei Huang

SurfaceFlinger: support higher resolution

8b7981a 2023-07-25 01:03:24 Chih-Wei Huang

libEGL: select pixel format by EGL_NATIVE_VISUAL_ID

We need this workaround until Mesa supports HAL_PIXEL_FORMAT_RGBA_8888.

f229134 2023-07-25 01:03:23 Chih-Wei Huang

RenderEngine: support non-RGBA_8888 format

Some of our GPUs (e.g., radeon) don't support RGBA_8888 well.
To workaround it, just get the EGL config by a simpler query.

This patch should be reverted once all of our GPUs support
RGBA_8888.

20af3e6 2023-07-25 01:03:22 Chih-Wei Huang

installd: a workaround for 9p filesystem

SELinux and getxattr seem not work on 9p filesystem.
Ignore the errors as a workaround.

TEST: be able to boot to Home on QEMU with shared 'data' folder.

fed6c08 2023-07-25 01:03:20 Chih-Wei Huang

Run SurfaceFlinger with root privilege

To control virtual consoles, SurfaceFlinger needs the root privilege.

646e7c7 2023-07-25 01:03:19 Byron Gardner

Enable 64-bit support in libs/gui/Sensor.cpp

Change-Id: Iaaa112bd821a6a0e3234461df8f7b6acc47b254e
Orig-Change-Id: I04c22e6f2c6f4271ca451b775c8d7f86e4c97c38
Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-9998
Category: aosp improvement
Domain: SENSORS.VIRT-Common
Origin: internal
Upstream-Candidate: yes
Signed-off-by: Byron Gardner <byron.gardner@intel.com>
Reviewed-on: https://android.intel.com:443/296325

947584a 2023-07-25 01:03:18 Chih-Wei Huang

InputReader: add 5-point calibration

Updated for Android 5.0.

Change-Id: Id3b3ce2869a3cf1ed66a0c071500def3bfa4a771

21cc3e3 2023-07-25 01:03:17 Chih-Wei Huang

auto determine the density if not provided in surfaceflinger

We hope to support tablet UI for different resolutions.
So adjust the density according to the resolution.

0a5c175 2023-07-25 01:03:15 Chih-Wei Huang

SurfaceFlinger: enable console management

The console management was removed since ICS. But it's useful for debugging.
Re-implement it based on the original class ConsoleManagerThread of class
DisplayHardwareBase.

Change-Id: Iad3564502761a9f03f4cddbe0c1bfc4b2648d02a

44892de 2023-07-25 01:03:13 juntingwang

Set PS2 Keyboard controller as not a ketboard type

The Eventhub detects the platforms built-in PS/2 keyboard controller
as a physical keyboard. So the system will not display the software
keyboard by default. Modify it device type in Keyboard-less tablets,
so that ActivityManager will not ignore the PS/2 controller.

Issue: AXIA-1875

Change-Id: Ia5b7592e82aaf1970066bab5e9ca5f46ac83ab1c
Signed-off-by: juntingwang <Junting.Wang@windriver.com>

78907d3 2023-07-25 01:03:12 Edward Peek

Add option to disable touchscreen pressure sensitivity from idc files

9e0c409 2023-07-25 01:03:11 DanielK

Support old single-touch touchscreens with BTN_LEFT

89c8084 2022-01-16 07:06:43 Android Build Coastguard Worker

Snap for 8084085 from f8ce875c134b1e6ce08171c2cb4b4f3232a90b08 to sc-v2-release

Change-Id: I29b9af3378136b2f60ca883b2265d0874569c7fc

f8ce875 2022-01-15 03:50:40 Kalesh Singh

Allow gpuservice to read tracefs entries

Gpu service needs tracefs access to attach the BPF program
to the gpu_mem_total tracepoint for GPU memory tracking.

Bug: 208892266
Bug: 209513178
Bug: 214061655
Test: adb shell dumpsys gpu --gpumem
Change-Id: I10fd54544bee940313f3987247c1841101a9d03a
Merged-In: I10fd54544bee940313f3987247c1841101a9d03a

8e5fd1b 2022-01-14 09:07:36 Android Build Coastguard Worker

Snap for 8076550 from 73e5d94f4b5de774690e0b55cd766f4baae4e121 to sc-v2-release

Change-Id: I15c0abde8bad83180a3971ec685378bacdf09c09

73e5d94 2022-01-13 07:10:18 Garfield Tan

[automerger skipped] Skip creating external textures that exceeds size limit am: ec7e4d9a5c -s ours am: 9c097670cd -s ours

am skip reason: Merged-In I52d253ed5a10f0e4ade372048721913405ed668a with SHA-1 2914a57d75 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16613881

Change-Id: I3976b73eb9ba72294a5a4113264fed51e3c6903d

9c09767 2022-01-13 07:03:25 Garfield Tan

[automerger skipped] Skip creating external textures that exceeds size limit am: ec7e4d9a5c -s ours

am skip reason: Merged-In I52d253ed5a10f0e4ade372048721913405ed668a with SHA-1 2914a57d75 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16613881

Change-Id: I9218d997dcf98117b0f241de6dea69be74095f8d

8299755 2022-01-13 07:03:24 Garfield Tan

[automerger skipped] Skip creating external textures that exceeds size limit am: 2914a57d75 -s ours

am skip reason: Merged-In I52d253ed5a10f0e4ade372048721913405ed668a with SHA-1 9c9c191345 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16614247

Change-Id: Ic690dbeb34cbc62c4d38d8348587f13a6fcb7efc

2914a57 2022-01-13 03:02:41 Garfield Tan

Skip creating external textures that exceeds size limit

Skia always accept an Android buffer and wraps it around with a texture
even if its size exceeds the limit GL exposes. Therefore let's skip
creating the texture in SurfaceFlinger and outputs an error log to
logcat.

I chose to do it in SurfaceFlinger rather than RenderEngine is because
the external texture mapping is designed to be asynchronous, so it'd be
better to keep that way. The limit is also exposed out of RenderEngine
so SurfaceFlinger can check it before creating external textures as
well.

Bug: 190399306
Bug: 204316511
Test: The test mentioned in the bug fails instead of crashing
SurfaceFlinger.
Test: atest SurfaceFlinger_test
Test: atest libsurfaceflinger_unittest

Change-Id: I52d253ed5a10f0e4ade372048721913405ed668a
(cherry picked from commit 9c9c19134593655c36fe70aaa45a91ad4f75e36f)
Merged-In: I52d253ed5a10f0e4ade372048721913405ed668a

ec7e4d9 2022-01-13 03:02:35 Garfield Tan

Skip creating external textures that exceeds size limit

Skia always accept an Android buffer and wraps it around with a texture
even if its size exceeds the limit GL exposes. Therefore let's skip
creating the texture in SurfaceFlinger and outputs an error log to
logcat.

I chose to do it in SurfaceFlinger rather than RenderEngine is because
the external texture mapping is designed to be asynchronous, so it'd be
better to keep that way. The limit is also exposed out of RenderEngine
so SurfaceFlinger can check it before creating external textures as
well.

Bug: 190399306
Bug: 204316511
Test: The test mentioned in the bug fails instead of crashing
SurfaceFlinger.
Test: atest SurfaceFlinger_test
Test: atest libsurfaceflinger_unittest

Change-Id: I52d253ed5a10f0e4ade372048721913405ed668a
(cherry picked from commit 9c9c19134593655c36fe70aaa45a91ad4f75e36f)
Merged-In: I52d253ed5a10f0e4ade372048721913405ed668a

cd71d85 2022-01-12 09:07:37 Android Build Coastguard Worker

Snap for 8068644 from ee4a87b8617b91e5c3006efa74b4a25377b2a07f to sc-v2-release

Change-Id: I1eb04573e4067c70aff5c6e6ef470122dbbbadf8

c27855a 2022-01-11 09:06:38 Android Build Coastguard Worker

Snap for 8060779 from 6f28d23f07e70a91157880b5c9d9423c388de92d to sc-v2-release

Change-Id: I6a6467d5515bfae05384053e816c8fb8d363ffad

ee4a87b 2022-01-11 03:54:39 TreeHugger Robot

Merge "DO NOT MERGE SF: Fix releaseBufferEndpoint merge issue" into sc-v2-dev

6f28d23 2022-01-11 02:04:44 Philip Junker

Merge "Fix KeyCharacterMap overlays by reloading base overlay before applying another overlay." into sc-v2-dev

fdde8fd 2022-01-08 11:06:30 Android Build Coastguard Worker

Snap for 8055317 from b6f8479039c1462a0f2e041d6376e3e208bbb70f to sc-v2-release

Change-Id: I7262d559ebece98f97357db12d77af68e6d40e2b

677a3ec 2022-01-08 10:41:25 Vishnu Nair

DO NOT MERGE SF: Fix releaseBufferEndpoint merge issue

If a transaction contained a cached buffer, and was
parcelled then merged, the releaseBufferEndpoint would
not be merged correctly. This would result in SF not
releasing a buffer and the app eventually ANRing.

DO NOT MERGE because this issue doesn't exist in master

Bug: b/205791752
Test: manually rotate apps to trigger sync
transactions and check the logs to see
we don't release stale buffers. Real tests to
follow

Change-Id: Ibd295be5e06fea00b331610206f1664f651afed3

旧リポジトリブラウザで表示