/frameworks/rs/driver/ |
H A D | rsdShaderCache.cpp | 74 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { argument 76 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) { 113 RsdShader *vtx = mVertex; local 116 uint32_t vID = vtx->getStateBasedShaderID(rsc); 125 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { 135 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(), 136 vtx->getUniformCount(), 140 e->vtx = vID; 176 glGetAttribLocation(pgm, vtx->getAttribName(ct).c_str()); 177 e->vtxAttrs[ct].name = vtx [all...] |
H A D | rsdShaderCache.h | 101 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), 134 uint32_t vtx; member in struct:RsdShaderCache::ProgramEntry 146 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
|
H A D | rsdRuntimeStubs.cpp | 874 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; local 878 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position");
|
/frameworks/native/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 159 static const float vtx[] = { local 185 glVertexAttribPointer(A_POS, 2, GL_FLOAT, false, 8, vtx);
|
/frameworks/rs/ |
H A D | rsMesh.cpp | 267 RsAllocation * vtx, size_t vtxCount, 275 sm->setVertexBuffer((Allocation*)vtx[i], i); 266 rsi_MeshCreate(Context *rsc, RsAllocation * vtx, size_t vtxCount, RsAllocation * idx, size_t idxCount, uint32_t * primType, size_t primTypeCount) argument
|
H A D | rsApiStubs.cpp | 846 extern "C" RsMesh rsMeshCreate (RsContext ctxWrapper, RsAllocation * vtx, size_t vtx_length, argument 850 return RS_DISPATCH(ctxWrapper, MeshCreate, vtx, vtx_length, idx, idx_length, primType, primType_length);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 303 private static void setQuad(FloatBuffer vtx, float x, float y, float w, float h) { argument 307 vtx.put(0, x); 308 vtx.put(1, y); 309 vtx.put(2, x); 310 vtx.put(3, y + h); 311 vtx.put(4, x + w); 312 vtx.put(5, y + h); 313 vtx.put(6, x + w); 314 vtx.put(7, y);
|
/frameworks/native/opengl/libagl/ |
H A D | primitives.cpp | 393 vertex_t* const vtx[3] = { v0, v1, v2 }; local 401 vertex_t* const v = vtx[j];
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 940 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); argument 941 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { argument 943 return rsnMeshCreate(mContext, vtx, idx, prim);
|