/frameworks/rs/ |
D | rsRuntime.h | 32 void rsrBindTexture(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *); 33 void rsrBindConstant(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *); 34 void rsrBindConstant(Context *, Script *, ProgramVertex*, uint32_t slot, Allocation *); 35 void rsrBindSampler(Context *, Script *, ProgramFragment *, uint32_t slot, Sampler *); 36 void rsrBindProgramStore(Context *, Script *, ProgramStore *); 37 void rsrBindProgramFragment(Context *, Script *, ProgramFragment *); 38 void rsrBindProgramVertex(Context *, Script *, ProgramVertex *); 39 void rsrBindProgramRaster(Context *, Script *, ProgramRaster *); 40 void rsrBindFrameBufferObjectColorTarget(Context *, Script *, Allocation *, uint32_t slot); 41 void rsrBindFrameBufferObjectDepthTarget(Context *, Script *, Allocation *); [all …]
|
D | rsScript.cpp | 23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() function in Script 32 Script::~Script() { in ~Script() 43 void Script::setSlot(uint32_t slot, Allocation *a) { in setSlot() 54 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar() 63 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar() 73 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj() 83 bool Script::freeChildren() { in freeChildren() 89 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID() 110 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : ObjectBase(rsc) { in ScriptFieldID() 132 return new ScriptKernelID(rsc, (Script *)vs, slot, sig); in rsi_ScriptKernelIDCreate() [all …]
|
D | rsScriptC_LibGL.cpp | 49 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() 55 void rsrBindConstant(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() 61 void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() 67 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() 73 void rsrBindProgramStore(Context *rsc, Script *sc, ProgramStore *ps) { in rsrBindProgramStore() 78 void rsrBindProgramFragment(Context *rsc, Script *sc, ProgramFragment *pf) { in rsrBindProgramFragment() 83 void rsrBindProgramVertex(Context *rsc, Script *sc, ProgramVertex *pv) { in rsrBindProgramVertex() 88 void rsrBindProgramRaster(Context *rsc, Script *sc, ProgramRaster *pr) { in rsrBindProgramRaster() 93 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Script *sc, Allocation *a, uint32_t slot) { in rsrBindFrameBufferObjectColorTarget() 99 void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Script *sc, Allocation *a) { in rsrBindFrameBufferObjectDepthTarget() [all …]
|
D | rsScriptC_Lib.cpp | 82 time_t rsrTime(Context *rsc, Script *sc, time_t *timer) { in rsrTime() 86 tm* rsrLocalTime(Context *rsc, Script *sc, tm *local, time_t *timer) { in rsrLocalTime() 100 int64_t rsrUptimeMillis(Context *rsc, Script *sc) { in rsrUptimeMillis() 104 int64_t rsrUptimeNanos(Context *rsc, Script *sc) { in rsrUptimeNanos() 108 float rsrGetDt(Context *rsc, Script *sc) { in rsrGetDt() 118 void rsrSetObject(const Context *rsc, const Script *sc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject() 131 void rsrClearObject(const Context *rsc, const Script *sc, ObjectBase **dst) { in rsrClearObject() 140 bool rsrIsObject(const Context *rsc, const Script *sc, const ObjectBase *src) { in rsrIsObject() 145 uint32_t rsrToClient(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClient() 150 uint32_t rsrToClientBlocking(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClientBlocking() [all …]
|
D | rsScript.h | 34 ScriptKernelID(Context *rsc, Script *s, int slot, int sig); 40 Script *mScript; 48 ScriptFieldID(Context *rsc, Script *s, int slot); 54 Script *mScript; 58 class Script : public ObjectBase { 83 Script(Context *); 84 virtual ~Script();
|
D | rs_hal.h | 32 class Script; variable 99 bool (*initIntrinsic)(const Context *rsc, Script *s, 103 void (*invokeFunction)(const Context *rsc, Script *s, 107 int (*invokeRoot)(const Context *rsc, Script *s); 109 Script *s, 116 void (*invokeInit)(const Context *rsc, Script *s); 117 void (*invokeFreeChildren)(const Context *rsc, Script *s); 119 void (*setGlobalVar)(const Context *rsc, const Script *s, 123 void (*setGlobalVarWithElemDims)(const Context *rsc, const Script *s, 130 void (*setGlobalBind)(const Context *rsc, const Script *s, [all …]
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsScript.cpp | 23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() function in Script 32 Script::~Script() { in ~Script() 43 void Script::setSlot(uint32_t slot, Allocation *a) { in setSlot() 54 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar() 63 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar() 73 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj() 83 bool Script::freeChildren() { in freeChildren() 89 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID() 110 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : ObjectBase(rsc) { in ScriptFieldID() 132 return new ScriptKernelID(rsc, (Script *)vs, slot, sig); in rsi_ScriptKernelIDCreate() [all …]
|
D | rsRuntime.h | 32 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 52 float rsrGetDt(Context *, Script *); 53 time_t rsrTime(Context *, Script *, time_t *timer); 54 tm* rsrLocalTime(Context *, Script *, tm *local, time_t *timer); 55 int64_t rsrUptimeMillis(Context *, Script *); 56 int64_t rsrUptimeNanos(Context *, Script *); 62 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len); 63 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len); 69 void rsrSetObject(const Context *, const Script *, ObjectBase **dst, ObjectBase * src); 70 void rsrClearObject(const Context *, const Script *, ObjectBase **dst); [all …]
|
D | rsScriptC_Lib.cpp | 82 time_t rsrTime(Context *rsc, Script *sc, time_t *timer) { in rsrTime() 86 tm* rsrLocalTime(Context *rsc, Script *sc, tm *local, time_t *timer) { in rsrLocalTime() 100 int64_t rsrUptimeMillis(Context *rsc, Script *sc) { in rsrUptimeMillis() 104 int64_t rsrUptimeNanos(Context *rsc, Script *sc) { in rsrUptimeNanos() 108 float rsrGetDt(Context *rsc, Script *sc) { in rsrGetDt() 118 void rsrSetObject(const Context *rsc, const Script *sc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject() 131 void rsrClearObject(const Context *rsc, const Script *sc, ObjectBase **dst) { in rsrClearObject() 140 bool rsrIsObject(const Context *rsc, const Script *sc, const ObjectBase *src) { in rsrIsObject() 145 uint32_t rsrToClient(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClient() 150 uint32_t rsrToClientBlocking(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClientBlocking() [all …]
|
D | rsScript.h | 29 ScriptKernelID(Context *rsc, Script *s, int slot, int sig); 35 Script *mScript; 43 ScriptFieldID(Context *rsc, Script *s, int slot); 49 Script *mScript; 53 class Script : public ObjectBase { 78 Script(Context *); 79 virtual ~Script();
|
D | rs_hal.h | 32 class Script; variable 98 bool (*initIntrinsic)(const Context *rsc, Script *s, 102 void (*invokeFunction)(const Context *rsc, Script *s, 106 int (*invokeRoot)(const Context *rsc, Script *s); 108 Script *s, 115 void (*invokeInit)(const Context *rsc, Script *s); 116 void (*invokeFreeChildren)(const Context *rsc, Script *s); 118 void (*setGlobalVar)(const Context *rsc, const Script *s, 122 void (*setGlobalVarWithElemDims)(const Context *rsc, const Script *s, 129 void (*setGlobalBind)(const Context *rsc, const Script *s, [all …]
|
/frameworks/compile/libbcc/include/bcc/ |
D | Compiler.h | 33 class Script; variable 82 enum ErrorCode runLTO(Script &pScript); 83 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult); 92 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult); 95 enum ErrorCode compile(Script &pScript, OutputFile &pResult); 110 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) in beforeAddLTOPasses() 114 virtual bool afterAddLTOPasses(Script &pScript, llvm::PassManager &pPM) in afterAddLTOPasses() 118 virtual bool beforeExecuteLTOPasses(Script &pScript, in beforeExecuteLTOPasses() 123 virtual bool afterExecuteLTOPasses(Script &pScript) in afterExecuteLTOPasses() 127 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM) in beforeAddCodeGenPasses() [all …]
|
D | Script.h | 24 class Script { 36 Script(Source &pSource) : mSource(&pSource) { } in Script() function 38 virtual ~Script() { } in ~Script()
|
/frameworks/rs/driver/ |
D | rsdIntrinsics.cpp | 25 void * rsdIntrinsic_InitBlur(const Context *, Script *, RsdIntriniscFuncs_t *); 26 void * rsdIntrinsic_InitConvolve3x3(const Context *, Script *, RsdIntriniscFuncs_t *); 27 void * rsdIntrinsic_InitConvolve5x5(const Context *, Script *, RsdIntriniscFuncs_t *); 28 void * rsdIntrinsic_InitColorMatrix(const Context *, Script *, RsdIntriniscFuncs_t *); 29 void * rsdIntrinsic_InitLUT(const Context *, Script *, RsdIntriniscFuncs_t *); 30 void * rsdIntrinsic_InitYuvToRGB(const Context *, Script *, RsdIntriniscFuncs_t *); 31 void * rsdIntrinsic_InitBlend(const Context *, Script *, RsdIntriniscFuncs_t *); 33 static void SetVarObj(const Context *, const Script *, void *, uint32_t, Allocation *) { in SetVarObj() argument 37 static void SetVar(const Context *, const Script *, void *, uint32_t, void *, size_t) { in SetVar() argument 41 static void Destroy(const Context *dc, const Script *script, void * intrinsicData) { in Destroy() [all …]
|
D | rsdBcc.h | 33 android::renderscript::Script *s, 38 android::renderscript::Script *script, 44 android::renderscript::Script *s, 53 android::renderscript::Script *script); 55 android::renderscript::Script *script); 57 android::renderscript::Script *script); 60 const android::renderscript::Script *, 63 const android::renderscript::Script *, 70 const android::renderscript::Script *, 73 const android::renderscript::Script *, [all …]
|
D | rsdBcc.cpp | 41 static Script * setTLS(Script *sc) { in setTLS() 44 Script *old = tls->mScript; in setTLS() 153 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, Element *e) { in rsdInitIntrinsic() 333 Script *s, in rsdScriptLaunchThreads() 342 Script * oldTLS = setTLS(s); in rsdScriptLaunchThreads() 416 Script *s, in rsdScriptInvokeForEach() 448 int rsdScriptInvokeRoot(const Context *dc, Script *script) { in rsdScriptInvokeRoot() 451 Script * oldTLS = setTLS(script); in rsdScriptInvokeRoot() 458 void rsdScriptInvokeInit(const Context *dc, Script *script) { in rsdScriptInvokeInit() 466 void rsdScriptInvokeFreeChildren(const Context *dc, Script *script) { in rsdScriptInvokeFreeChildren() [all …]
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdIntrinsics.cpp | 25 void * rsdIntrinsic_InitBlur(const Context *, Script *, RsdIntriniscFuncs_t *); 26 void * rsdIntrinsic_InitConvolve3x3(const Context *, Script *, RsdIntriniscFuncs_t *); 27 void * rsdIntrinsic_InitConvolve5x5(const Context *, Script *, RsdIntriniscFuncs_t *); 28 void * rsdIntrinsic_InitColorMatrix(const Context *, Script *, RsdIntriniscFuncs_t *); 29 void * rsdIntrinsic_InitLUT(const Context *, Script *, RsdIntriniscFuncs_t *); 30 void * rsdIntrinsic_InitYuvToRGB(const Context *, Script *, RsdIntriniscFuncs_t *); 31 void * rsdIntrinsic_InitBlend(const Context *, Script *, RsdIntriniscFuncs_t *); 33 static void Bind(const Context *, const Script *, void *, uint32_t, Allocation *) { in Bind() argument 37 static void SetVar(const Context *, const Script *, void *, uint32_t, void *, size_t) { in SetVar() argument 41 static void Destroy(const Context *dc, const Script *script, void * intrinsicData) { in Destroy() [all …]
|
D | rsdBcc.h | 28 android::renderscript::Script *s, 33 android::renderscript::Script *script, 39 android::renderscript::Script *s, 48 android::renderscript::Script *script); 50 android::renderscript::Script *script); 52 android::renderscript::Script *script); 55 const android::renderscript::Script *, 58 const android::renderscript::Script *, 65 const android::renderscript::Script *, 68 const android::renderscript::Script *, [all …]
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | ScriptIntrinsicBlend.java | 70 public Script.KernelID getKernelIDClear() { in getKernelIDClear() 90 public Script.KernelID getKernelIDSrc() { in getKernelIDSrc() 110 public Script.KernelID getKernelIDDst() { in getKernelIDDst() 129 public Script.KernelID getKernelIDSrcOver() { in getKernelIDSrcOver() 148 public Script.KernelID getKernelIDDstOver() { in getKernelIDDstOver() 167 public Script.KernelID getKernelIDSrcIn() { in getKernelIDSrcIn() 186 public Script.KernelID getKernelIDDstIn() { in getKernelIDDstIn() 205 public Script.KernelID getKernelIDSrcOut() { in getKernelIDSrcOut() 224 public Script.KernelID getKernelIDDstOut() { in getKernelIDDstOut() 244 public Script.KernelID getKernelIDSrcAtop() { in getKernelIDSrcAtop() [all …]
|
D | ScriptGroup.java | 42 Script.KernelID mKID; 45 IO(Script.KernelID s) { in IO() 51 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { in ConnectLine() 57 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { in ConnectLine() 63 Script.FieldID mToF; 64 Script.KernelID mToK; 65 Script.KernelID mFrom; 70 Script mScript; 71 ArrayList<Script.KernelID> mKernels = new ArrayList<Script.KernelID>(); 78 Node(Script s) { in Node() [all …]
|
/frameworks/base/graphics/java/android/renderscript/ |
D | ScriptIntrinsicBlend.java | 70 public Script.KernelID getKernelIDClear() { in getKernelIDClear() 90 public Script.KernelID getKernelIDSrc() { in getKernelIDSrc() 110 public Script.KernelID getKernelIDDst() { in getKernelIDDst() 129 public Script.KernelID getKernelIDSrcOver() { in getKernelIDSrcOver() 148 public Script.KernelID getKernelIDDstOver() { in getKernelIDDstOver() 167 public Script.KernelID getKernelIDSrcIn() { in getKernelIDSrcIn() 186 public Script.KernelID getKernelIDDstIn() { in getKernelIDDstIn() 205 public Script.KernelID getKernelIDSrcOut() { in getKernelIDSrcOut() 224 public Script.KernelID getKernelIDDstOut() { in getKernelIDDstOut() 244 public Script.KernelID getKernelIDSrcAtop() { in getKernelIDSrcAtop() [all …]
|
D | ScriptGroup.java | 48 Script.KernelID mKID; 51 IO(Script.KernelID s) { in IO() 57 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { in ConnectLine() 63 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { in ConnectLine() 69 Script.FieldID mToF; 70 Script.KernelID mToK; 71 Script.KernelID mFrom; 76 Script mScript; 77 ArrayList<Script.KernelID> mKernels = new ArrayList<Script.KernelID>(); 84 Node(Script s) { in Node() [all …]
|
D | Script.java | 24 public class Script extends BaseObj { class 35 Script mScript; 38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { in KernelID() 83 Script mScript; 85 FieldID(int id, RenderScript rs, Script s, int slot) { in FieldID() 170 Script(int id, RenderScript rs) { in Script() method in Script
|
/frameworks/rs/cpp/ |
D | Script.cpp | 31 void Script::invoke(uint32_t slot, const void *v, size_t len) const { in invoke() 35 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, in forEach() 46 Script::Script(void *id, RenderScript *rs) : BaseObj(id, rs) { in Script() function in Script 50 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { in bindAllocation() 55 void Script::setVar(uint32_t index, sp<const BaseObj> o) const { in setVar() 59 void Script::setVar(uint32_t index, const void *v, size_t len) const { in setVar() 65 void Script::FieldBase::init(RenderScript *rs, uint32_t dimx, uint32_t usages) { in init()
|
/frameworks/compile/libbcc/lib/AndroidBitcode/ |
D | ABCCompilerDriver.cpp | 134 Script *ABCCompilerDriver::prepareScript(int pInputFd) { in prepareScript() 141 Script *script = new (std::nothrow) Script(*source); in prepareScript() 152 bool ABCCompilerDriver::compile(Script &pScript, llvm::raw_ostream &pOutput) { in compile() 169 bool ABCCompilerDriver::link(const Script &pScript, in link() 262 Script *script = prepareScript(pInputFd); in build()
|