Searched refs:texCoords (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/
H A DUvMapper.h89 void map(Rect& texCoords) const {
91 texCoords.left = lerp(mMinU, mMaxU, texCoords.left);
92 texCoords.right = lerp(mMinU, mMaxU, texCoords.right);
93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top);
94 texCoords.bottom = lerp(mMinV, mMaxV, texCoords.bottom);
H A DProgram.cpp48 texCoords = bindAttrib("texCoords", kBindingTexCoords);
50 texCoords = -1;
187 if (texCoords >= 0 && !mHasSampler) {
H A DSkiaCanvasProxy.h96 const SkPoint texCoords[4], SkBlendMode,
H A DSkiaCanvasProxy.cpp194 const float* tArray = (const float*)vertices->texCoords();
455 const SkPoint texCoords[4], SkBlendMode bmode, const SkPaint& paint) {
467 if (SkPatchUtils::getVertexData(&data, cubics, colors, texCoords, lod.width(), lod.height())) {
454 onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode bmode, const SkPaint& paint) argument
H A DProgram.h397 * Name of the texCoords attribute if it exists (kBindingTexCoords), -1 otherwise.
399 int texCoords; member in class:android::Program
H A DSkiaCanvas.cpp580 SkPoint* texs = builder.texCoords();
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.h37 enum { position=0, texCoords=1 }; enumerator in enum:android::Program::__anon1896
H A DGLES20RenderEngine.cpp376 glEnableVertexAttribArray(Program::texCoords);
377 glVertexAttribPointer(Program::texCoords,
418 glDisableVertexAttribArray(Program::texCoords);
H A DProgram.cpp36 glBindAttribLocation(programId, texCoords, "texCoords");
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp90 const GLfloat texCoords[4][2] = { local
105 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp103 const GLfloat texCoords[4][2] = { local
120 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp151 const GLfloat texCoords[4][2] = {
180 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp158 const GLfixed texCoords[] = { local
167 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp240 const GLfixed texCoords[] = { local
255 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
/frameworks/base/libs/hwui/tests/unit/
H A DFatalTestCanvas.h57 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], argument
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp349 const GLfixed texCoords[] = {
359 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1193 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>());
1194 texCoords[0] = vec2(left, 1.0f - top);
1195 texCoords[1] = vec2(left, 1.0f - bottom);
1196 texCoords[2] = vec2(right, 1.0f - bottom);
1197 texCoords[3] = vec2(right, 1.0f - top);

Completed in 2660 milliseconds