Home
last modified time | relevance | path

Searched refs:prog (Results 1 – 13 of 13) sorted by relevance

/frameworks/rs/driver/runtime/
Drs_program.c12 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreGetDepthFunc() local
13 if (prog == NULL) { in rsgProgramStoreGetDepthFunc()
16 return prog->mHal.state.depthFunc; in rsgProgramStoreGetDepthFunc()
21 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsDepthMaskEnabled() local
22 if (prog == NULL) { in rsgProgramStoreIsDepthMaskEnabled()
25 return prog->mHal.state.depthWriteEnable; in rsgProgramStoreIsDepthMaskEnabled()
30 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsColorMaskRedEnabled() local
31 if (prog == NULL) { in rsgProgramStoreIsColorMaskRedEnabled()
34 return prog->mHal.state.colorRWriteEnable; in rsgProgramStoreIsColorMaskRedEnabled()
39 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsColorMaskGreenEnabled() local
[all …]
Drs_sampler.c9 Sampler_t *prog = (Sampler_t *)s.p; in rsSamplerGetMinification() local
10 if (prog == NULL) { in rsSamplerGetMinification()
13 return prog->mHal.state.minFilter; in rsSamplerGetMinification()
18 Sampler_t *prog = (Sampler_t *)s.p; in rsSamplerGetMagnification() local
19 if (prog == NULL) { in rsSamplerGetMagnification()
22 return prog->mHal.state.magFilter; in rsSamplerGetMagnification()
27 Sampler_t *prog = (Sampler_t *)s.p; in rsSamplerGetWrapS() local
28 if (prog == NULL) { in rsSamplerGetWrapS()
31 return prog->mHal.state.wrapS; in rsSamplerGetWrapS()
36 Sampler_t *prog = (Sampler_t *)s.p; in rsSamplerGetWrapT() local
[all …]
Drs_sample.c537 const Sampler_t *prog = (Sampler_t *)s.p; in rsSample() local
542 rs_sampler_value sampleMin = prog->mHal.state.minFilter; in rsSample()
543 rs_sampler_value sampleMag = prog->mHal.state.magFilter; in rsSample()
544 rs_sampler_value wrapS = prog->mHal.state.wrapS; in rsSample()
589 const Sampler_t *prog = (Sampler_t *)s.p; in rsSample() local
594 rs_sampler_value sampleMin = prog->mHal.state.minFilter; in rsSample()
595 rs_sampler_value sampleMag = prog->mHal.state.magFilter; in rsSample()
596 rs_sampler_value wrapS = prog->mHal.state.wrapS; in rsSample()
597 rs_sampler_value wrapT = prog->mHal.state.wrapT; in rsSample()
636 const Sampler_t *prog = (Sampler_t *)s.p; in rsSample() local
[all …]
/frameworks/base/core/java/android/database/
DDatabaseUtils.java198 public static void bindObjectToProgram(SQLiteProgram prog, int index, in bindObjectToProgram() argument
201 prog.bindNull(index); in bindObjectToProgram()
203 prog.bindDouble(index, ((Number)value).doubleValue()); in bindObjectToProgram()
205 prog.bindLong(index, ((Number)value).longValue()); in bindObjectToProgram()
209 prog.bindLong(index, 1); in bindObjectToProgram()
211 prog.bindLong(index, 0); in bindObjectToProgram()
214 prog.bindBlob(index, (byte[]) value); in bindObjectToProgram()
216 prog.bindString(index, value.toString()); in bindObjectToProgram()
811 SQLiteStatement prog = db.compileStatement(query); in longForQuery() local
813 return longForQuery(prog, selectionArgs); in longForQuery()
[all …]
/frameworks/rs/driver/
DrsdShaderCache.cpp41 void RsdShaderCache::updateUniformArrayData(const Context *rsc, RsdShader *prog, uint32_t linkedID, in updateUniformArrayData() argument
45 for (uint32_t ct=0; ct < prog->getUniformCount(); ct++) { in updateUniformArrayData()
49 if (prog->getUniformName(ct) == uniformList[ui]->name) { in updateUniformArrayData()
58 prog->getUniformName(ct).string(), data[ct].slot, data[ct].arraySize); in updateUniformArrayData()
63 void RsdShaderCache::populateUniformData(RsdShader *prog, uint32_t linkedID, UniformData *data) { in populateUniformData() argument
64 for (uint32_t ct=0; ct < prog->getUniformCount(); ct++) { in populateUniformData()
65 data[ct].slot = glGetUniformLocation(linkedID, prog->getUniformName(ct)); in populateUniformData()
66 data[ct].arraySize = prog->getUniformArraySize(ct); in populateUniformData()
DrsdShaderCache.h150 void populateUniformData(RsdShader *prog, uint32_t linkedID, UniformData *data);
152 RsdShader *prog, uint32_t linkedID,
/frameworks/wilhelm/tests/examples/
DslesTestRecBuffQueue.cpp329 const char *prog = argv[0]; in main() local
331 prog); in main()
345 fprintf(stderr, "%s: unknown option %s\n", prog, arg); in main()
351 printf("Usage: \t%s [-p#] destination_file duration_in_seconds\n", prog); in main()
364 printf("Example: \"%s /sdcard/myrec.raw 4\" \n", prog); in main()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DResizeFilter.java77 ShaderProgram prog = ShaderProgram.createIdentity(context); in createProgram() local
78 mProgram = prog; in createProgram()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFullscreenBlur.java168 FragmentShader prog = fb.create(); in getShader() local
169 prog.getProgram().bindSampler(Sampler.CLAMP_LINEAR(rs), 0); in getShader()
170 return prog; in getShader()
/frameworks/wilhelm/tests/sandbox/
Dreverb.c228 char *prog = argv[0]; in main() local
277 fprintf(stderr, "%s: unknown option %s ignored\n", prog, arg); in main()
282 "--player-name=I3DL2 --loop filename\n", prog); in main()
292 "available names are:\n", prog, outputMixEnvironmentalName); in main()
302 "available names are:\n", prog, playerEnvironmentalName); in main()
Dxaplay.c249 const char *prog = argv[0]; in main() local
290 fprintf(stderr, "%s: unknown option %s\n", prog, arg); in main()
298 prog); in main()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java2143 SQLiteStatement prog = null; in isDatabaseIntegrityOk() local
2145 prog = compileStatement("PRAGMA " + p.first + ".integrity_check(1);"); in isDatabaseIntegrityOk()
2146 String rslt = prog.simpleQueryForString(); in isDatabaseIntegrityOk()
2153 if (prog != null) prog.close(); in isDatabaseIntegrityOk()
/frameworks/base/tools/aapt/
DMain.cpp249 char *prog = argv[0]; in main() local
327 … printf("%s: Images with deviation <= %d will be forced to grayscale.\n", prog, tolerance); in main()