Files
hardware_interfaces/renderscript/1.0/IDevice.hal
Miao Wang b78b2f4ee6 RenderScript HIDL HAL definition and server-side implementation.
Contains the definition and implementation of the HAL.

Bug: 34396220

Test: mm, all cts tests pass on bullhead and sailfish
Merged-In: Ic560efef34f647f441c32ba01ca29d83a3d98b69
Change-Id: Ic560efef34f647f441c32ba01ca29d83a3d98b69
2017-02-21 11:55:32 -08:00

39 lines
1.1 KiB
Plaintext

/*
* Copyright (C) 2017 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.
*/
package android.hardware.renderscript@1.0;
import android.hardware.renderscript@1.0::types;
import IContext;
interface IDevice {
/*
* Creates a RenderScript context.
*
* @param sdkVersion Target RS API level
* @param ct Context type
* @param flags Optional flags for this context
* @return context Created context
*/
@entry
@callflow(next={"*"})
contextCreate(uint32_t sdkVersion, ContextType ct,
bitfield<ContextFlags> flags)
generates (IContext context);
};