--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
Tanks! Yes the viewer application is absolute using cpp, But I want to provide a Android view which is inherit the Android.View, So How can I draw on this view with myself skia lib.
在 2017年3月23日星期四 UTC+8上午1:41:54,Derek写道:
You are right that the copy of libskia.so found on Android is not ABI stable as is intended for use only by the OS. If you statically (or dynamically) link Skia into your individual app you can render to an Android View a couple of different ways. The easiest way is to use a SurfaceView which you can turn into an ANativeWindow in the C++ code and use to either lockPixels (for CPU access) or create an FBO (for GPU access). The viewer application checked into our repository is an example of how you can do either of those approaches.
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/0Sxv8XqL5cE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/0Sxv8XqL5cE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
You are right that the copy of libskia.so found on Android is not ABI stable as is intended for use only by the OS. If you statically (or dynamically) link Skia into your individual app you can render to an Android View a couple of different ways. The easiest way is to use a SurfaceView which you can turn into an ANativeWindow in the C++ code and use to either lockPixels (for CPU access) or create an FBO (for GPU access). The viewer application checked into our repository is an example of how you can do either of those approaches.