/frameworks/rs/driver/ |
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 int32_t 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 | 35 bool rsdScriptGroupInit(const Context *rsc, ScriptGroupBase *sg) { 36 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 42 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, 46 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, 50 void rsdScriptGroupExecute(const Context *rsc, const ScriptGroupBase *sg) { 56 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroupBase *sg) { 62 void rsdScriptGroupUpdateCachedObject(const Context *rsc,
|
rsdFrameBufferObj.cpp | 48 void RsdFrameBufferObj::checkError(const Context *rsc) { 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) { 125 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 129 rsdGLSetInternalSurface(rsc, mColorTargets[0]->wnd); 148 checkError(rsc); 151 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface) [all...] |
rsdAllocation.h | 80 uint32_t rsdAllocationGrallocBits(const android::renderscript::Context *rsc, 82 bool rsdAllocationInit(const android::renderscript::Context *rsc, 86 bool rsdAllocationInitStrided(const android::renderscript::Context *rsc, 90 bool rsdAllocationAdapterInit(const android::renderscript::Context *rsc, 92 void rsdAllocationDestroy(const android::renderscript::Context *rsc, 95 void rsdAllocationResize(const android::renderscript::Context *rsc, 98 void rsdAllocationSyncAll(const android::renderscript::Context *rsc, 101 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc, 103 void rsdAllocationSetSurface(const android::renderscript::Context *rsc, 105 void rsdAllocationIoSend(const android::renderscript::Context *rsc, [all...] |
rsdProgram.cpp | 39 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, 50 static void SyncProgramConstants(const Context *rsc, const Program *p) { 58 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT); 63 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { 64 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 66 SyncProgramConstants(rsc, pv); 70 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { 71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 76 if (rsc->props.mLogShaders) { 86 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf [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...] |
rsdElement.cpp | 29 void rsdElementDestroy(const Context *rsc, const Element *e) { 32 void rsdElementUpdateCachedObject(const Context *rsc,
|
rsdGL.cpp | 148 void rsdGLShutdown(const Context *rsc) { 149 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 151 rsdGLSetSurface(rsc, 0, 0, nullptr); 173 void getConfigData(const Context *rsc, 200 if (rsc->mUserSurfaceConfig.alphaMin > 0) { 202 configAttribsPtr[1] = rsc->mUserSurfaceConfig.alphaMin; 206 if (rsc->mUserSurfaceConfig.depthMin > 0) { 208 configAttribsPtr[1] = rsc->mUserSurfaceConfig.depthMin; 224 int32_t rsdGLInit(const Context *rsc) { 225 RsdHal *dc = (RsdHal *)rsc->mHal.drv [all...] |
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_surface.c | 45 struct etna_resource *rsc = etna_resource(prsc); local 54 assert(layer < rsc->base.array_size); 59 pipe_resource_reference(&surf->base.texture, &rsc->base); 71 !DBG_ENABLED(ETNA_DBG_NO_TS) && !rsc->ts_bo && 72 !(rsc->base.bind & (PIPE_BIND_SAMPLER_VIEW)) && 73 (rsc->levels[level].padded_width & ETNA_RS_WIDTH_MASK) == 0 && 74 (rsc->levels[level].padded_height & ETNA_RS_HEIGHT_MASK) == 0) { 75 etna_screen_resource_alloc_ts(pctx->screen, rsc); 78 surf->base.texture = &rsc->base; 79 surf->base.format = rsc->base.format [all...] |
/frameworks/rs/ |
rsProgramStore.cpp | 23 ProgramStore::ProgramStore(Context *rsc, 27 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...] |
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...] |
rsAllocation.h | 111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 114 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages, 117 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type); 125 void syncAll(Context *rsc, RsAllocationUsageType src); 127 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 129 void resize1D(Context *rsc, uint32_t dimX); 130 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY); 132 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 133 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 135 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod [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;
|
rsSampler.cpp | 24 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { 29 Sampler::Sampler(Context *rsc, 35 float aniso) : ObjectBase(rsc) { 71 void Sampler::serialize(Context *rsc, OStream *stream) const { 74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { 78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, 87 for (uint32_t ct = 0; ct < rsc->mStateSampler.mAllSamplers.size(); ct++) { 88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; 101 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Sampler), 0) [all...] |
rsScript.cpp | 23 Script::Script(Context *rsc) : ObjectBase(rsc) { 108 void Script::callUpdateCacheObject(const Context *rsc, void *dstObj) const { 109 if (rsc->mHal.funcs.script.updateCachedObject != nullptr) { 110 rsc->mHal.funcs.script.updateCachedObject(rsc, this, (rs_script *)dstObj); 122 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) 123 : IDBase(rsc, s, slot) { 132 ScriptInvokeID::ScriptInvokeID(Context *rsc, Script *s, int slot) 133 : IDBase(rsc, s, slot) [all...] |
rsMesh.cpp | 24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { 38 Mesh::Mesh(Context *rsc, 40 uint32_t primitivesCount) : ObjectBase(rsc) { 81 void Mesh::serialize(Context *rsc, OStream *stream) const { 89 mHal.state.vertexBuffers[vCount]->serialize(rsc, stream); 99 mHal.state.indexBuffers[pCount]->serialize(rsc, stream); 106 Mesh *Mesh::createFromStream(Context *rsc, IStream *stream) { 122 Allocation *vertexAlloc = Allocation::createFromStream(rsc, stream); 141 Allocation *indexAlloc = Allocation::createFromStream(rsc, stream) [all...] |
rsObjectBase.h | 38 ObjectBase(Context *rsc); // NOLINT, implicit 59 static void zeroAllUserRef(Context *rsc); 60 static void freeAllChildren(Context *rsc); 61 static void dumpAll(Context *rsc); 64 virtual void serialize(Context *rsc, OStream *stream) const = 0; 67 static bool isValid(const Context *rsc, const ObjectBase *obj); 74 virtual void callUpdateCacheObject(const Context *rsc, void *dstObj) const;
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_resource.c | 91 realloc_bo(struct fd_resource *rsc, uint32_t size) 93 struct fd_screen *screen = fd_screen(rsc->base.b.screen); 101 if (rsc->bo) 102 fd_bo_del(rsc->bo); 104 rsc->bo = fd_bo_new(screen->dev, size, flags); 105 rsc->timestamp = 0; 106 util_range_set_empty(&rsc->valid_buffer_range); 107 fd_bc_invalidate_resource(rsc, true); 129 fd_try_shadow_resource(struct fd_context *ctx, struct fd_resource *rsc, 133 struct pipe_resource *prsc = &rsc->base.b 299 struct fd_resource *rsc = fd_resource(trans->base.resource); local 326 struct fd_resource *rsc = fd_resource(trans->base.resource); local 394 struct fd_resource *rsc = fd_resource(ptrans->resource); local 411 struct fd_resource *rsc = fd_resource(ptrans->resource); local 444 struct fd_resource *rsc = fd_resource(prsc); local 670 struct fd_resource *rsc = fd_resource(prsc); local 683 struct fd_resource *rsc = fd_resource(prsc); local 769 struct fd_resource *rsc = fd_resource(prsc); local 786 struct fd_resource *rsc = CALLOC_STRUCT(fd_resource); local 883 struct fd_resource *rsc = CALLOC_STRUCT(fd_resource); local 1107 struct fd_resource *rsc = fd_resource(prsc); local [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/ |
ldivmod.S | 35 rsc r1,r1,#0
40 rsc r3,r3,#0
46 rsc r1,r1,#0
51 rsc r3,r3,#0
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_resource.c | 40 vc4_resource_bo_alloc(struct vc4_resource *rsc) 42 struct pipe_resource *prsc = &rsc->base.b; 48 rsc, 49 rsc->slices[0].size, 50 rsc->slices[0].offset, 51 rsc->slices[0].offset + 52 rsc->slices[0].size + 53 rsc->cube_map_stride * (prsc->array_size - 1)); 57 rsc->slices[0].offset + 58 rsc->slices[0].size 78 struct vc4_resource *rsc; local 152 struct vc4_resource *rsc = vc4_resource(prsc); local 373 struct vc4_resource *rsc = vc4_resource(prsc); local 384 struct vc4_resource *rsc = vc4_resource(prsc); local 501 struct vc4_resource *rsc = CALLOC_STRUCT(vc4_resource); local 525 struct vc4_resource *rsc = vc4_resource(prsc); local 544 struct vc4_resource *rsc = vc4_resource_setup(pscreen, tmpl); local 580 struct vc4_resource *rsc = vc4_resource_setup(pscreen, tmpl); local 636 struct vc4_resource *rsc = vc4_resource(ptex); local 674 struct vc4_resource *rsc = vc4_resource(prsc); local 771 struct vc4_resource *rsc = vc4_resource(prsc); local [all...] |
/frameworks/rs/rsov/driver/ |
rsovType.cpp | 26 void rsovTypeDestroy(const Context *rsc, const Type *t) {} 28 void rsovTypeUpdateCachedObject(const Context *rsc, const Type *t,
|
rsovScriptGroup.cpp | 33 bool rsovScriptGroupInit(const Context *rsc, ScriptGroupBase *sg) { 35 RSoVHal *dc = (RSoVHal *)rsc->mHal.drv; 41 void rsovScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, 44 void rsovScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, 47 void rsovScriptGroupExecute(const Context *rsc, const ScriptGroupBase *sg) { 53 void rsovScriptGroupDestroy(const Context *rsc, const ScriptGroupBase *sg) {
|
rsovAllocation.h | 81 extern bool rsovAllocationInit(const android::renderscript::Context *rsc, 85 extern void rsovAllocationDestroy(const android::renderscript::Context *rsc, 88 extern void rsovAllocationData1D(const android::renderscript::Context *rsc, 93 extern void rsovAllocationData2D(const android::renderscript::Context *rsc, 100 extern void rsovAllocationData3D(const android::renderscript::Context *rsc, 107 extern void rsovAllocationRead1D(const android::renderscript::Context *rsc, 112 extern void rsovAllocationRead2D(const android::renderscript::Context *rsc, 119 extern void rsovAllocationRead3D(const android::renderscript::Context *rsc, 127 const android::renderscript::Context *rsc, 131 const android::renderscript::Context *rsc, [all...] |
/external/mesa3d/src/gallium/auxiliary/renderonly/ |
renderonly.c | 54 renderonly_scanout_for_prime(struct pipe_resource *rsc, struct renderonly *ro) 62 scanout->prime = rsc; 74 renderonly_create_kms_dumb_buffer_for_resource(struct pipe_resource *rsc, 77 struct pipe_screen *screen = rsc->screen; 82 .width = rsc->width0, 83 .height = rsc->height0, 116 scanout->prime = screen->resource_from_handle(screen, rsc, 137 renderonly_create_gpu_import_for_resource(struct pipe_resource *rsc, 140 struct pipe_screen *screen = rsc->screen; 152 status = screen->resource_get_handle(screen, NULL, rsc, &handle [all...] |