/frameworks/rs/ |
rsAnimation.h | 32 static Animation * create(Context *rsc, 39 virtual void serialize(Context *rsc, OStream *stream) const; 41 static Animation *createFromStream(Context *rsc, IStream *stream); 44 Animation(Context *rsc);
|
rsContext.cpp | 250 Context *rsc = static_cast<Context *>(vrsc); local 253 rsc->mNativeThreadId = gettid(); 256 rsc->props.mLogTimes = getProp("debug.rs.profile") != 0; 257 rsc->props.mLogScripts = getProp("debug.rs.script") != 0; 258 rsc->props.mLogShaders = getProp("debug.rs.shader") != 0; 259 rsc->props.mLogShadersAttr = getProp("debug.rs.shader.attributes") != 0; 260 rsc->props.mLogShadersUniforms = getProp("debug.rs.shader.uniforms") != 0; 261 rsc->props.mLogVisual = getProp("debug.rs.visual") != 0; 262 rsc->props.mLogReduce = getProp("debug.rs.reduce"); 263 rsc->props.mDebugReduceSplitAccum = getProp("debug.rs.reduce-split-accum") != 0 413 Context *rsc = (Context *)ctx; local 496 Context * rsc = new Context(); local 520 Context * rsc = new Context(); local [all...] |
rsScriptC.cpp | 53 Context * rsc = tls->mContext; \ 56 ScriptC::ScriptC(Context *rsc) : Script(rsc) { 120 void ScriptC::setupScript(Context *rsc) { 133 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); 137 void ScriptC::setupGLState(Context *rsc) { 140 rsc->setProgramStore(mEnviroment.mFragmentStore.get()); 143 rsc->setProgramFragment(mEnviroment.mFragment.get()); 146 rsc->setProgramVertex(mEnviroment.mVertex.get()) [all...] |
rsScriptC_Lib.cpp | 84 time_t rsrTime(Context *rsc, time_t *timer) { 88 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { 95 pthread_mutex_lock(&rsc->gLibMutex); 98 pthread_mutex_unlock(&rsc->gLibMutex); 102 int64_t rsrUptimeMillis(Context *rsc) { 110 int64_t rsrUptimeNanos(Context *rsc) { 118 float rsrGetDt(Context *rsc, const Script *sc) { 132 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) { 133 //ALOGE("setObjectRef %p,%p %p", rsc, dst, src); 145 void rsrClearObject(const Context *rsc, void *dst) [all...] |
rsFBOCache.cpp | 39 void FBOCache::init(Context *rsc) { 40 rsc->mHal.funcs.framebuffer.init(rsc, this); 43 void FBOCache::deinit(Context *rsc) { 44 rsc->mHal.funcs.framebuffer.destroy(rsc, this); 47 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { 63 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) { 85 void FBOCache::setup(Context *rsc) { 90 rsc->mHal.funcs.framebuffer.setActive(rsc, this) [all...] |
rsFBOCache.h | 33 void init(Context *rsc); 34 void deinit(Context *rsc); 36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot); 60 void setColorAttachment(Context *rsc); 61 void setDepthAttachment(Context *rsc);
|
rsProgramFragment.h | 30 ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength, 37 virtual void serialize(Context *rsc, OStream *stream) const; 39 static ProgramFragment *createFromStream(Context *rsc, IStream *stream); 54 void init(Context *rsc); 55 void deinit(Context *rsc);
|
rs_hal.h | 151 bool (*init)(const Context *rsc, ScriptC *s, 157 bool (*initIntrinsic)(const Context *rsc, Script *s, 161 void (*invokeFunction)(const Context *rsc, Script *s, 165 int (*invokeRoot)(const Context *rsc, Script *s); 166 void (*invokeForEach)(const Context *rsc, 174 void (*invokeReduce)(const Context *rsc, Script *s, 179 void (*invokeInit)(const Context *rsc, Script *s); 180 void (*invokeFreeChildren)(const Context *rsc, Script *s); 182 void (*setGlobalVar)(const Context *rsc, const Script *s, 186 void (*getGlobalVar)(const Context *rsc, const Script *s [all...] |
rsAllocation.cpp | 29 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, 31 : ObjectBase(rsc) { 43 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) 44 : ObjectBase(rsc) { 62 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, 66 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); 69 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); 76 if (rsc->mHal.funcs.allocation.initOem != nullptr) { 77 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); 78 success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr) [all...] |
rsAnimation.cpp | 24 void Animation::serialize(Context *rsc, OStream *stream) const { 27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { 32 Animation::Animation(Context *rsc) : ObjectBase(rsc) 47 Animation * Animation::create(Context *rsc, 53 rsc->setError(RS_ERROR_BAD_VALUE, "Animations require more than 2 values."); 56 Animation *a = new Animation(rsc); 58 rsc->setError(RS_ERROR_OUT_OF_MEMORY); 68 rsc->setError(RS_ERROR_OUT_OF_MEMORY); 122 RsAnimation rsi_AnimationCreate(Context *rsc, [all...] |
rsProgramStore.cpp | 24 ProgramStore::ProgramStore(Context *rsc, 28 RsDepthFunc depthFunc) : ProgramBase(rsc) { 57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { 63 rsc->mHal.funcs.store.setActive(rsc, this); 66 void ProgramStore::serialize(Context *rsc, OStream *stream) const { 69 ProgramStore *ProgramStore::createFromStream(Context *rsc, IStream *stream) { 83 ObjectBaseRef<ProgramStore> ProgramStore::getProgramStore(Context *rsc, 94 for (uint32_t ct = 0; ct < rsc->mStateFragmentStore.mStorePrograms.size(); ct++) { 95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct] [all...] |
rsAllocation.h | 115 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 118 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages, 121 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type); 129 void syncAll(Context *rsc, RsAllocationUsageType src); 131 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 133 void resize1D(Context *rsc, uint32_t dimX); 134 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY); 136 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 137 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 139 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod 228 const android::renderscript::Context *rsc; member in class:android::renderscript::Allocation::NewBufferListener [all...] |
rsScript.h | 38 IDBase(Context *rsc, Script *s, int slot) : 39 ObjectBase(rsc), mScript(s), mSlot(slot) {} 42 virtual void serialize(Context *rsc, OStream *stream) const {} 51 ScriptKernelID(Context *rsc, Script *s, int slot, int sig); 62 ScriptInvokeID(Context *rsc, Script *s, int slot); 70 ScriptFieldID(Context *rsc, Script *s, int slot); 126 virtual void runForEach(Context* rsc, 135 virtual void runReduce(Context *rsc, uint32_t slot, 139 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) = 0; 140 virtual void setupScript(Context *rsc) = 0 [all...] |
rsScriptC.h | 37 void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) override; 41 void runForEach(Context *rsc, 50 void runReduce(Context *rsc, uint32_t slot, 54 virtual void serialize(Context *rsc, OStream *stream) const { } 56 static Type *createFromStream(Context *rsc, IStream *stream) { return nullptr; } 58 bool runCompiler(Context *rsc, const char *resName, const char *cacheDir,
|
rsScriptIntrinsic.h | 36 bool init(Context *rsc, RsScriptIntrinsicID iid, Element *e); 39 void serialize(Context *rsc, OStream *stream) const override; 43 void runForEach(Context* rsc, 52 void runReduce(Context *rsc, uint32_t slot, 56 void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) override; 57 void setupScript(Context *rsc) override;
|
/frameworks/rs/driver/ |
rsdElement.cpp | 29 void rsdElementDestroy(const Context *rsc, const Element *e) { 32 void rsdElementUpdateCachedObject(const Context *rsc,
|
rsdMesh.cpp | 30 bool rsdMeshInit(const Context *rsc, const Mesh *m) { 36 drv = new RsdMeshObj(rsc, m); 38 return drv->init(rsc); 41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len) { 43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 44 if (!dc->gl.shaderCache->setup(rsc)) { 49 drv->renderPrimitiveRange(rsc, primIndex, start, len); 53 void rsdMeshDestroy(const Context *rsc, const Mesh *m) {
|
rsdGL.h | 23 #define RSD_CALL_GL(x, ...) rsc->setWatchdogGL(#x, __LINE__, __FILE__); x(__VA_ARGS__); rsc->setWatchdogGL(nullptr, 0, nullptr) 74 bool rsdGLSetInternalSurface(const android::renderscript::Context *rsc, 76 bool rsdGLInit(const android::renderscript::Context *rsc); 77 void rsdGLShutdown(const android::renderscript::Context *rsc); 78 bool rsdGLSetSurface(const android::renderscript::Context *rsc, 80 void rsdGLSwap(const android::renderscript::Context *rsc); 81 void rsdGLCheckError(const android::renderscript::Context *rsc, 83 void rsdGLSetPriority(const android::renderscript::Context *rsc, 85 void rsdGLClearColor(const android::renderscript::Context *rsc, [all...] |
rsdScriptGroup.cpp | 31 bool rsdScriptGroupInit(const Context *rsc, ScriptGroupBase *sg) { 32 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 38 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, 42 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, 46 void rsdScriptGroupExecute(const Context *rsc, const ScriptGroupBase *sg) { 52 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroupBase *sg) { 58 void rsdScriptGroupUpdateCachedObject(const Context *rsc,
|
rsdAllocation.h | 82 uint32_t rsdAllocationGrallocBits(const android::renderscript::Context *rsc, 84 bool rsdAllocationInit(const android::renderscript::Context *rsc, 88 bool rsdAllocationInitStrided(const android::renderscript::Context *rsc, 92 bool rsdAllocationAdapterInit(const android::renderscript::Context *rsc, 94 void rsdAllocationDestroy(const android::renderscript::Context *rsc, 97 void rsdAllocationResize(const android::renderscript::Context *rsc, 100 void rsdAllocationSyncAll(const android::renderscript::Context *rsc, 103 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc, 105 void rsdAllocationSetSurface(const android::renderscript::Context *rsc, 107 void rsdAllocationIoSend(const android::renderscript::Context *rsc, [all...] |
rsdFrameBufferObj.cpp | 49 void RsdFrameBufferObj::checkError(const Context *rsc) { 56 rsc->setError(RS_ERROR_BAD_VALUE, 60 rsc->setError(RS_ERROR_BAD_VALUE, 64 rsc->setError(RS_ERROR_BAD_VALUE, 68 rsc->setError(RS_ERROR_BAD_VALUE, 125 void RsdFrameBufferObj::setActive(const Context *rsc) { 126 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 130 rsdGLSetInternalSurface(rsc, mColorTargets[0]->wnd); 149 checkError(rsc); 152 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface) [all...] |
rsdFrameBuffer.cpp | 32 void setDepthAttachment(const Context *rsc, const FBOCache *fb) { 40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget, 47 void setColorAttachment(const Context *rsc, const FBOCache *fb) { 56 rsdAllocationSyncAll(rsc, fb->mHal.state.colorTargets[i], 64 bool rsdFrameBufferInit(const Context *rsc, const FBOCache *fb) { 71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 77 void rsdFrameBufferSetActive(const Context *rsc, const FBOCache *fb) { 78 setDepthAttachment(rsc, fb); 79 setColorAttachment(rsc, fb); 90 fbo->setActive(rsc); [all...] |
rsdType.cpp | 40 void rsdTypeDestroy(const Context *rsc, const Type *t) { 43 void rsdTypeUpdateCachedObject(const Context *rsc,
|
/prebuilts/go/darwin-x86/src/runtime/ |
mknacl.sh | 6 cat /Users/rsc/pub/native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h |
|
/prebuilts/go/linux-x86/src/runtime/ |
mknacl.sh | 6 cat /Users/rsc/pub/native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h |
|