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
5package org.chromium.android_webview.shell;
6
7/**
8 * Provides an entry point to the native draw functor.
9 */
10public 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}
19