From 331bf9b14b1c5c1e88f5c4092b6e24fae887fb3b Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 6 Apr 2011 11:23:54 -0700 Subject: Seperate ProgramRaster. Cleanup ProgramRaster and ProgramStore creation. Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7 --- libs/rs/driver/rsdProgramRaster.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libs/rs/driver/rsdProgramRaster.h (limited to 'libs/rs/driver/rsdProgramRaster.h') diff --git a/libs/rs/driver/rsdProgramRaster.h b/libs/rs/driver/rsdProgramRaster.h new file mode 100644 index 0000000..20adaad --- /dev/null +++ b/libs/rs/driver/rsdProgramRaster.h @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2011 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. + */ + +#ifndef RSD_PROGRAM_RASTER_H +#define RSD_PROGRAM_RASTER_H + +#include + + +bool rsdProgramRasterInit(const android::renderscript::Context *rsc, + const android::renderscript::ProgramRaster *); +void rsdProgramRasterSetActive(const android::renderscript::Context *rsc, + const android::renderscript::ProgramRaster *); +void rsdProgramRasterDestroy(const android::renderscript::Context *rsc, + const android::renderscript::ProgramRaster *); + + +#endif -- cgit v1.1