HomeSort by relevance Sort by last modified time
    Searched refs:rsc (Results 1 - 25 of 485) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/rs/
rsScriptC_LibGL.cpp 45 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) {
48 pf->bindTexture(rsc, slot, a);
51 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) {
54 pf->bindAllocation(rsc, a, slot);
57 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) {
60 pv->bindAllocation(rsc, a, slot);
63 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) {
66 pf->bindSampler(rsc, slot, s);
69 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) {
71 rsc->setProgramStore(ps)
    [all...]
rsDevice.cpp 30 void Device::addContext(Context *rsc) {
31 mContexts.push_back(rsc);
34 void Device::removeContext(Context *rsc) {
36 if (mContexts[idx] == rsc) {
rsScriptGroup2.cpp 14 void ScriptGroup2::execute(Context* rsc) {
15 if (rsc->mHal.funcs.scriptgroup.execute) {
16 rsc->mHal.funcs.scriptgroup.execute(rsc, this);
20 RsScriptGroup2 rsi_ScriptGroup2Create(Context* rsc, const char* name,
25 ScriptGroup2* group = new ScriptGroup2(rsc, name, cacheDir,
29 if (rsc->mHal.funcs.scriptgroup.init) {
30 rsc->mHal.funcs.scriptgroup.init(rsc, group);
rsProgramVertex.cpp 24 ProgramVertex::ProgramVertex(Context *rsc, const char * shaderText, size_t shaderLength,
28 : Program(rsc, shaderText, shaderLength, params, paramLength) {
37 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) {
44 rsc->setError(RS_ERROR_FATAL_UNKNOWN,
48 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
49 rsc, mHal.state.constants[0]));
58 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
63 rsc->mHal.funcs.vertex.setActive(rsc, this)
    [all...]
rsProgramBase.h 29 explicit ProgramBase(Context *rsc) : ObjectBase(rsc) {
rsDriverLoader.cpp 51 static bool LoadHalTable(Context *rsc, HalQueryHal fn, bool loadGraphics) {
54 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver);
55 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority);
56 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem);
57 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem);
58 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish);
60 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init);
61 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic);
62 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction);
63 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot)
    [all...]
rsScriptGroupBase.h 11 explicit ScriptGroupBase(Context* rsc) : ObjectBase(rsc) {}
14 virtual void serialize(Context *rsc, OStream *stream) const {}
25 virtual void execute(Context *rsc) = 0;
rsScriptIntrinsic.cpp 24 ScriptIntrinsic::ScriptIntrinsic(Context *rsc) : Script(rsc) {
34 bool ScriptIntrinsic::init(Context *rsc, RsScriptIntrinsicID iid, Element *e) {
40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e);
50 void ScriptIntrinsic::setupScript(Context *rsc) {
53 uint32_t ScriptIntrinsic::run(Context *rsc) {
58 void ScriptIntrinsic::runForEach(Context* rsc,
67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen
    [all...]
rsApiContext.cpp 32 Context *rsc = Context::createContext(dev, nullptr, ct, flags, vendorDriverName); local
33 if (rsc) {
34 rsc->setTargetSdkVersion(sdkVersion);
36 return rsc;
46 Context *rsc = static_cast<Context *>(con); local
47 rsc->setNativeLibDir(libDir, length);
60 Context *rsc = Context::createContext(dev, &sc); local
61 if (rsc) {
62 rsc->setTargetSdkVersion(sdkVersion);
63 rsc->setDPI(dpi)
    [all...]
rsProgramRaster.cpp 23 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull)
24 : ProgramBase(rsc) {
29 rsc->mHal.funcs.raster.init(rsc, this);
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) {
53 rsc->mHal.funcs.raster.setActive(rsc, this);
56 void ProgramRaster::serialize(Context *rsc, OStream *stream) const {
59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) {
69 void ProgramRasterState::init(Context *rsc) {
    [all...]
rsAllocation.cpp 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
30 : ObjectBase(rsc) {
42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type)
43 : ObjectBase(rsc) {
61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages,
65 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
68 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
75 if (rsc->mHal.funcs.allocation.initOem != nullptr) {
76 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr);
77 success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr)
    [all...]
rsProgramFragment.cpp 25 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength,
28 : Program(rsc, shaderText, shaderLength, params, paramLength) {
42 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) {
45 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot set fixed function emulation color on user program");
50 rsc->setError(RS_ERROR_BAD_SHADER, "Unable to set fixed function emulation color because allocation is missing");
57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
63 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state)
    [all...]
  /frameworks/rs/driver/
rsdElement.h 23 bool rsdElementInit(const android::renderscript::Context *rsc,
26 void rsdElementDestroy(const android::renderscript::Context *rsc,
29 void rsdElementUpdateCachedObject(const android::renderscript::Context *rsc,
rsdFrameBuffer.h 22 bool rsdFrameBufferInit(const android::renderscript::Context *rsc,
24 void rsdFrameBufferSetActive(const android::renderscript::Context *rsc,
26 void rsdFrameBufferDestroy(const android::renderscript::Context *rsc,
rsdProgramRaster.h 23 bool rsdProgramRasterInit(const android::renderscript::Context *rsc,
25 void rsdProgramRasterSetActive(const android::renderscript::Context *rsc,
27 void rsdProgramRasterDestroy(const android::renderscript::Context *rsc,
rsdProgramStore.h 23 bool rsdProgramStoreInit(const android::renderscript::Context *rsc,
25 void rsdProgramStoreSetActive(const android::renderscript::Context *rsc,
27 void rsdProgramStoreDestroy(const android::renderscript::Context *rsc,
rsdSampler.h 23 bool rsdSamplerInit(const android::renderscript::Context *rsc,
26 void rsdSamplerDestroy(const android::renderscript::Context *rsc,
29 void rsdSamplerUpdateCachedObject(const android::renderscript::Context *rsc,
rsdType.h 23 bool rsdTypeInit(const android::renderscript::Context *rsc,
26 void rsdTypeDestroy(const android::renderscript::Context *rsc,
29 void rsdTypeUpdateCachedObject(const android::renderscript::Context *rsc,
rsdScriptGroup.h 22 bool rsdScriptGroupInit(const android::renderscript::Context *rsc,
24 void rsdScriptGroupSetInput(const android::renderscript::Context *rsc,
28 void rsdScriptGroupSetOutput(const android::renderscript::Context *rsc,
32 void rsdScriptGroupExecute(const android::renderscript::Context *rsc,
34 void rsdScriptGroupDestroy(const android::renderscript::Context *rsc,
36 void rsdScriptGroupUpdateCachedObject(const android::renderscript::Context *rsc,
  /frameworks/rs/rsov/driver/
rsovElement.h 22 extern bool rsovElementInit(const android::renderscript::Context *rsc,
25 extern void rsovElementDestroy(const android::renderscript::Context *rsc,
29 const android::renderscript::Context *rsc,
rsovSampler.h 22 extern bool rsovSamplerInit(const android::renderscript::Context *rsc,
25 extern void rsovSamplerDestroy(const android::renderscript::Context *rsc,
29 const android::renderscript::Context *rsc,
rsovType.h 22 extern bool rsovTypeInit(const android::renderscript::Context *rsc,
25 extern void rsovTypeDestroy(const android::renderscript::Context *rsc,
29 const android::renderscript::Context *rsc,
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_transfer.c 60 struct etna_resource *rsc = etna_resource(ptrans->resource); local
68 assert(ptrans->level <= rsc->base.last_level);
70 if (rsc->texture && !etna_resource_newer(rsc, etna_resource(rsc->texture)))
71 rsc = etna_resource(rsc->texture); /* switch to using the texture resource */
74 if (trans->rsc) {
78 etna_copy_resource(pctx, ptrans->resource, trans->rsc, ptrans->level,
79 trans->rsc->last_level)
130 struct etna_resource *rsc = etna_resource(prsc); local
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_resource.h 56 * an additional offset of (rsc->layer_size * layer) must be added.
108 pending(struct fd_resource *rsc, bool write)
111 if (rsc->write_batch)
115 if (write && rsc->batch_mask)
118 if (rsc->stencil && pending(rsc->stencil, write))
136 fd_resource_slice(struct fd_resource *rsc, unsigned level)
138 assert(level <= rsc->base.b.last_level);
139 return &rsc->slices[level];
144 fd_resource_offset(struct fd_resource *rsc, unsigned level, unsigned layer
    [all...]
  /external/mesa3d/src/gallium/auxiliary/renderonly/
renderonly.h 61 struct renderonly_scanout *(*create_for_resource)(struct pipe_resource *rsc,
71 renderonly_scanout_for_resource(struct pipe_resource *rsc, struct renderonly *ro)
73 return ro->create_for_resource(rsc, ro);
77 renderonly_scanout_for_prime(struct pipe_resource *rsc, struct renderonly *ro);
99 renderonly_create_kms_dumb_buffer_for_resource(struct pipe_resource *rsc,
106 renderonly_create_gpu_import_for_resource(struct pipe_resource *rsc,

Completed in 1325 milliseconds

1 2 3 4 5 6 7 8 91011>>