| Index: android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java
|
| diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ee0d3952014c80b8bb192a51ef612b4b7638978a
|
| --- /dev/null
|
| +++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/DrawGL.java
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.android_webview.shell;
|
| +
|
| +/**
|
| + * Provides an entry point to the native draw functor.
|
| + */
|
| +public class DrawGL {
|
| + public static void drawGL(long drawGL, long viewContext, int width, int height,
|
| + int scrollX, int scrollY, int mode) {
|
| + nativeDrawGL(drawGL, viewContext, width, height, scrollX, scrollY, mode);
|
| + }
|
| +
|
| + private static native void nativeDrawGL(long drawGL, long viewContext,
|
| + int width, int height, int scrollX, int scrollY, int mode);
|
| +}
|
|
|