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

123

/frameworks/base/tools/aapt/
H A DXMLNode.cpp568 sp<AaptFile> rsc = new AaptFile(String8(), AaptGroupEntry(), String8()); local
569 status_t err = root->flatten(rsc, !keepComments, false);
573 err = outTree->setTo(rsc->getData(), rsc->getSize(), true);
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp59 RsdCpuReference * RsdCpuReference::create(Context *rsc, uint32_t version_major, argument
65 RsdCpuReferenceImpl *cpu = new RsdCpuReferenceImpl(rsc);
98 RsdCpuReferenceImpl::RsdCpuReferenceImpl(Context *rsc) { argument
99 mRSC = rsc;
134 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx],
H A Drsd_cpu.h43 Context *rsc; member in struct:android::renderscript::RsdCpuReference::CpuTls
/frameworks/rs/driver/
H A DrsdAllocation.cpp103 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, argument
122 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { argument
133 rsdGLCheckError(rsc, "Upload2DTexture 1 ");
160 rsdGLCheckError(rsc, "Upload2DTexture");
164 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { argument
190 Upload2DTexture(rsc, alloc, isFirstUpload);
198 rsdGLCheckError(rsc, "UploadToTexture");
202 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { argument
216 rsc->dumpDebug();
223 rsdGLCheckError(rsc, "AllocateRenderTarge
227 UploadToBufferObject(const Context *rsc, const Allocation *alloc) argument
305 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr, size_t requiredAlignment) argument
361 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument
378 rsdAllocationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t requiredAlignment) argument
502 rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) argument
506 rsdAllocationAdapterOffset(const Context *rsc, const Allocation *alloc) argument
529 rsdAllocationAdapterInit(const Context *rsc, Allocation *alloc) argument
542 rsdAllocationDestroy(const Context *rsc, Allocation *alloc) argument
601 rsdAllocationResize(const Context *rsc, const Allocation *alloc, const Type *newType, bool zeroNew) argument
629 rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) argument
663 rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src) argument
708 rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) argument
714 IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
739 rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
829 rsdAllocationIoSend(const Context *rsc, Allocation *alloc) argument
857 rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) argument
870 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
890 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
952 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
991 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
1003 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
1032 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
1062 rsdAllocationLock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
1067 rsdAllocationUnlock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
1072 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
1080 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
1098 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
1119 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
1136 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
1154 rsdAllocationElementData(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, uint32_t z, const void *data, uint32_t cIdx, size_t sizeBytes) argument
1173 rsdAllocationElementRead(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, uint32_t z, void *data, uint32_t cIdx, size_t sizeBytes) argument
1240 rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) argument
1262 rsdAllocationGrallocBits(const android::renderscript::Context *rsc, android::renderscript::Allocation *alloc) argument
1268 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;
57 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, argument
59 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
69 void rsdScriptInvokeForEach(const Context *rsc, argument
79 rsdScriptInvokeForEachMulti(rsc, s, slot, nullptr, 0, aout, usr, usrLen,
84 rsdScriptInvokeForEachMulti(rsc, s, slot, ains, 1, aout, usr, usrLen,
89 void rsdScriptInvokeForEachMulti(const Context *rsc, argument
181 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);
280 typedef void (*sAllocationDestroyFnPtr) (const Context *rsc, Allocation *alloc);
281 typedef void (*sAllocationIoSendFnPtr) (const Context *rsc, Allocation *alloc);
282 typedef void (*sAllocationSetSurfaceFnPtr) (const Context *rsc, Allocation *alloc, ANativeWindow *nw);
315 Context *rsc = (Context*) c; local
318 rsc->mHal.funcs.allocation.destroy = sAllocationDestroy;
319 rsc->mHal.funcs.allocation.ioSend = sAllocationIoSend;
320 rsc->mHal.funcs.allocation.setSurface = sAllocationSetSurface;
329 rsc
344 SetPriority(const Context *rsc, int32_t priority) argument
356 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, nullptr);
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 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.cpp135 static bool failIfInKernel(Context *rsc, const char *funcName) { argument
136 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
143 rsc->setError(RS_ERROR_FATAL_DRIVER, buf);
155 Context *rsc = RsdCpuReference::getTlsContext(); local
157 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr);
159 alloc->callUpdateCacheObject(rsc, &obj);
164 Context *rsc = RsdCpuReference::getTlsContext(); local
166 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr);
173 alloc->callUpdateCacheObject(rsc, &obj);
179 Context *rsc local
186 Context *rsc = RsdCpuReference::getTlsContext(); local
197 Context *rsc = RsdCpuReference::getTlsContext(); local
212 Context *rsc = RsdCpuReference::getTlsContext(); local
225 Context *rsc = RsdCpuReference::getTlsContext(); local
251 Context *rsc = RsdCpuReference::getTlsContext(); local
324 Context *rsc = RsdCpuReference::getTlsContext(); local
454 Context *rsc = RsdCpuReference::getTlsContext(); local
657 Context *rsc = RsdCpuReference::getTlsContext(); local
678 Context *rsc = RsdCpuReference::getTlsContext(); local
687 Context *rsc = RsdCpuReference::getTlsContext(); local
695 Context *rsc = RsdCpuReference::getTlsContext(); local
707 Context *rsc = RsdCpuReference::getTlsContext(); local
718 Context *rsc = RsdCpuReference::getTlsContext(); local
728 Context *rsc = RsdCpuReference::getTlsContext(); local
733 Context *rsc = RsdCpuReference::getTlsContext(); local
738 Context *rsc = RsdCpuReference::getTlsContext(); local
743 Context *rsc = RsdCpuReference::getTlsContext(); local
759 Context *rsc = RsdCpuReference::getTlsContext(); local
768 Context *rsc = RsdCpuReference::getTlsContext(); local
773 Context *rsc = RsdCpuReference::getTlsContext(); local
778 Context *rsc = RsdCpuReference::getTlsContext(); local
783 Context *rsc = RsdCpuReference::getTlsContext(); local
796 Context *rsc = RsdCpuReference::getTlsContext(); local
837 Context *rsc = RsdCpuReference::getTlsContext(); local
855 Context *rsc = RsdCpuReference::getTlsContext(); local
860 Context *rsc = RsdCpuReference::getTlsContext(); local
866 Context *rsc = RsdCpuReference::getTlsContext(); local
873 Context *rsc = RsdCpuReference::getTlsContext(); local
878 Context *rsc = RsdCpuReference::getTlsContext(); local
883 Context *rsc = RsdCpuReference::getTlsContext(); local
888 Context *rsc = RsdCpuReference::getTlsContext(); local
893 Context *rsc = RsdCpuReference::getTlsContext(); local
899 Context *rsc = RsdCpuReference::getTlsContext(); local
905 Context *rsc = RsdCpuReference::getTlsContext(); local
911 Context *rsc = RsdCpuReference::getTlsContext(); local
917 Context *rsc = RsdCpuReference::getTlsContext(); local
922 Context *rsc = RsdCpuReference::getTlsContext(); local
927 Context *rsc = RsdCpuReference::getTlsContext(); local
932 Context *rsc = RsdCpuReference::getTlsContext(); local
937 Context *rsc = RsdCpuReference::getTlsContext(); local
943 Context *rsc = RsdCpuReference::getTlsContext(); local
948 Context *rsc = RsdCpuReference::getTlsContext(); local
953 Context *rsc = RsdCpuReference::getTlsContext(); local
989 Context *rsc = RsdCpuReference::getTlsContext(); local
994 Context *rsc = RsdCpuReference::getTlsContext(); local
999 Context *rsc = RsdCpuReference::getTlsContext(); local
1006 Context *rsc = RsdCpuReference::getTlsContext(); local
1011 Context *rsc = RsdCpuReference::getTlsContext(); local
1017 Context *rsc = RsdCpuReference::getTlsContext(); local
1023 Context *rsc = RsdCpuReference::getTlsContext(); local
1028 Context *rsc = RsdCpuReference::getTlsContext(); local
1034 Context *rsc = RsdCpuReference::getTlsContext(); local
1040 Context *rsc = RsdCpuReference::getTlsContext(); local
1045 Context *rsc = RsdCpuReference::getTlsContext(); local
1050 Context *rsc = RsdCpuReference::getTlsContext(); local
1055 Context *rsc = RsdCpuReference::getTlsContext(); local
1060 Context *rsc = RsdCpuReference::getTlsContext(); local
1065 Context *rsc = RsdCpuReference::getTlsContext(); local
1070 Context *rsc = RsdCpuReference::getTlsContext(); local
1075 Context *rsc = RsdCpuReference::getTlsContext(); local
1080 Context *rsc = RsdCpuReference::getTlsContext(); local
1085 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, ScriptGroupBase *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 ScriptGroupBase *sg) { argument
52 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroupBase *sg) { argument
58 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) {
357 void RsdShader::setUniform(const Context *rsc, const Element *field, const float *fd, argument
386 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { argument
387 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
412 rsc
463 setupTextures(const Context *rsc, RsdShaderCache *sc) argument
522 setupUserConstants(const Context *rsc, RsdShaderCache *sc, bool isFragment) argument
569 setup(const android::renderscript::Context *rsc, RsdShaderCache *sc) argument
[all...]
H A DrsdShaderCache.cpp41 void RsdShaderCache::updateUniformArrayData(const Context *rsc, argument
60 if (rsc->props.mLogShaders) {
93 bool RsdShaderCache::setup(const Context *rsc) { argument
98 if (!link(rsc)) {
103 mFragment->setup(rsc, this);
107 mVertex->setup(rsc, this);
114 bool RsdShaderCache::link(const Context *rsc) { argument
119 uint32_t vID = vtx->getStateBasedShaderID(rsc);
120 uint32_t fID = frag->getStateBasedShaderID(rsc);
134 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 DrsAllocation.cpp29 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
31 : ObjectBase(rsc) {
43 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) argument
44 : ObjectBase(rsc) {
62 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, argument
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
102 createAllocation(Context *rsc, const Type *type, uint32_t usages, RsAllocationMipmapControl mc, void * ptr) argument
107 createAdapter(Context *rsc, const Allocation *alloc, const Type *type) argument
127 adapterOffset(Context *rsc, const uint32_t *offsets, size_t len) argument
166 syncAll(Context *rsc, RsAllocationUsageType src) argument
170 getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride) argument
192 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
209 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
215 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
222 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
238 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
256 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
268 elementData(Context *rsc, uint32_t x, uint32_t y, uint32_t z, const void *data, uint32_t cIdx, size_t sizeBytes) argument
303 elementRead(Context *rsc, uint32_t x, uint32_t y, uint32_t z, void *data, uint32_t cIdx, size_t sizeBytes) argument
370 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
419 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument
427 packVec3Allocation(Context *rsc, OStream *stream) const argument
442 serialize(Context *rsc, OStream *stream) const argument
466 createFromStream(Context *rsc, IStream *stream) argument
532 callUpdateCacheObject(const Context *rsc, void *dstObj) const argument
556 copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len) argument
559 resize1D(Context *rsc, uint32_t dimX) argument
575 resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) argument
602 setupGrallocConsumer(const Context *rsc, uint32_t numAlloc) argument
623 getSurface(const Context *rsc) argument
640 shareBufferQueue(const Context *rsc, const Allocation *alloc) argument
657 setSurface(const Context *rsc, RsNativeWindow sur) argument
662 ioSend(const Context *rsc) argument
666 ioReceive(const Context *rsc) argument
705 rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) argument
711 rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) argument
716 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
723 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
729 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
735 rsi_AllocationElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
741 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
747 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
754 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
769 rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) argument
774 rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) argument
779 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
790 rsi_AllocationCreateStrided(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr, size_t requiredAlignment) argument
803 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
825 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
863 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
880 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
895 rsi_AllocationSetupBufferQueue(Context *rsc, RsAllocation valloc, uint32_t numAlloc) argument
900 rsi_AllocationGetSurface(Context *rsc, RsAllocation valloc) argument
906 rsi_AllocationShareBufferQueue(Context *rsc, RsAllocation valloc1, RsAllocation valloc2) argument
912 rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) argument
917 rsi_AllocationIoSend(Context *rsc, RsAllocation valloc) argument
922 rsi_AllocationIoReceive(Context *rsc, RsAllocation valloc) argument
928 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
937 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
943 rsi_AllocationElementRead(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, void *data, size_t sizeBytes, size_t eoff) argument
949 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
956 rsi_Allocation3DRead(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, void *data, size_t sizeBytes, size_t stride) argument
964 rsi_AllocationAdapterCreate(Context *rsc, RsType vwindow, RsAllocation vbase) argument
976 rsi_AllocationAdapterOffset(Context *rsc, RsAllocation va, const uint32_t *offsets, size_t len) argument
[all...]
H A DrsAllocation.h115 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_
228 const android::renderscript::Context *rsc; member in class:android::renderscript::Allocation::NewBufferListener
[all...]
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);
122 RsAnimation rsi_AnimationCreate(Context *rsc, argument
[all...]
H A DrsApiContext.cpp31 Context *rsc = Context::createContext(dev, nullptr, ct, flags); local
32 if (rsc) {
33 rsc->setTargetSdkVersion(sdkVersion);
35 return rsc;
40 Context *rsc = static_cast<Context *>(con); local
41 rsc->setNativeLibDir(libDir, length);
51 Context *rsc = Context::createContext(dev, &sc); local
52 if (rsc) {
53 rsc->setTargetSdkVersion(sdkVersion);
54 rsc
[all...]

Completed in 4258 milliseconds

123