Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add androidHardwareAccelerationDisabled prop #265

Merged
merged 5 commits into from
Jan 22, 2019

Conversation

YangXiaomei
Copy link
Contributor

Hardware acceleration is enabled by default if your Target API level is >=14. However, because hardware acceleration is not supported for all of the 2D drawing operations, turning it on might affect some of your custom views or drawing calls. To disable hardware acceleration in application level will slow down the app, so we'd better to add a prop to enable user to disable hardware acceleration for android platform in view level
Please view the details in Hardware acceleration

@Titozzz Titozzz merged commit d3fc5e6 into react-native-webview:master Jan 22, 2019
@Titozzz
Copy link
Collaborator

Titozzz commented Jan 22, 2019

@allcontributors[bot] please add @YangXiaomei for code, doc

@allcontributors
Copy link
Contributor

@Titozzz

I've put up a pull request to add @YangXiaomei! 🎉

Titozzz pushed a commit that referenced this pull request Jan 22, 2019
# [3.2.0](v3.1.3...v3.2.0) (2019-01-22)

### Features

* **android props:** Add `androidHardwareAccelerationDisabled` prop ([#265](#265)) ([d3fc5e6](d3fc5e6))
@Titozzz
Copy link
Collaborator

Titozzz commented Jan 22, 2019

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Titozzz pushed a commit that referenced this pull request Jan 22, 2019
Adds @YangXiaomei as a contributor for code, doc.

This was requested by Titozzz [in this comment](#265 (comment))
phuongwd pushed a commit to phuongwd/react-native-webview that referenced this pull request Apr 29, 2020
…eact-native-webview#265)

* add test code for disable hardware acceleration

* add interface to disable android hardware acceleration

* Update index.d.ts
phuongwd pushed a commit to phuongwd/react-native-webview that referenced this pull request Apr 29, 2020
# [3.2.0](react-native-webview/react-native-webview@v3.1.3...v3.2.0) (2019-01-22)

### Features

* **android props:** Add `androidHardwareAccelerationDisabled` prop ([react-native-webview#265](react-native-webview#265)) ([d3fc5e6](react-native-webview@d3fc5e6))
phuongwd pushed a commit to phuongwd/react-native-webview that referenced this pull request Apr 29, 2020
…#268)

Adds @YangXiaomei as a contributor for code, doc.

This was requested by Titozzz [in this comment](react-native-webview#265 (comment))
noproblem23 added a commit to noproblem23/react-native-webview that referenced this pull request Apr 18, 2023
# [3.2.0](react-native-webview/react-native-webview@v3.1.3...v3.2.0) (2019-01-22)

### Features

* **android props:** Add `androidHardwareAccelerationDisabled` prop ([#265](react-native-webview/react-native-webview#265)) ([d3fc5e6](react-native-webview/react-native-webview@d3fc5e6))
noproblem23 added a commit to noproblem23/react-native-webview that referenced this pull request Apr 18, 2023
Adds @YangXiaomei as a contributor for code, doc.

This was requested by Titozzz [in this comment](react-native-webview/react-native-webview#265 (comment))
jaynilson pushed a commit to jaynilson/reactNative_service_USA that referenced this pull request Sep 11, 2024
# [3.2.0](react-native-webview/react-native-webview@v3.1.3...v3.2.0) (2019-01-22)

### Features

* **android props:** Add `androidHardwareAccelerationDisabled` prop ([#265](react-native-webview/react-native-webview#265)) ([d3fc5e6](react-native-webview/react-native-webview@d3fc5e6))
jaynilson pushed a commit to jaynilson/reactNative_service_USA that referenced this pull request Sep 11, 2024
Adds @YangXiaomei as a contributor for code, doc.

This was requested by Titozzz [in this comment](react-native-webview/react-native-webview#265 (comment))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants