Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: platform_tools/android/app/src/com/skia/SkiaSampleView.java

Issue 1136753003: Add android_launch_app script to allow command line options to be passed to the sampleApp when star… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: platform_tools/android/app/src/com/skia/SkiaSampleView.java
diff --git a/platform_tools/android/app/src/com/skia/SkiaSampleView.java b/platform_tools/android/app/src/com/skia/SkiaSampleView.java
index cf06bea6a826526410ad34a94832d9a7be81efb5..c33f8ae8acf3d290eac1325dee34ee6ab0b847d6 100644
--- a/platform_tools/android/app/src/com/skia/SkiaSampleView.java
+++ b/platform_tools/android/app/src/com/skia/SkiaSampleView.java
@@ -25,10 +25,10 @@ public class SkiaSampleView extends GLSurfaceView {
private boolean mRequestedOpenGLAPI; // true == use (desktop) OpenGL. false == use OpenGL ES.
private int mRequestedMSAASampleCount;
- public SkiaSampleView(Context ctx, boolean useOpenGL, int msaaSampleCount) {
+ public SkiaSampleView(Context ctx, String cmdLineFlags, boolean useOpenGL, int msaaSampleCount) {
super(ctx);
- mSampleRenderer = new SkiaSampleRenderer(this);
+ mSampleRenderer = new SkiaSampleRenderer(this, cmdLineFlags);
mRequestedMSAASampleCount = msaaSampleCount;
setEGLContextClientVersion(2);
« no previous file with comments | « platform_tools/android/app/src/com/skia/SkiaSampleRenderer.java ('k') | platform_tools/android/bin/android_launch_app » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698