19bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich/*
29bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * Copyright (C) 2007 The Android Open Source Project
39bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich *
49bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * Licensed under the Apache License, Version 2.0 (the "License");
59bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * you may not use this file except in compliance with the License.
69bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * You may obtain a copy of the License at
79bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich *
89bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich *      http://www.apache.org/licenses/LICENSE-2.0
99bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich *
109bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * Unless required by applicable law or agreed to in writing, software
119bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * distributed under the License is distributed on an "AS IS" BASIS,
129bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
139bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * See the License for the specific language governing permissions and
149bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich * limitations under the License.
159bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich */
169bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich
179bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevichpackage com.android.gldual;
189bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich
199bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich// Wrapper for native library
209bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich
219bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevichpublic class GLDualLib {
229bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich
239bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich     static {
249bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich         System.loadLibrary("gldualjni");
259bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich     }
269bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich
279bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich    /**
289bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich     * @param width the current view width
299bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich     * @param height the current view height
309bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich     */
319bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich     public static native void init(int width, int height);
329bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich     public static native void step();
339bd30f05e890b213e97b838e04024d8cd232dbc0Jack Palevich}
34