skia2/android_sample/SampleApp
Scroggo 3e7ff9f31d Better fix for changing the viewport in sample app.
Create a platform description and base the size on the SkWindow
in order to create a RenderTarget, which results in changing the
viewport.  This allows us to use only GR calls.

In the Android sample app, fix the problem where nothing is drawn
in the first frame, and default to drawing in GL.

Reviewed at http://codereview.appspot.com/4642043/


git-svn-id: http://skia.googlecode.com/svn/trunk@1615 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 15:31:26 +00:00
..
jni Better fix for changing the viewport in sample app. 2011-06-16 15:31:26 +00:00
res Improvements to the SampleApp (primarily Android). 2011-06-15 16:49:08 +00:00
src/com/skia/sampleapp Improvements to the SampleApp (primarily Android). 2011-06-15 16:49:08 +00:00
Android.mk Better fix for changing the viewport in sample app. 2011-06-16 15:31:26 +00:00
AndroidManifest.xml Improvements to the SampleApp (primarily Android). 2011-06-15 16:49:08 +00:00
README.txt Improvements to the SampleApp (primarily Android). 2011-06-15 16:49:08 +00:00

Building the sample app for Android using an Android tree:

cd into external/skia/android_sample/SampleApp.
Type "mm" to build, and install the resulting apk.

TODO: Instructions for building from SDK/NDK