Home | History | Annotate | Download | only in Renderscript

Lines Matching refs:Compiler

32 #include "bcc/Compiler.h"
88 // Haven't run the compiler ever.
114 Compiler::ErrorCode RSCompilerDriver::compileScript(RSScript& pScript, const char* pScriptName,
126 if (mCompiler.screenGlobalFunctions(pScript) != Compiler::kSuccess) {
127 return Compiler::kErrInvalidSource;
149 return Compiler::kErrInvalidSource;
164 return Compiler::kErrInvalidSource;
175 return Compiler::kErrInvalidSource;
178 // Setup the config to the compiler.
182 ALOGE("Failed to setup config for RS compiler to compile %s!",
184 return Compiler::kErrInvalidSource;
188 Compiler::ErrorCode err = mCompiler.config(*mConfig);
189 if (err != Compiler::kSuccess) {
190 ALOGE("Failed to config the RS compiler for %s! (%s)",pOutputPath,
191 Compiler::GetErrorString(err));
192 return Compiler::kErrInvalidSource;
205 // Run the compiler.
206 Compiler::ErrorCode compile_result =
214 if (compile_result != Compiler::kSuccess) {
216 Compiler::GetErrorString(compile_result));
217 return Compiler::kErrInvalidSource;
221 return Compiler::kSuccess;
300 Compiler::ErrorCode status = compileScript(script, pResName,
306 return status == Compiler::kSuccess;
426 Compiler::ErrorCode status = compileScript(pScript, pOut, pOut, pRuntimePath,
428 if (status != Compiler::kSuccess) {