Searched defs:rsc (Results 1 - 25 of 55) sorted by path

123

/frameworks/base/tools/aapt/
H A DXMLNode.cpp562 sp<AaptFile> rsc = new AaptFile(String8(), AaptGroupEntry(), String8()); local
563 status_t err = root->flatten(rsc, !keepComments, false);
567 err = outTree->setTo(rsc->getData(), rsc->getSize(), true);
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp65 RsdCpuReference * RsdCpuReference::create(Context *rsc, uint32_t version_major, argument
74 RsdCpuReferenceImpl *cpu = new RsdCpuReferenceImpl(rsc);
110 RsdCpuReferenceImpl::RsdCpuReferenceImpl(Context *rsc) { argument
111 mRSC = rsc;
148 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx],
H A DrsCpuCore.h94 RsdCpuReferenceImpl *rsc; member in struct:android::renderscript::__anon1484
H A Drsd_cpu.h63 Context *rsc; member in struct:android::renderscript::RsdCpuReference::CpuTls
/frameworks/rs/driver/
H A DrsdAllocation.cpp104 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, argument
123 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { argument
134 rsdGLCheckError(rsc, "Upload2DTexture 1 ");
161 rsdGLCheckError(rsc, "Upload2DTexture");
165 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { argument
191 Upload2DTexture(rsc, alloc, isFirstUpload);
199 rsdGLCheckError(rsc, "UploadToTexture");
203 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { argument
217 rsc->dumpDebug();
224 rsdGLCheckError(rsc, "AllocateRenderTarge
228 UploadToBufferObject(const Context *rsc, const Allocation *alloc) argument
303 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument
371 rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) argument
476 rsdAllocationDestroy(const Context *rsc, Allocation *alloc) argument
533 rsdAllocationResize(const Context *rsc, const Allocation *alloc, const Type *newType, bool zeroNew) argument
561 rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) argument
595 rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src) argument
640 rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) argument
646 IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
671 rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
757 rsdAllocationIoSend(const Context *rsc, Allocation *alloc) argument
785 rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) argument
795 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
815 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
875 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
914 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
926 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
955 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
985 rsdAllocationLock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
990 rsdAllocationUnlock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
995 rsdAllocationData1D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstLod, size_t count, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcLod) argument
1003 rsdAllocationData2D_alloc_script(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstLod, RsAllocationCubemapFace dstFace, uint32_t w, uint32_t h, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcLod, RsAllocationCubemapFace srcFace) argument
1021 rsdAllocationData3D_alloc_script(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstZoff, uint32_t dstLod, uint32_t w, uint32_t h, uint32_t d, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcZoff, uint32_t srcLod) argument
1042 rsdAllocationData2D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstLod, RsAllocationCubemapFace dstFace, uint32_t w, uint32_t h, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcLod, RsAllocationCubemapFace srcFace) argument
1059 rsdAllocationData3D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstZoff, uint32_t dstLod, uint32_t w, uint32_t h, uint32_t d, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcZoff, uint32_t srcLod) argument
1077 rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument
1097 rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument
1171 rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) argument
1193 rsdAllocationGrallocBits(const android::renderscript::Context *rsc, android::renderscript::Allocation *alloc) argument
1199 rsdAllocationUpdateCachedObject(const Context *rsc, const Allocation *alloc, rs_allocation *obj) argument
[all...]
H A DrsdBcc.cpp38 bool rsdScriptInit(const Context *rsc, argument
45 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
56 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, Element *e) { argument
57 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
67 void rsdScriptInvokeForEach(const Context *rsc, argument
80 void rsdScriptInvokeForEachMulti(const Context *rsc, argument
163 void rsdScriptUpdateCachedObject(const Context *rsc, argument
H A DrsdCore.cpp50 static void Shutdown(Context *rsc);
51 static void SetPriority(const Context *rsc, int32_t priority);
198 Context *rsc = (Context*) c; local
199 rsc->mHal.funcs = FunctionTable;
206 rsc->mHal.drv = dc;
208 dc->mCpuRef = RsdCpuReference::create(rsc, version_major, version_minor,
212 rsc->mHal.drv = NULL;
229 rsc->mHal.funcs.allocRuntimeMem,
230 rsc->mHal.funcs.freeRuntimeMem);
238 void SetPriority(const Context *rsc, int32_ argument
250 Shutdown(Context *rsc) argument
[all...]
H A DrsdElement.cpp29 void rsdElementDestroy(const Context *rsc, const Element *e) { argument
32 void rsdElementUpdateCachedObject(const Context *rsc, 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.cpp49 void RsdFrameBufferObj::checkError(const Context *rsc) { argument
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) { argument
126 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
130 rsdGLSetInternalSurface(rsc, mColorTargets[0]->wnd);
149 checkError(rsc);
152 rsdGLSetInternalSurface(rsc, d
[all...]
H A DrsdGL.cpp152 void rsdGLShutdown(const Context *rsc) { argument
153 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
155 rsdGLSetSurface(rsc, 0, 0, NULL);
177 void getConfigData(const Context *rsc, argument
204 if (rsc->mUserSurfaceConfig.alphaMin > 0) {
206 configAttribsPtr[1] = rsc->mUserSurfaceConfig.alphaMin;
210 if (rsc->mUserSurfaceConfig.depthMin > 0) {
212 configAttribsPtr[1] = rsc->mUserSurfaceConfig.depthMin;
216 if (rsc->mDev->mForceSW) {
234 bool rsdGLInit(const Context *rsc) {
[all...]
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 DrsdMeshObj.cpp32 RsdMeshObj::RsdMeshObj(const Context *rsc, const Mesh *rsMesh) { argument
71 bool RsdMeshObj::init(const Context *rsc) { argument
73 updateGLPrimitives(rsc);
128 void RsdMeshObj::renderPrimitiveRange(const Context *rsc, uint32_t primIndex, argument
131 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid mesh or parameters");
139 rsdAllocationSyncAll(rsc, alloc, RS_ALLOCATION_USAGE_SCRIPT);
159 va.setup(rsc);
165 rsdAllocationSyncAll(rsc, idxAlloc, RS_ALLOCATION_USAGE_SCRIPT);
181 rsdGLCheckError(rsc, "Mesh::renderPrimitiveRange");
184 void RsdMeshObj::updateGLPrimitives(const Context *rsc) { argument
[all...]
H A DrsdPath.cpp65 static void cleanup(const Context *rsc, const Path *m) { argument
72 bool rsdPathInitStatic(const Context *rsc, const Path *m, argument
75 cleanup(rsc, m);
83 bool rsdPathInitDynamic(const Context *rsc, const Path *m) { argument
88 void rsdPathDraw(const Context *rsc, const Path *m) { argument
94 drv->draw((Context *)rsc);
98 void rsdPathDestroy(const Context *rsc, const Path *m) { argument
99 cleanup(rsc, m);
135 void DrvPathStatic::draw(Context *rsc) { argument
143 if (!rsc
[all...]
H A DrsdProgram.cpp36 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, argument
47 static void SyncProgramConstants(const Context *rsc, const Program *p) { argument
55 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT);
60 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { argument
61 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
63 SyncProgramConstants(rsc, pv);
67 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { argument
68 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
73 if (rsc->props.mLogShaders) {
83 bool rsdProgramFragmentInit(const Context *rsc, cons argument
94 rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) argument
101 rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) argument
[all...]
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 DrsdProgramStore.cpp40 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { argument
114 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend src mode.");
144 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend dst mode.");
156 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { argument
171 if (rsc->mUserSurfaceConfig.depthMin > 0) {
185 if (rsc->mUserSurfaceConfig.stencilMin > 0) {
199 void rsdProgramStoreDestroy(const Context *rsc, const ProgramStore *ps) { argument
H A DrsdRuntimeStubs.cpp110 Context *rsc = RsdCpuReference::getTlsContext(); local
111 rsrAllocationSyncAll(rsc, (Allocation*)a.p, source);
115 Context *rsc = RsdCpuReference::getTlsContext(); local
116 rsrAllocationSyncAll(rsc, (Allocation*)a.p, RS_ALLOCATION_USAGE_SCRIPT);
127 Context *rsc = RsdCpuReference::getTlsContext(); local
128 rsrAllocationCopy1DRange(rsc, (Allocation*)dstAlloc.p, dstOff, dstMip, count,
139 Context *rsc = RsdCpuReference::getTlsContext(); local
140 rsrAllocationCopy2DRange(rsc, (Allocation*)dstAlloc.p,
148 Context *rsc = RsdCpuReference::getTlsContext(); local
149 rsrAllocationIoSend(rsc, (Allocatio
154 Context *rsc = RsdCpuReference::getTlsContext(); local
166 Context *rsc = RsdCpuReference::getTlsContext(); local
178 Context *rsc = RsdCpuReference::getTlsContext(); local
187 Context *rsc = RsdCpuReference::getTlsContext(); local
193 Context *rsc = RsdCpuReference::getTlsContext(); local
206 Context *rsc = RsdCpuReference::getTlsContext(); local
211 Context *rsc = RsdCpuReference::getTlsContext(); local
216 Context *rsc = RsdCpuReference::getTlsContext(); local
221 Context *rsc = RsdCpuReference::getTlsContext(); local
226 Context *rsc = RsdCpuReference::getTlsContext(); local
231 Context *rsc = RsdCpuReference::getTlsContext(); local
236 Context *rsc = RsdCpuReference::getTlsContext(); local
241 Context *rsc = RsdCpuReference::getTlsContext(); local
246 Context *rsc = RsdCpuReference::getTlsContext(); local
251 Context *rsc = RsdCpuReference::getTlsContext(); local
256 Context *rsc = RsdCpuReference::getTlsContext(); local
261 Context *rsc = RsdCpuReference::getTlsContext(); local
266 Context *rsc = RsdCpuReference::getTlsContext(); local
276 Context *rsc = RsdCpuReference::getTlsContext(); local
281 Context *rsc = RsdCpuReference::getTlsContext(); local
286 Context *rsc = RsdCpuReference::getTlsContext(); local
291 Context *rsc = RsdCpuReference::getTlsContext(); local
296 Context *rsc = RsdCpuReference::getTlsContext(); local
309 Context *rsc = RsdCpuReference::getTlsContext(); local
350 Context *rsc = RsdCpuReference::getTlsContext(); local
372 Context *rsc = RsdCpuReference::getTlsContext(); local
377 Context *rsc = RsdCpuReference::getTlsContext(); local
382 Context *rsc = RsdCpuReference::getTlsContext(); local
387 Context *rsc = RsdCpuReference::getTlsContext(); local
394 Context *rsc = RsdCpuReference::getTlsContext(); local
406 Context *rsc = RsdCpuReference::getTlsContext(); local
411 Context *rsc = RsdCpuReference::getTlsContext(); local
416 Context *rsc = RsdCpuReference::getTlsContext(); local
422 Context *rsc = RsdCpuReference::getTlsContext(); local
428 Context *rsc = RsdCpuReference::getTlsContext(); local
433 Context *rsc = RsdCpuReference::getTlsContext(); local
438 Context *rsc = RsdCpuReference::getTlsContext(); local
443 Context *rsc = RsdCpuReference::getTlsContext(); local
449 Context *rsc = RsdCpuReference::getTlsContext(); local
455 Context *rsc = RsdCpuReference::getTlsContext(); local
460 Context *rsc = RsdCpuReference::getTlsContext(); local
465 Context *rsc = RsdCpuReference::getTlsContext(); local
476 Context *rsc = RsdCpuReference::getTlsContext(); local
483 Context *rsc = RsdCpuReference::getTlsContext(); local
490 Context *rsc = RsdCpuReference::getTlsContext(); local
496 Context *rsc = RsdCpuReference::getTlsContext(); local
502 Context *rsc = RsdCpuReference::getTlsContext(); local
511 Context *rsc = RsdCpuReference::getTlsContext(); local
516 Context *rsc = RsdCpuReference::getTlsContext(); local
528 Context *rsc = RsdCpuReference::getTlsContext(); local
538 Context *rsc = RsdCpuReference::getTlsContext(); local
549 Context *rsc = RsdCpuReference::getTlsContext(); local
564 Context *rsc = RsdCpuReference::getTlsContext(); local
571 Context *rsc = RsdCpuReference::getTlsContext(); local
581 Context *rsc = RsdCpuReference::getTlsContext(); local
589 Context *rsc = RsdCpuReference::getTlsContext(); local
600 Context *rsc = RsdCpuReference::getTlsContext(); local
609 Context *rsc = RsdCpuReference::getTlsContext(); local
620 Context *rsc = RsdCpuReference::getTlsContext(); local
629 Context *rsc = RsdCpuReference::getTlsContext(); local
641 Context *rsc = RsdCpuReference::getTlsContext(); local
651 Context *rsc = RsdCpuReference::getTlsContext(); local
663 Context *rsc = RsdCpuReference::getTlsContext(); local
670 Context *rsc = RsdCpuReference::getTlsContext(); local
675 Context *rsc = RsdCpuReference::getTlsContext(); local
681 Context *rsc = RsdCpuReference::getTlsContext(); local
686 Context *rsc = RsdCpuReference::getTlsContext(); local
691 Context *rsc = RsdCpuReference::getTlsContext(); local
700 Context *rsc = RsdCpuReference::getTlsContext(); local
705 Context *rsc = RsdCpuReference::getTlsContext(); local
710 Context *rsc = RsdCpuReference::getTlsContext(); local
715 Context *rsc = RsdCpuReference::getTlsContext(); local
721 Context *rsc = RsdCpuReference::getTlsContext(); local
752 Context *rsc = RsdCpuReference::getTlsContext(); local
790 Context *rsc = RsdCpuReference::getTlsContext(); local
1458 Context *rsc = RsdCpuReference::getTlsContext(); local
1467 Context *rsc = RsdCpuReference::getTlsContext(); local
1476 Context *rsc = RsdCpuReference::getTlsContext(); local
1486 Context *rsc = RsdCpuReference::getTlsContext(); local
1491 Context *rsc = RsdCpuReference::getTlsContext(); local
1572 Context *rsc = RsdCpuReference::getTlsContext(); local
[all...]
H A DrsdSampler.cpp40 void rsdSamplerDestroy(const android::renderscript::Context *rsc, argument
44 void rsdSamplerUpdateCachedObject(const Context *rsc, argument
H A DrsdScriptGroup.cpp31 bool rsdScriptGroupInit(const Context *rsc, ScriptGroup *sg) { argument
32 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
38 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, argument
42 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, argument
46 void rsdScriptGroupExecute(const Context *rsc, const ScriptGroup *sg) { argument
51 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroup *sg) { argument
56 void rsdScriptGroupUpdateCachedObject(const Context *rsc, argument
H A DrsdShader.cpp102 uint32_t RsdShader::getStateBasedShaderID(const Context *rsc) { argument
113 loadShader(rsc);
230 bool RsdShader::loadShader(const Context *rsc) { argument
238 if (rsc->props.mLogShaders) {
257 rsc->setError(RS_ERROR_FATAL_PROGRAM_LINK, buf);
267 if (rsc->props.mLogShaders) {
355 void RsdShader::setUniform(const Context *rsc, const Element *field, const float *fd, argument
384 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { argument
385 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
410 rsc
461 setupTextures(const Context *rsc, RsdShaderCache *sc) argument
520 setupUserConstants(const Context *rsc, RsdShaderCache *sc, bool isFragment) argument
567 setup(const android::renderscript::Context *rsc, RsdShaderCache *sc) argument
[all...]
H A DrsdShaderCache.cpp41 void RsdShaderCache::updateUniformArrayData(const Context *rsc, RsdShader *prog, uint32_t linkedID, argument
56 if (rsc->props.mLogShaders) {
86 bool RsdShaderCache::setup(const Context *rsc) { argument
91 if (!link(rsc)) {
96 mFragment->setup(rsc, this);
100 mVertex->setup(rsc, this);
107 bool RsdShaderCache::link(const Context *rsc) { argument
112 uint32_t vID = vtx->getStateBasedShaderID(rsc);
113 uint32_t fID = frag->getStateBasedShaderID(rsc);
127 rsdGLCheckError(rsc, "RsdShaderCach
[all...]
H A DrsdType.cpp40 void rsdTypeDestroy(const Context *rsc, const Type *t) { argument
43 void rsdTypeUpdateCachedObject(const Context *rsc, argument
/frameworks/rs/
H A DrsAdapter.cpp24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { argument
28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { argument
40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument
41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes, 0);
44 void Adapter1D::serialize(Context *rsc, OStream *stream) const { argument
47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { argument
54 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { argument
55 Adapter1D *a = new Adapter1D(rsc);
60 rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) argument
66 rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) argument
95 Adapter2D(Context *rsc) argument
99 Adapter2D(Context *rsc, Allocation *a) argument
111 data(Context *rsc, uint32_t x, uint32_t y, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
117 serialize(Context *rsc, OStream *stream) const argument
120 createFromStream(Context *rsc, IStream *stream) argument
128 rsi_Adapter2DCreate(Context *rsc) argument
134 rsi_Adapter2DBindAllocation(Context *rsc, RsAdapter2D va, RsAllocation valloc) argument
140 rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) argument
[all...]
H A DrsAllocation.cpp30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
32 : ObjectBase(rsc) {
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
61 Allocation *a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
63 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) {
64 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
93 void Allocation::syncAll(Context *rsc, RsAllocationUsageTyp argument
97 getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride) argument
115 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
132 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
138 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
145 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
161 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
179 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
191 elementData(Context *rsc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument
216 elementData(Context *rsc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument
279 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
328 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument
336 packVec3Allocation(Context *rsc, OStream *stream) const argument
351 serialize(Context *rsc, OStream *stream) const argument
375 createFromStream(Context *rsc, IStream *stream) argument
441 callUpdateCacheObject(const Context *rsc, void *dstObj) const argument
465 copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len) argument
468 resize1D(Context *rsc, uint32_t dimX) argument
484 resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) argument
495 getSurface(const Context *rsc) argument
516 setSurface(const Context *rsc, RsNativeWindow sur) argument
521 ioSend(const Context *rsc) argument
525 ioReceive(const Context *rsc) argument
564 rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) argument
570 rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) argument
575 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
582 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
588 rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, const void *data, size_t sizeBytes, size_t eoff) argument
594 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
600 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
606 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
613 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
625 rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) argument
630 rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) argument
635 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
646 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
668 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
706 rsi_AllocationCopy2DRange(Context *rsc, RsAllocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, RsAllocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
723 rsi_AllocationCopy3DRange(Context *rsc, RsAllocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstZoff, uint32_t dstMip, uint32_t width, uint32_t height, uint32_t depth, RsAllocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcZoff, uint32_t srcMip) argument
739 rsi_AllocationGetSurface(Context *rsc, RsAllocation valloc) argument
745 rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) argument
750 rsi_AllocationIoSend(Context *rsc, RsAllocation valloc) argument
755 rsi_AllocationIoReceive(Context *rsc, RsAllocation valloc) argument
760 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
769 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
775 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
[all...]

Completed in 987 milliseconds

123