Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / android_webview / test / shell / src / org / chromium / android_webview / shell / DrawGL.java
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.android_webview.shell;
6
7 /**
8  * Provides an entry point to the native draw functor.
9  */
10 public class DrawGL {
11   public static void drawGL(long drawGL, long viewContext, int width, int height,
12           int scrollX, int scrollY, int mode) {
13       nativeDrawGL(drawGL, viewContext, width, height, scrollX, scrollY, mode);
14   }
15
16   private static native void nativeDrawGL(long drawGL, long viewContext,
17           int width, int height, int scrollX, int scrollY, int mode);
18 }