/third_party/skia/third_party/externals/angle2/util/ |
H A D | geometry_utils.cpp | 33 result->normals.resize(vertexCount); in CreateSphereGeometry() 43 result->normals[vertexIdx] = direction; in CreateSphereGeometry() 94 result->normals.resize(24); in GenerateCubeGeometry() 95 result->normals[0] = Vector3(0.0f, -1.0f, 0.0f); in GenerateCubeGeometry() 96 result->normals[1] = Vector3(0.0f, -1.0f, 0.0f); in GenerateCubeGeometry() 97 result->normals[2] = Vector3(0.0f, -1.0f, 0.0f); in GenerateCubeGeometry() 98 result->normals[3] = Vector3(0.0f, -1.0f, 0.0f); in GenerateCubeGeometry() 99 result->normals[4] = Vector3(0.0f, 1.0f, 0.0f); in GenerateCubeGeometry() 100 result->normals[5] = Vector3(0.0f, 1.0f, 0.0f); in GenerateCubeGeometry() 101 result->normals[ in GenerateCubeGeometry() [all...] |
H A D | geometry_utils.h | 27 std::vector<angle::Vector3> normals; member 41 std::vector<angle::Vector3> normals; member
|
/third_party/skia/third_party/externals/angle2/samples/gles1/ |
H A D | SimpleLighting.cpp | 50 GLfloat normals[] = { variable 84 glNormalPointer(GL_FLOAT, 0, normals);
|
/third_party/skia/src/utils/ |
H A D | SkPolyUtils.cpp | 1204 // build normals in SkOffsetSimplePolygon() 1205 SkAutoSTMalloc<64, SkVector> normals(inputPolygonSize); in SkOffsetSimplePolygon() 1215 offset, winding, &normals[currIndex])) { in SkOffsetSimplePolygon() 1224 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon() 1237 if (!SkComputeRadialSteps(normals[inputPolygonSize-1], normals[0], offset, in SkOffsetSimplePolygon() 1263 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon() 1264 if (!SkComputeRadialSteps(prevNormal, normals[currIndex], offset, in SkOffsetSimplePolygon() 1286 inputPolygonVerts[currIndex] + normals[currInde in SkOffsetSimplePolygon() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderFConvertTests.cpp | 188 auto& normals = getRandomNormals<T>(rnd); in getInputValues() local 191 const size_t numValues = interesting.size() + normals.size() + otherNormals.size(); in getInputValues() 198 values.reserve(interesting.size() + normals.size() + otherNormals.size() + extra.size()); in getInputValues() 201 std::copy(begin(normals), end(normals), std::back_inserter(values)); in getInputValues()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderFConvertTests.cpp | 188 auto& normals = getRandomNormals<T>(rnd); in getInputValues() local 191 const size_t numValues = interesting.size() + normals.size() + otherNormals.size(); in getInputValues() 198 values.reserve(interesting.size() + normals.size() + otherNormals.size() + extra.size()); in getInputValues() 201 std::copy(begin(normals), end(normals), std::back_inserter(values)); in getInputValues()
|
/third_party/skia/third_party/externals/angle2/samples/simple_texture_cubemap/ |
H A D | SimpleTextureCubemap.cpp | 96 glVertexAttribPointer(mNormalLoc, 3, GL_FLOAT, GL_FALSE, 0, mSphere.normals.data());
|
/third_party/skia/third_party/externals/angle2/samples/multiview/ |
H A D | Multiview.cpp | 221 glBufferData(GL_ARRAY_BUFFER, sizeof(angle::Vector3) * mCube.normals.size(), 222 mCube.normals.data(), GL_STATIC_DRAW);
|
/third_party/skia/samplecode/ |
H A D | Sample3D.cpp | 76 static SkM44 normals(SkM44 m) { in normals() function 424 builder.uniform("localToWorldAdjInv") = normals(localToWorld);
|
/third_party/skia/gm/ |
H A D | runtimeshader.cpp | 671 static sk_sp<SkShader> lit_shader(sk_sp<SkShader> normals) { in lit_shader() argument 674 uniform shader normals; in lit_shader() 676 vec3 n = normalize(normals.eval(p).xyz * 2 - 1); in lit_shader() 682 return effect->makeShader(nullptr, &normals, 1, nullptr, true); in lit_shader()
|
/third_party/glfw/deps/ |
H A D | nuklear.h | 9667 struct nk_vec2 *normals, *temp; in nk_draw_list_stroke_poly_line() local 9670 /* temporary allocate normals + points */ in nk_draw_list_stroke_poly_line() 9674 normals = (struct nk_vec2*) nk_buffer_alloc(list->vertices, NK_BUFFER_FRONT, size, pnt_align); in nk_draw_list_stroke_poly_line() 9675 if (!normals) return; in nk_draw_list_stroke_poly_line() 9676 temp = normals + points_count; in nk_draw_list_stroke_poly_line() 9681 /* calculate normals */ in nk_draw_list_stroke_poly_line() 9694 normals[i1].x = diff.y; in nk_draw_list_stroke_poly_line() 9695 normals[i1].y = -diff.x; in nk_draw_list_stroke_poly_line() 9699 normals[points_count-1] = normals[points_coun in nk_draw_list_stroke_poly_line() 9901 struct nk_vec2 *normals = 0; nk_draw_list_fill_poly_convex() local [all...] |