Comments (4)
Just a quick question regarding castanets support for Android.
I thought we can use chromium's posix code for shared memory on Android platform instead of ashmem so that we can have easy communication between linux/tizen-android.
On my verification of this approach, simple web pages work in linux(browser)-android(renderer) case.
So thought of asking your ideas on this.
@hyowon @hyunaranda @is46-kim @yg48 @joonghunpark @Chikdolman @Sunwoo-Nam
Will it be ok to use posix shared memory on Android. Or do we need to stick to ashmem ?
from castanets.
I think using shared_memory_posix on Android is okay.
from castanets.
The current status with the #146
basic google page rendering is working fine with Linux(B)-Android(R) case.
Visibly the performance seem to be slower than castanets_63 (linux-android case).
As we are using posix code for android now, the shared memory file path used is application's cache directory path which is /data/user/0/org.chromium.chrome/cache which is a regular file system. This seems to be the reason for the slow performance.
[base/files/file_util_android.cc].
Android's ashmem created file in /dev/ashmem which is a tmpfs. (RAM memory)
Even in Linux, tizen we use /dev/shm which is also tmpfs.
Opening /dev/ path through the posix code in android is not possible due to platform security.
from castanets.
Gpu Compositing on Android: #155
- GpuMemoryBufferHandle's mojo struct difference causes VALIDATION_ERROR_HEADER_UNKNOWN_METHOD. AHardwareBufferHandle is not required for the gpu compostion path. So it is made not to use it for now for castanets.
- Data types of SurfaceHandle are different between linux and android (int32_t vs AcceleratedWidget/unsigned long). So the data types are unified.
- As GpuBlackList entries are also part of mojo msgs, if the entries are different we face a DESERIALIZATION ERROR. So IgnoreGpuBlackList flag is added for linux, android for now.
from castanets.
Related Issues (20)
- Unresponsive pop ups on page
- New window issue HOT 1
- Security Issue - 3
- Youtube Videos Issue
- Browser hang issue
- Build error with gn option 'is_component_build = false' HOT 2
- Add runtime flag to specify timeout value for fallback forking renderer process HOT 1
- Pdf format document issue HOT 2
- WebGL Support Issue HOT 1
- Angular meterial UI icon visibility issue HOT 1
- Google Map's controls issue
- Upversion to chromium 76 HOT 1
- Castanets 76 does not work between a Tizen TV and an Ubuntu desktop. HOT 4
- Slow performance when the Android renderer process is in the background. HOT 2
- Crash In "yahoo.com" HOT 5
- Toonshading(WebGL) is not working. HOT 6
- The activity of android renderer process is black. HOT 3
- Activities of Offload Settings and the main application are shared. HOT 1
- Youtube unable to play between Tizen - Android
- Demo not available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from castanets.