/usr/local/google/home/srhines/android_trees/jb-mr2-dev/frameworks/rs/scriptc/rs_program.rsh Source File

- Overview
- Globals
- Structs

/usr/local/google/home/srhines/android_trees/jb-mr2-dev/frameworks/rs/scriptc/rs_program.rsh
Go to the documentation of this file.

    00001 /*
    00002  * Copyright (C) 2012 The Android Open Source Project
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00023 #ifndef __RS_PROGRAM_RSH__
    00024 #define __RS_PROGRAM_RSH__
    00025
    00026 #if (defined(RS_VERSION) && (RS_VERSION >= 16))
    00027
    00033 extern rs_depth_func __attribute__((overloadable))
    00034     rsgProgramStoreGetDepthFunc(rs_program_store ps);
    00035
    00041 extern bool __attribute__((overloadable))
    00042     rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps);
    00048 extern bool __attribute__((overloadable))
    00049     rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps);
    00050
    00056 extern bool __attribute__((overloadable))
    00057     rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps);
    00058
    00064 extern bool __attribute__((overloadable))
    00065     rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps);
    00066
    00072 extern bool __attribute__((overloadable))
    00073     rsgProgramStoreIsColorMaskAlphaEnabled(rs_program_store ps);
    00074
    00080 extern rs_blend_src_func __attribute__((overloadable))
    00081         rsgProgramStoreGetBlendSrcFunc(rs_program_store ps);
    00082
    00088 extern rs_blend_dst_func __attribute__((overloadable))
    00089     rsgProgramStoreGetBlendDstFunc(rs_program_store ps);
    00090
    00096 extern bool __attribute__((overloadable))
    00097     rsgProgramStoreIsDitherEnabled(rs_program_store ps);
    00098
    00104 extern bool __attribute__((overloadable))
    00105     rsgProgramRasterIsPointSpriteEnabled(rs_program_raster pr);
    00106
    00112 extern rs_cull_mode __attribute__((overloadable))
    00113     rsgProgramRasterGetCullMode(rs_program_raster pr);
    00114
    00115 #endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
    00116
    00117 #endif // __RS_PROGRAM_RSH__
    00118