Searched refs:rsc (Results 76 - 95 of 95) sorted by relevance

1234

/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
306 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument
374 rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) argument
479 rsdAllocationAdapterOffset(const Context *rsc, const Allocation *alloc) argument
502 rsdAllocationAdapterInit(const Context *rsc, Allocation *alloc) argument
515 rsdAllocationDestroy(const Context *rsc, Allocation *alloc) argument
574 rsdAllocationResize(const Context *rsc, const Allocation *alloc, const Type *newType, bool zeroNew) argument
602 rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) argument
636 rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src) argument
681 rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) argument
687 IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
712 rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
802 rsdAllocationIoSend(const Context *rsc, Allocation *alloc) argument
830 rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) argument
843 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
863 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
923 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
962 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
974 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
1003 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
1033 rsdAllocationLock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
1038 rsdAllocationUnlock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
1043 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
1051 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
1069 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
1090 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
1107 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
1125 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
1144 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
1211 rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) argument
1233 rsdAllocationGrallocBits(const android::renderscript::Context *rsc, android::renderscript::Allocation *alloc) argument
1239 rsdAllocationUpdateCachedObject(const Context *rsc, const Allocation *alloc, rs_allocation *obj) argument
[all...]
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 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
172 void rsdScriptUpdateCachedObject(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 DrsdBcc.h26 bool rsdInitIntrinsic(const android::renderscript::Context *rsc,
37 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc,
46 void rsdScriptInvokeForEachMulti(const android::renderscript::Context *rsc,
101 void rsdScriptUpdateCachedObject(const android::renderscript::Context *rsc,
H A DrsdShader.h91 void setupUserConstants(const android::renderscript::Context *rsc,
96 void setupTextures(const android::renderscript::Context *rsc, RsdShaderCache *sc);
97 void setupSampler(const android::renderscript::Context *rsc,
127 void setUniform(const android::renderscript::Context *rsc,
H A DrsdShaderCache.h55 bool setup(const android::renderscript::Context *rsc);
69 bool link(const android::renderscript::Context *rsc);
152 void updateUniformArrayData(const android::renderscript::Context *rsc,
H A DrsdVertexArray.h52 void setup(const android::renderscript::Context *rsc) const;
/frameworks/rs/
H A DrsType.cpp30 Type::Type(Context *rsc) : ObjectBase(rsc) { argument
164 void Type::serialize(Context *rsc, OStream *stream) const { argument
169 mElement->serialize(rsc, stream);
179 Type *Type::createFromStream(Context *rsc, IStream *stream) { argument
189 Element *elem = Element::createFromStream(rsc, stream);
201 Type *type = Type::getType(rsc, elem, &p, sizeof(p));
225 ObjectBaseRef<Type> Type::getTypeRef(Context *rsc, const Element *e, argument
229 TypeState * stc = &rsc->mStateType;
252 void* allocMem = rsc
296 cloneAndResize1D(Context *rsc, uint32_t dimX) const argument
306 cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const argument
351 callUpdateCacheObject(const Context *rsc, void *dstObj) const argument
364 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
379 rsi_TypeCreate2(Context *rsc, const RsTypeCreateParams *p, size_t len) argument
[all...]
H A DrsFont.h69 virtual void serialize(Context *rsc, OStream *stream) const { argument
75 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
119 Font(Context *rsc);
143 void init(Context *rsc);
144 void deinit(Context *rsc);
H A DrsFileA3D.cpp34 FileA3D::FileA3D(Context *rsc) : ObjectBase(rsc) { argument
445 Context *rsc = static_cast<Context *>(con); local
446 FileA3D *fa3d = new FileA3D(rsc);
455 Context *rsc = static_cast<Context *>(con); local
457 FileA3D *fa3d = new FileA3D(rsc);
473 Context *rsc = static_cast<Context *>(con); local
478 fa3d = new FileA3D(rsc);
H A DrsClosure.h42 virtual void serialize(Context *rsc, OStream *stream) const {} argument
H A DrsFont.cpp36 Font::Font(Context *rsc) : ObjectBase(rsc), mCachedGlyphs(NULL) { argument
296 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, argument
298 rsc->mStateFont.checkInit();
299 Vector<Font*> &activeFonts = rsc->mStateFont.mActiveFonts;
308 Font *newFont = new Font(rsc);
312 rsc->mStateFont.precacheLatin(newFont);
398 void FontState::init(Context *rsc) { argument
399 mRSC = rsc;
813 void FontState::deinit(Context *rsc) { argument
860 rsi_FontCreateFromFile(Context *rsc, char const *name, size_t name_length, float fontSize, uint32_t dpi) argument
870 rsi_FontCreateFromMemory(Context *rsc, char const *name, size_t name_length, float fontSize, uint32_t dpi, const void *data, size_t data_length) argument
[all...]
H A DrsContext.h66 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
72 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
380 void LF_ObjDestroy_handcode(const Context *rsc, RsAsyncVoidPtr objPtr);
H A DrsClosure.cpp46 void rsi_ClosureSetArg(Context* rsc, RsClosure closure, uint32_t index, argument
51 void rsi_ClosureSetGlobal(Context* rsc, RsClosure closure, argument
/frameworks/rs/cpu_ref/
H A DrsCpuCore.h56 RsdCpuReferenceImpl *rsc; member in struct:android::renderscript::MTLaunchStruct
H A Drsd_cpu.h61 Context *rsc; member in struct:android::renderscript::RsdCpuReference::CpuTls
H A DrsCpuCore.cpp62 RsdCpuReference * RsdCpuReference::create(Context *rsc, uint32_t version_major, argument
69 RsdCpuReferenceImpl *cpu = new RsdCpuReferenceImpl(rsc);
103 RsdCpuReferenceImpl::RsdCpuReferenceImpl(Context *rsc) { argument
104 mRSC = rsc;
141 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx],
H A DrsCpuScript.cpp306 //ALOGE("rsdScriptCreate %p %p %p %p %i %i %p", rsc, resName, cacheDir,
308 //ALOGE("rsdScriptInit %p %p", rsc, script);
678 mtls->rsc = mCtx;
/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);

Completed in 189 milliseconds

1234