19e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams/* 29e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * Copyright (C) 2011 The Android Open Source Project 39e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * 49e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * Licensed under the Apache License, Version 2.0 (the "License"); 59e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * you may not use this file except in compliance with the License. 69e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * You may obtain a copy of the License at 79e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * 89e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * http://www.apache.org/licenses/LICENSE-2.0 99e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * 109e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * Unless required by applicable law or agreed to in writing, software 119e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * distributed under the License is distributed on an "AS IS" BASIS, 129e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 139e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * See the License for the specific language governing permissions and 149e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams * limitations under the License. 159e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams */ 169e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams 179e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams#ifndef RSD_PATH_H 189e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams#define RSD_PATH_H 199e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams 209e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams#include <rs_hal.h> 219e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams 229e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams 239e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Samsbool rsdPathInitStatic(const android::renderscript::Context *rsc, 249e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams const android::renderscript::Path *m, 259e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams const android::renderscript::Allocation *vertex, 269e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams const android::renderscript::Allocation *loops); 279e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Samsbool rsdPathInitDynamic(const android::renderscript::Context *rsc, 289e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams const android::renderscript::Path *m); 299e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Samsvoid rsdPathDraw(const android::renderscript::Context *rsc, 309e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams const android::renderscript::Path *m); 319e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Samsvoid rsdPathDestroy(const android::renderscript::Context *rsc, 329e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams const android::renderscript::Path *m); 339e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams 349e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams 359e0afb5a2b3e476c42a373e7cd89cef4a34f8195Jason Sams#endif 36