Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/renderscript/
DScriptC.java67 byte[] pgm; in internalCreate()
72 pgm = new byte[1024]; in internalCreate()
75 int bytesLeft = pgm.length - pgmLength; in internalCreate()
77 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
78 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
79 pgm = buf2; in internalCreate()
80 bytesLeft = pgm.length - pgmLength; in internalCreate()
82 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate()
102 return rs.nScriptCCreate(resName, cacheDir, pgm, pgmLength); in internalCreate()
/frameworks/base/libs/rs/driver/
DrsdShaderCache.cpp148 GLuint pgm = e->program; in link() local
149 glAttachShader(pgm, vtx->getShaderID()); in link()
151 glAttachShader(pgm, frag->getShaderID()); in link()
153 glBindAttribLocation(pgm, 0, "ATTRIB_position"); in link()
154 glBindAttribLocation(pgm, 1, "ATTRIB_color"); in link()
155 glBindAttribLocation(pgm, 2, "ATTRIB_normal"); in link()
156 glBindAttribLocation(pgm, 3, "ATTRIB_texture0"); in link()
159 glLinkProgram(pgm); in link()
162 glGetProgramiv(pgm, GL_LINK_STATUS, &linkStatus); in link()
165 glGetProgramiv(pgm, GL_INFO_LOG_LENGTH, &bufLength); in link()
[all …]
/frameworks/base/opengl/tests/gl_perf/
Dfill_common.cpp191 static void randUniform(int pgm, const char *var) { in randUniform() argument
192 int loc = glGetUniformLocation(pgm, var); in randUniform()
202 static void doLoop(bool warmup, int pgm, uint32_t passCount) { in doLoop() argument
214 int 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/base/libs/rs/
Drs.spec77 param RsProgramStore pgm
81 param RsProgramFragment pgm
85 param RsProgramVertex pgm
89 param RsProgramRaster pgm
93 param RsFont pgm
/frameworks/base/opengl/tests/gl_perfapp/jni/
Dgl_code.cpp36 int pgm; variable