Merge "Fix bug in on-device linking." into honeycomb

This commit is contained in:
Shih-wei Liao
2011-01-16 15:41:25 -08:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 2 deletions

View File

@ -56,7 +56,7 @@ void setGamma(float g) {
}
//sliao
uchar3 convert2uchar3(float3 xyz);
extern uchar3 __attribute__((overloadable)) convert2uchar3(float3 xyz);
void root(const void *v_in, void *v_out, const void *usrData, uint32_t x, uint32_t y) {
uchar4 *output = (uchar4 *)v_out;

View File

@ -490,7 +490,8 @@ void ScriptCState::runCompiler(Context *rsc,
if (bccLinkBC(s->mBccScript,
resName,
NULL /*rs_runtime_lib_bc*/,
0 /*rs_runtime_lib_bc_size*/,
1 /*rs_runtime_lib_bc_size*/
/*"1" means skip buffer here, and let libbcc decide*/,
0) != 0) {
LOGE("bcc: FAILS to link bitcode");
// Handle Fatal Error