Home
last modified time | relevance | path

Searched refs:texcoords (Results 1 - 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/angle2/util/
H A Dgeometry_utils.cpp120 result->texcoords.resize(24); in GenerateCubeGeometry()
121 result->texcoords[0] = Vector2(0.0f, 0.0f); in GenerateCubeGeometry()
122 result->texcoords[1] = Vector2(0.0f, 1.0f); in GenerateCubeGeometry()
123 result->texcoords[2] = Vector2(1.0f, 1.0f); in GenerateCubeGeometry()
124 result->texcoords[3] = Vector2(1.0f, 0.0f); in GenerateCubeGeometry()
125 result->texcoords[4] = Vector2(1.0f, 0.0f); in GenerateCubeGeometry()
126 result->texcoords[5] = Vector2(1.0f, 1.0f); in GenerateCubeGeometry()
127 result->texcoords[6] = Vector2(0.0f, 1.0f); in GenerateCubeGeometry()
128 result->texcoords[7] = Vector2(0.0f, 0.0f); in GenerateCubeGeometry()
129 result->texcoords[ in GenerateCubeGeometry()
[all...]
H A Dgeometry_utils.h42 std::vector<angle::Vector2> texcoords; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
H A Dcommon.h74 static inline float3 cubeTexcoords(float2 texcoords, int face) in cubeTexcoords() argument
76 texcoords = 2.0 * texcoords - 1.0; in cubeTexcoords()
80 return float3(1.0, -texcoords.y, -texcoords.x); in cubeTexcoords()
82 return float3(-1.0, -texcoords.y, texcoords.x); in cubeTexcoords()
84 return float3(texcoords.x, 1.0, texcoords.y); in cubeTexcoords()
86 return float3(texcoords in cubeTexcoords()
[all...]
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_state_derived.c126 /* texcoords/varyings */ in calculate_vertex_layout()
129 if (fs->texcoords[i].semantic != -1) { in calculate_vertex_layout()
130 src = draw_find_shader_output(i915->draw, fs->texcoords[i].semantic, in calculate_vertex_layout()
131 fs->texcoords[i].index); in calculate_vertex_layout()
132 if (fs->texcoords[i].semantic == TGSI_SEMANTIC_FACE) { in calculate_vertex_layout()
H A Di915_fpc_translate.c116 if (fs->texcoords[i].semantic == -1) { in get_mapping()
117 fs->texcoords[i].semantic = semantic; in get_mapping()
118 fs->texcoords[i].index = index; in get_mapping()
121 if (fs->texcoords[i].semantic == semantic && in get_mapping()
122 fs->texcoords[i].index == index) in get_mapping()
967 ifs->texcoords[i].semantic = -1; in i915_init_compile()
H A Di915_context.h132 } texcoords[I915_TEX_UNITS]; member
/third_party/skia/third_party/externals/angle2/samples/simple_vertex_shader/
H A DSimpleVertexShader.cpp113 glVertexAttribPointer(mTexcoordLoc, 2, GL_FLOAT, GL_FALSE, 0, mCube.texcoords.data());
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state.h128 uint32_t texcoords; member
H A Dnv30_fragprog.c126 PUSH_DATA (push, fp->texcoords); in nv30_fragprog_validate()
H A Dnvfx_fragprog.c880 fpc->fp->texcoords |= (1 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
911 fpc->fp->texcoords |= (0x1 << hw); in nvfx_fragprog_assign_generic()
/third_party/skia/third_party/externals/angle2/samples/post_sub_buffer/
H A DPostSubBuffer.cpp116 glVertexAttribPointer(mTexcoordLoc, 2, GL_FLOAT, GL_FALSE, 0, mCube.texcoords.data());
/third_party/vk-gl-cts/modules/egl/
H A DteglGLES2SharingTests.cpp642 GLfloat texcoords[] = {0.0f, 0.0f, 0.5f, 0.0f, 0.5f, 1.0f, 0.0f, 1.0f}; in renderResource() local
646 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(texCoordLocation, 2, GL_FLOAT, GL_FALSE, 0, texcoords)); in renderResource()
667 GLfloat texcoords[] = {0.5f, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.5f, 1.0f}; in renderResource() local
671 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(texCoordLocation, 2, GL_FLOAT, GL_FALSE, 0, texcoords)); in renderResource()

Completed in 9 milliseconds