Searched defs:rsc (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/rs/driver/
H A DrsdProgramRaster.cpp35 void rsdProgramRasterSetActive(const Context *rsc, const ProgramRaster *pr) { argument
49 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid cull type");
H A DrsdElement.cpp29 void rsdElementDestroy(const Context *rsc, const Element *e) { argument
32 void rsdElementUpdateCachedObject(const Context *rsc, argument
H A DrsdSampler.cpp40 void rsdSamplerDestroy(const android::renderscript::Context *rsc, argument
44 void rsdSamplerUpdateCachedObject(const Context *rsc, argument
H A DrsdType.cpp39 void rsdTypeDestroy(const Context *rsc, const Type *t) { argument
42 void rsdTypeUpdateCachedObject(const Context *rsc, const Type *t, argument
H A DrsdMesh.cpp30 bool rsdMeshInit(const Context *rsc, const Mesh *m) { argument
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) { argument
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) { argument
H A DrsdFrameBuffer.cpp32 void setDepthAttachment(const Context *rsc, const FBOCache *fb) { argument
40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget,
47 void setColorAttachment(const Context *rsc, const FBOCache *fb) { argument
56 rsdAllocationSyncAll(rsc, fb->mHal.state.colorTargets[i],
64 bool rsdFrameBufferInit(const Context *rsc, const FBOCache *fb) { argument
71 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
77 void rsdFrameBufferSetActive(const Context *rsc, const FBOCache *fb) { argument
78 setDepthAttachment(rsc, fb);
79 setColorAttachment(rsc, fb);
90 fbo->setActive(rsc);
93 rsdFrameBufferDestroy(const Context *rsc, const FBOCache *fb) argument
[all...]
H A DrsdFrameBufferObj.cpp48 void RsdFrameBufferObj::checkError(const Context *rsc) { argument
55 rsc->setError(RS_ERROR_BAD_VALUE,
59 rsc->setError(RS_ERROR_BAD_VALUE,
63 rsc->setError(RS_ERROR_BAD_VALUE,
67 rsc->setError(RS_ERROR_BAD_VALUE,
124 void RsdFrameBufferObj::setActive(const Context *rsc) { argument
125 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
129 rsdGLSetInternalSurface(rsc, mColorTargets[0]->wnd);
148 checkError(rsc);
151 rsdGLSetInternalSurface(rsc, d
[all...]
H A DrsdProgramStore.cpp39 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { argument
113 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend src mode.");
143 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend dst mode.");
155 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { argument
170 if (rsc->mUserSurfaceConfig.depthMin > 0) {
184 if (rsc->mUserSurfaceConfig.stencilMin > 0) {
198 void rsdProgramStoreDestroy(const Context *rsc, const ProgramStore *ps) { argument
H A DrsdScriptGroup.cpp35 bool rsdScriptGroupInit(const Context *rsc, ScriptGroupBase *sg) { argument
36 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
42 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, argument
46 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, argument
50 void rsdScriptGroupExecute(const Context *rsc, const ScriptGroupBase *sg) { argument
56 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroupBase *sg) { argument
62 void rsdScriptGroupUpdateCachedObject(const Context *rsc, argument
H A DrsdProgram.cpp39 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, argument
50 static void SyncProgramConstants(const Context *rsc, const Program *p) { argument
58 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT);
63 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { argument
64 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
66 SyncProgramConstants(rsc, pv);
70 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { argument
71 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
76 if (rsc->props.mLogShaders) {
86 bool rsdProgramFragmentInit(const Context *rsc, cons argument
97 rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) argument
104 rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) argument
[all...]
/frameworks/rs/rsov/driver/
H A DrsovElement.cpp24 bool rsovElementInit(const Context *rsc, const Element *e) { return true; } argument
26 void rsovElementDestroy(const Context *rsc, const Element *e) {} argument
28 void rsovElementUpdateCachedObject(const Context *rsc, const Element *element, argument
H A DrsovSampler.cpp25 bool rsovSamplerInit(const Context *rsc, const Sampler *s) { return true; } argument
27 void rsovSamplerDestroy(const Context *rsc, const Sampler *s) {} argument
29 void rsovSamplerUpdateCachedObject(const Context *rsc, const Sampler *alloc, argument
H A DrsovType.cpp26 void rsovTypeDestroy(const Context *rsc, const Type *t) {} argument
28 void rsovTypeUpdateCachedObject(const Context *rsc, const Type *t, argument
H A DrsovScriptGroup.cpp33 bool rsovScriptGroupInit(const Context *rsc, ScriptGroupBase *sg) { argument
35 RSoVHal *dc = (RSoVHal *)rsc->mHal.drv;
41 void rsovScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, argument
44 void rsovScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, argument
47 void rsovScriptGroupExecute(const Context *rsc, const ScriptGroupBase *sg) { argument
53 void rsovScriptGroupDestroy(const Context *rsc, const ScriptGroupBase *sg) { argument
/frameworks/rs/
H A DrsDevice.cpp30 void Device::addContext(Context *rsc) { argument
31 mContexts.push_back(rsc);
34 void Device::removeContext(Context *rsc) { argument
36 if (mContexts[idx] == rsc) {
H A DrsProgramBase.h29 explicit ProgramBase(Context *rsc) : ObjectBase(rsc) { argument
H A DrsAnimation.cpp24 void Animation::serialize(Context *rsc, OStream *stream) const { argument
27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { argument
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);
119 RsAnimation rsi_AnimationCreate(Context *rsc, argument
[all...]
H A DrsFBOCache.cpp38 void FBOCache::init(Context *rsc) { argument
39 rsc->mHal.funcs.framebuffer.init(rsc, this);
42 void FBOCache::deinit(Context *rsc) { argument
43 rsc->mHal.funcs.framebuffer.destroy(rsc, this);
46 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { argument
62 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) { argument
84 void FBOCache::setup(Context *rsc) { argument
89 rsc
[all...]
H A DrsScriptC.h37 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 { } argument
56 static Type *createFromStream(Context *rsc, IStream *stream) { return nullptr; } argument
58 bool runCompiler(Context *rsc, const char *resName, const char *cacheDir,
H A DrsScriptGroup2.cpp14 void ScriptGroup2::execute(Context* rsc) { argument
15 if (rsc->mHal.funcs.scriptgroup.execute) {
16 rsc->mHal.funcs.scriptgroup.execute(rsc, this);
20 RsScriptGroup2 rsi_ScriptGroup2Create(Context* rsc, const char* name, argument
25 ScriptGroup2* group = new ScriptGroup2(rsc, name, cacheDir,
29 if (rsc->mHal.funcs.scriptgroup.init) {
30 rsc->mHal.funcs.scriptgroup.init(rsc, group);
H A DrsScriptGroup2.h16 ScriptGroup2(Context* rsc, const char* name, const char* cacheDir, argument
18 ScriptGroupBase(rsc), mClosures(closures, closures + numClosures),
23 virtual void execute(Context* rsc);
H A DrsClosure.h42 virtual void serialize(Context *rsc, OStream *stream) const {} argument
H A DrsScriptGroupBase.h11 explicit ScriptGroupBase(Context* rsc) : ObjectBase(rsc) {} argument
14 virtual void serialize(Context *rsc, OStream *stream) const {} argument
25 virtual void execute(Context *rsc) = 0;
/frameworks/rs/support/jni/
H A Dandroid_rscompat_usage_io_driver.cpp15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { argument
34 Context *rsc = (Context *)rscR; local
57 IoGetBuffer(rsc, alloc, nw);
71 extern "C" void rscAllocationDestroy(const Context *rsc, Allocation *alloc) { argument
96 extern "C" void rscAllocationIoSend(const Context *rsc, Allocation *alloc) { argument
106 IoGetBuffer(rsc, alloc, nw);
/frameworks/rs/cpu_ref/
H A Drsd_cpu.h47 Context *rsc; member in struct:android::renderscript::RsdCpuReference::CpuTls

Completed in 588 milliseconds

123