Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04ba6089 authored by Alex Sakhartchouk's avatar Alex Sakhartchouk Committed by Android (Google) Code Review
Browse files

Merge "Renderscript scenegraph prototype."

parents aba18852 094a068b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -28,6 +28,11 @@ public class Float2 {
    public Float2() {
    }

    public Float2(float initX, float initY) {
        x = initX;
        y = initY;
    }

    public float x;
    public float y;
}
+5 −0
Original line number Diff line number Diff line
@@ -27,6 +27,11 @@ import android.util.Log;
public class Float3 {
    public Float3() {
    }
    public Float3(float initX, float initY, float initZ) {
        x = initX;
        y = initY;
        z = initZ;
    }

    public float x;
    public float y;
+7 −0
Original line number Diff line number Diff line
@@ -28,6 +28,13 @@ public class Float4 {
    public Float4() {
    }

    public Float4(float initX, float initY, float initZ, float initW) {
        x = initX;
        y = initY;
        z = initZ;
        w = initW;
    }

    public float x;
    public float y;
    public float z;
+31 −0
Original line number Diff line number Diff line
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

ifneq ($(TARGET_SIMULATOR),true)

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
#LOCAL_STATIC_JAVA_LIBRARIES := android.renderscript

LOCAL_PACKAGE_NAME := SceneGraph

include $(BUILD_PACKAGE)

endif
+13 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.scenegraph">
    <application android:label="SceneGraph">
        <activity android:name="SceneGraph"
                  android:theme="@android:style/Theme.Black.NoTitleBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>
Loading