/usr/local/google/home/srhines/android_trees/jb-mr2-dev/frameworks/rs/scriptc/rs_object.rsh
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2011 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_OBJECT_RSH__
00024 #define __RS_OBJECT_RSH__
00025 
00026 
00033 extern void __attribute__((overloadable))
00034     rsSetObject(rs_element *dst, rs_element src);
00038 extern void __attribute__((overloadable))
00039     rsSetObject(rs_type *dst, rs_type src);
00043 extern void __attribute__((overloadable))
00044     rsSetObject(rs_allocation *dst, rs_allocation src);
00048 extern void __attribute__((overloadable))
00049     rsSetObject(rs_sampler *dst, rs_sampler src);
00053 extern void __attribute__((overloadable))
00054     rsSetObject(rs_script *dst, rs_script src);
00058 extern void __attribute__((overloadable))
00059     rsSetObject(rs_path *dst, rs_path src);
00063 extern void __attribute__((overloadable))
00064     rsSetObject(rs_mesh *dst, rs_mesh src);
00068 extern void __attribute__((overloadable))
00069     rsSetObject(rs_program_fragment *dst, rs_program_fragment src);
00073 extern void __attribute__((overloadable))
00074     rsSetObject(rs_program_vertex *dst, rs_program_vertex src);
00078 extern void __attribute__((overloadable))
00079     rsSetObject(rs_program_raster *dst, rs_program_raster src);
00083 extern void __attribute__((overloadable))
00084     rsSetObject(rs_program_store *dst, rs_program_store src);
00088 extern void __attribute__((overloadable))
00089     rsSetObject(rs_font *dst, rs_font src);
00090 
00096 extern void __attribute__((overloadable))
00097     rsClearObject(rs_element *dst);
00101 extern void __attribute__((overloadable))
00102     rsClearObject(rs_type *dst);
00106 extern void __attribute__((overloadable))
00107     rsClearObject(rs_allocation *dst);
00111 extern void __attribute__((overloadable))
00112     rsClearObject(rs_sampler *dst);
00116 extern void __attribute__((overloadable))
00117     rsClearObject(rs_script *dst);
00121 extern void __attribute__((overloadable))
00122     rsClearObject(rs_path *dst);
00126 extern void __attribute__((overloadable))
00127     rsClearObject(rs_mesh *dst);
00131 extern void __attribute__((overloadable))
00132     rsClearObject(rs_program_fragment *dst);
00136 extern void __attribute__((overloadable))
00137     rsClearObject(rs_program_vertex *dst);
00141 extern void __attribute__((overloadable))
00142     rsClearObject(rs_program_raster *dst);
00146 extern void __attribute__((overloadable))
00147     rsClearObject(rs_program_store *dst);
00151 extern void __attribute__((overloadable))
00152     rsClearObject(rs_font *dst);
00153 
00154 
00155 
00162 extern bool __attribute__((overloadable))
00163     rsIsObject(rs_element);
00167 extern bool __attribute__((overloadable))
00168     rsIsObject(rs_type);
00172 extern bool __attribute__((overloadable))
00173     rsIsObject(rs_allocation);
00177 extern bool __attribute__((overloadable))
00178     rsIsObject(rs_sampler);
00182 extern bool __attribute__((overloadable))
00183     rsIsObject(rs_script);
00187 extern bool __attribute__((overloadable))
00188     rsIsObject(rs_path);
00192 extern bool __attribute__((overloadable))
00193     rsIsObject(rs_mesh);
00197 extern bool __attribute__((overloadable))
00198     rsIsObject(rs_program_fragment);
00202 extern bool __attribute__((overloadable))
00203     rsIsObject(rs_program_vertex);
00207 extern bool __attribute__((overloadable))
00208     rsIsObject(rs_program_raster);
00212 extern bool __attribute__((overloadable))
00213     rsIsObject(rs_program_store);
00217 extern bool __attribute__((overloadable))
00218     rsIsObject(rs_font);
00219 
00220 #endif