175f0d3110b04346b901771f96ce15cdbe907278fYang Ni/* 275f0d3110b04346b901771f96ce15cdbe907278fYang Ni * Copyright (C) 2016 The Android Open Source Project 375f0d3110b04346b901771f96ce15cdbe907278fYang Ni * 475f0d3110b04346b901771f96ce15cdbe907278fYang Ni * Licensed under the Apache License, Version 2.0 (the "License"); 575f0d3110b04346b901771f96ce15cdbe907278fYang Ni * you may not use this file except in compliance with the License. 675f0d3110b04346b901771f96ce15cdbe907278fYang Ni * You may obtain a copy of the License at 775f0d3110b04346b901771f96ce15cdbe907278fYang Ni * 875f0d3110b04346b901771f96ce15cdbe907278fYang Ni * http://www.apache.org/licenses/LICENSE-2.0 975f0d3110b04346b901771f96ce15cdbe907278fYang Ni * 1075f0d3110b04346b901771f96ce15cdbe907278fYang Ni * Unless required by applicable law or agreed to in writing, software 1175f0d3110b04346b901771f96ce15cdbe907278fYang Ni * distributed under the License is distributed on an "AS IS" BASIS, 1275f0d3110b04346b901771f96ce15cdbe907278fYang Ni * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1375f0d3110b04346b901771f96ce15cdbe907278fYang Ni * See the License for the specific language governing permissions and 1475f0d3110b04346b901771f96ce15cdbe907278fYang Ni * limitations under the License. 1575f0d3110b04346b901771f96ce15cdbe907278fYang Ni */ 1675f0d3110b04346b901771f96ce15cdbe907278fYang Ni 1775f0d3110b04346b901771f96ce15cdbe907278fYang Ni#include "rsContext.h" 1875f0d3110b04346b901771f96ce15cdbe907278fYang Ni#include "rsType.h" 1975f0d3110b04346b901771f96ce15cdbe907278fYang Ni 2075f0d3110b04346b901771f96ce15cdbe907278fYang Niusing android::renderscript::Context; 2175f0d3110b04346b901771f96ce15cdbe907278fYang Niusing android::renderscript::Type; 2275f0d3110b04346b901771f96ce15cdbe907278fYang Niusing android::renderscript::rs_type; 2375f0d3110b04346b901771f96ce15cdbe907278fYang Ni 2475f0d3110b04346b901771f96ce15cdbe907278fYang Nibool rsovTypeInit(const Context *, const Type *t) { return true; } 2575f0d3110b04346b901771f96ce15cdbe907278fYang Ni 2675f0d3110b04346b901771f96ce15cdbe907278fYang Nivoid rsovTypeDestroy(const Context *rsc, const Type *t) {} 2775f0d3110b04346b901771f96ce15cdbe907278fYang Ni 2875f0d3110b04346b901771f96ce15cdbe907278fYang Nivoid rsovTypeUpdateCachedObject(const Context *rsc, const Type *t, 2975f0d3110b04346b901771f96ce15cdbe907278fYang Ni rs_type *obj) { 3075f0d3110b04346b901771f96ce15cdbe907278fYang Ni obj->p = t; 3175f0d3110b04346b901771f96ce15cdbe907278fYang Ni#ifdef __LP64__ 32700e68883c4324c15b380ff6724249f39d4f498cI-Jui (Ray) Sung obj->unused1 = nullptr; 33700e68883c4324c15b380ff6724249f39d4f498cI-Jui (Ray) Sung obj->unused2 = nullptr; 34700e68883c4324c15b380ff6724249f39d4f498cI-Jui (Ray) Sung obj->unused3 = nullptr; 3575f0d3110b04346b901771f96ce15cdbe907278fYang Ni#endif 3675f0d3110b04346b901771f96ce15cdbe907278fYang Ni} 37