Home
last modified time | relevance | path

Searched refs:pgm (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DScriptC.java88 byte[] pgm; in internalCreate()
93 pgm = new byte[1024]; in internalCreate()
96 int bytesLeft = pgm.length - pgmLength; in internalCreate()
98 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
99 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
100 pgm = buf2; in internalCreate()
101 bytesLeft = pgm.length - pgmLength; in internalCreate()
103 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate()
119 return rs.nScriptCCreate(resName, RenderScript.getCachePath(), pgm, pgmLength); in internalCreate()
/frameworks/rs/driver/
DrsdShaderCache.cpp144 GLuint pgm = e->program; in link() local
145 glAttachShader(pgm, vID); in link()
147 glAttachShader(pgm, fID); in link()
149 glBindAttribLocation(pgm, 0, "ATTRIB_position"); in link()
150 glBindAttribLocation(pgm, 1, "ATTRIB_color"); in link()
151 glBindAttribLocation(pgm, 2, "ATTRIB_normal"); in link()
152 glBindAttribLocation(pgm, 3, "ATTRIB_texture0"); in link()
155 glLinkProgram(pgm); in link()
158 glGetProgramiv(pgm, GL_LINK_STATUS, &linkStatus); in link()
161 glGetProgramiv(pgm, GL_INFO_LOG_LENGTH, &bufLength); in link()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptC.java89 byte[] pgm; in internalCreate()
94 pgm = new byte[1024]; in internalCreate()
97 int bytesLeft = pgm.length - pgmLength; in internalCreate()
99 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
100 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
101 pgm = buf2; in internalCreate()
102 bytesLeft = pgm.length - pgmLength; in internalCreate()
104 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate()
122 return rs.nScriptCCreate(resName, cachePath, pgm, pgmLength); in internalCreate()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp191 static void randUniform(int pgm, const char *var) { in randUniform() argument
192 GLint loc = glGetUniformLocation(pgm, var); in randUniform()
202 static void doLoop(bool warmup, int pgm, uint32_t passCount) { in doLoop() argument
214 GLint loc = glGetUniformLocation(pgm, "u_texOff"); in doLoop()
217 randUniform(pgm, "u_color"); in doLoop()
218 randUniform(pgm, "u_0"); in doLoop()
219 randUniform(pgm, "u_1"); in doLoop()
220 randUniform(pgm, "u_2"); in doLoop()
221 randUniform(pgm, "u_3"); in doLoop()
269 int pgm = createProgram(gVertexShader, pgmTxt); in doSingleTest() local
[all …]
/frameworks/rs/
Drsg.spec80 param RsProgramStore pgm
84 param RsProgramFragment pgm
88 param RsProgramVertex pgm
92 param RsProgramRaster pgm
96 param RsFont pgm
DrsApiStubs.cpp740 extern "C" void rsContextBindProgramStore (RsContext ctxWrapper, RsProgramStore pgm) in rsContextBindProgramStore() argument
742 RS_DISPATCH(ctxWrapper, ContextBindProgramStore, pgm); in rsContextBindProgramStore()
745 extern "C" void rsContextBindProgramFragment (RsContext ctxWrapper, RsProgramFragment pgm) in rsContextBindProgramFragment() argument
747 RS_DISPATCH(ctxWrapper, ContextBindProgramFragment, pgm); in rsContextBindProgramFragment()
750 extern "C" void rsContextBindProgramVertex (RsContext ctxWrapper, RsProgramVertex pgm) in rsContextBindProgramVertex() argument
752 RS_DISPATCH(ctxWrapper, ContextBindProgramVertex, pgm); in rsContextBindProgramVertex()
755 extern "C" void rsContextBindProgramRaster (RsContext ctxWrapper, RsProgramRaster pgm) in rsContextBindProgramRaster() argument
757 RS_DISPATCH(ctxWrapper, ContextBindProgramRaster, pgm); in rsContextBindProgramRaster()
760 extern "C" void rsContextBindFont (RsContext ctxWrapper, RsFont pgm) in rsContextBindFont() argument
762 RS_DISPATCH(ctxWrapper, ContextBindFont, pgm); in rsContextBindFont()
DrsApiStubs.h130 extern "C" void rsContextBindProgramStore (RsContext rsc, RsProgramStore pgm);
131 extern "C" void rsContextBindProgramFragment (RsContext rsc, RsProgramFragment pgm);
132 extern "C" void rsContextBindProgramVertex (RsContext rsc, RsProgramVertex pgm);
133 extern "C" void rsContextBindProgramRaster (RsContext rsc, RsProgramRaster pgm);
134 extern "C" void rsContextBindFont (RsContext rsc, RsFont pgm);
/frameworks/rs/cpp/
DrsDispatch.h120 typedef void (*ContextBindProgramStoreFnPtr) (RsContext rsc, RsProgramStore pgm);
121 typedef void (*ContextBindProgramFragmentFnPtr) (RsContext rsc, RsProgramFragment pgm);
122 typedef void (*ContextBindProgramVertexFnPtr) (RsContext rsc, RsProgramVertex pgm);
123 typedef void (*ContextBindProgramRasterFnPtr) (RsContext rsc, RsProgramRaster pgm);
124 typedef void (*ContextBindFontFnPtr) (RsContext rsc, RsFont pgm);
/frameworks/native/opengl/tests/gl_perfapp/jni/
Dgl_code.cpp39 int pgm; variable
/frameworks/native/cmds/installd/
Dinstalld.rc67 mkdir /config/sdcardfs/extensions/1057/pgm