Home
last modified time | relevance | path

Searched refs:normals (Results 1 – 25 of 106) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/util/
Dgeometry_utils.cpp33 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[6] = Vector3(0.0f, 1.0f, 0.0f); in GenerateCubeGeometry()
[all …]
Dgeometry_utils.h27 std::vector<angle::Vector3> normals; member
41 std::vector<angle::Vector3> normals; member
/third_party/flutter/skia/third_party/externals/angle2/util/
Dgeometry_utils.cpp33 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[6] = Vector3(0.0f, 1.0f, 0.0f); in GenerateCubeGeometry()
[all …]
Dgeometry_utils.h27 std::vector<angle::Vector3> normals; member
41 std::vector<angle::Vector3> normals; member
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp153 SkPoint normals[2]; in quadraticTo() local
154 normalize2(tan0, tan1, normals); in quadraticTo()
160 this->rotateTo(leftJoinVerb, normals[0]); in quadraticTo()
162 this->rotateTo(Verb::kInternalRoundJoin, normals[1]); in quadraticTo()
209 this->rotateTo(leftJoinVerb, normals[0]); in quadraticTo()
218 this->rotateTo(Verb::kInternalRoundJoin, normals[1]); in quadraticTo()
223 this->recordLeftJoinIfNotEmpty(leftJoinVerb, normals[0]); in quadraticTo()
224 fNormals.push_back_n(2, normals); in quadraticTo()
281 SkPoint normals[2]; in cubicTo() local
282 normalize2(tan0, tan1, normals); in cubicTo()
[all …]
DGrCCStroker.cpp622 const SkTArray<SkVector, true>& normals = fGeometry.normals(); in prepareToDraw() local
658 builder.appendJoin(verb, pts[ptsIdx], normals[normalsIdx], normals[normalsIdx + 1], in prepareToDraw()
665 builder.appendCap(verb, pts[ptsIdx], normals[normalsIdx]); in prepareToDraw()
679 SkASSERT(normals.count() == normalsIdx); in prepareToDraw()
/third_party/openGLES/extensions/EXT/
DEXT_rescale_normal.txt50 normals. Normals are of interest only in eye coordinates, so the rules
57 a uniform scale. If rescaling is enabled, then normals specified with
62 the length of the normals after transformation might be altered due
64 is enabled, then normals specified with the Normal3 command are
76 bits of state. The initial state is for normals not to be normalized or
DEXT_vertex_weighting.txt127 unnormalized normals. Would the math work better if the normals
130 RESOLUTION: Vertex weighting of normals is after the
180 vertex weights of either zero or one and pre-normalized normals
183 Note that the vertex weighting of transformed normals occurs
190 RESOLUTION: Vertex weighting of transformed normals occurs
263 to blend the position and normals transformed by the primary and
297 normals, and vertices. The commands"
442 Rescale multiplies the transformed normals by a scale factor
455 Note that if the normals sent to GL were unit length and the model-view
456 matrix uniformly scales space, the rescale make sthe transformed normals
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_rescale_normal.txt50 normals. Normals are of interest only in eye coordinates, so the rules
57 a uniform scale. If rescaling is enabled, then normals specified with
62 the length of the normals after transformation might be altered due
64 is enabled, then normals specified with the Normal3 command are
76 bits of state. The initial state is for normals not to be normalized or
DEXT_vertex_weighting.txt127 unnormalized normals. Would the math work better if the normals
130 RESOLUTION: Vertex weighting of normals is after the
180 vertex weights of either zero or one and pre-normalized normals
183 Note that the vertex weighting of transformed normals occurs
190 RESOLUTION: Vertex weighting of transformed normals occurs
263 to blend the position and normals transformed by the primary and
297 normals, and vertices. The commands"
442 Rescale multiplies the transformed normals by a scale factor
455 Note that if the normals sent to GL were unit length and the model-view
456 matrix uniformly scales space, the rescale make sthe transformed normals
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_interleaved_elements.txt46 unique (colors, normals, and so on). Consider a mesh of a cube with
47 per-face normals, for example. There are 8 vertices and 6 normals, and 12
219 // Basic per-face normals
222 static const float normals[] =
244 glBindBuffer(GL_ARRAY_BUFFER, sizeof(positions) + sizeof(normals),
248 sizeof(normals), normals);
259 3, 0, // ... two complete triangles, all using normals[0]
265 2, 1, // ... two more triangles, all using normals[1]
334 RESOLVED: Not really, but are they appropriate for normals? g-buffers?
/third_party/openGLES/extensions/AMD/
DAMD_interleaved_elements.txt46 unique (colors, normals, and so on). Consider a mesh of a cube with
47 per-face normals, for example. There are 8 vertices and 6 normals, and 12
219 // Basic per-face normals
222 static const float normals[] =
244 glBindBuffer(GL_ARRAY_BUFFER, sizeof(positions) + sizeof(normals),
248 sizeof(normals), normals);
259 3, 0, // ... two complete triangles, all using normals[0]
265 2, 1, // ... two more triangles, all using normals[1]
334 RESOLVED: Not really, but are they appropriate for normals? g-buffers?
/third_party/flutter/skia/third_party/externals/angle2/samples/gles1/
DSimpleLighting.cpp50 GLfloat normals[] = { in draw() local
84 glNormalPointer(GL_FLOAT, 0, normals); in draw()
/third_party/skia/third_party/externals/angle2/samples/gles1/
DSimpleLighting.cpp50 GLfloat normals[] = { in draw() local
84 glNormalPointer(GL_FLOAT, 0, normals); in draw()
/third_party/skia/third_party/externals/opengl-registry/extensions/ATI/
DATI_vertex_streams.txt91 a current normal, auxilliary normals, current texture
94 calculations; the current normals are three-dimensional
146 "The normals and auxilliary normals may also be specified
157 normals. If the stream parameter specifies a stream greater
/third_party/openGLES/extensions/ATI/
DATI_vertex_streams.txt91 a current normal, auxilliary normals, current texture
94 calculations; the current normals are three-dimensional
146 "The normals and auxilliary normals may also be specified
157 normals. If the stream parameter specifies a stream greater
/third_party/openGLES/extensions/WIN/
DWIN_phong_shading.txt28 normals at the vertices and then interpolates the colors of the pixels,
77 then normals (and eye coordinates) must be computed for the vertices
118 "If phong-shading is turned on, the normals and eye coordinates must be
119 computed for the newly generated vertices. The normals and the
/third_party/skia/third_party/externals/opengl-registry/extensions/WIN/
DWIN_phong_shading.txt28 normals at the vertices and then interpolates the colors of the pixels,
77 then normals (and eye coordinates) must be computed for the vertices
118 "If phong-shading is turned on, the normals and eye coordinates must be
119 computed for the newly generated vertices. The normals and the
/third_party/openGLES/extensions/ARB/
DARB_vertex_blend.txt58 similar procedure is followed for the normals, except they
95 prevent non-unit normals.
110 Some transformations may cause the normals to be transformed in
120 transform the normals by the inverse transpose of the
126 When the less accurate blend is used, the normals will only
127 be identical to the normals formed by the more correct math
292 colors, color indices, normals, vertices, and weights.
320 that are stored in the array. Because normals are always
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_vertex_blend.txt48 similar procedure is followed for the normals, except they
85 prevent non-unit normals.
100 Some transformations may cause the normals to be transformed in
110 transform the normals by the inverse transpose of the
116 When the less accurate blend is used, the normals will only
117 be identical to the normals formed by the more correct math
282 colors, color indices, normals, vertices, and weights.
310 that are stored in the array. Because normals are always
/third_party/flutter/skia/src/utils/
DSkPolyUtils.cpp1189 SkAutoSTMalloc<64, SkVector> normals(inputPolygonSize); in SkOffsetSimplePolygon() local
1199 offset, winding, &normals[currIndex])) { in SkOffsetSimplePolygon()
1208 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon()
1221 if (!SkComputeRadialSteps(normals[inputPolygonSize-1], normals[0], offset, in SkOffsetSimplePolygon()
1247 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon()
1248 if (!SkComputeRadialSteps(prevNormal, normals[currIndex], offset, in SkOffsetSimplePolygon()
1270 inputPolygonVerts[currIndex] + normals[currIndex], in SkOffsetSimplePolygon()
1282 inputPolygonVerts[currIndex] + normals[currIndex], in SkOffsetSimplePolygon()
1283 inputPolygonVerts[nextIndex] + normals[currIndex], in SkOffsetSimplePolygon()
/third_party/skia/src/utils/
DSkPolyUtils.cpp1205 SkAutoSTMalloc<64, SkVector> normals(inputPolygonSize); in SkOffsetSimplePolygon() local
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[currIndex], in SkOffsetSimplePolygon()
1298 inputPolygonVerts[currIndex] + normals[currIndex], in SkOffsetSimplePolygon()
1299 inputPolygonVerts[nextIndex] + normals[currIndex], in SkOffsetSimplePolygon()
/third_party/flutter/skia/src/shaders/
DSkLightingShader.cpp362 SkPoint3 normals[BUFFER_MAX]; in shadeSpan() local
369 fNormalProvider->fillScanLine(x, y, normals, n); in shadeSpan()
394 illuminanceScalingFactor = normals[i].dot(light.dir()); in shadeSpan()
/third_party/flutter/skia/third_party/externals/angle2/samples/multiview/
DMultiview.cpp221 glBufferData(GL_ARRAY_BUFFER, sizeof(angle::Vector3) * mCube.normals.size(), in initialize()
222 mCube.normals.data(), GL_STATIC_DRAW); in initialize()
/third_party/skia/third_party/externals/angle2/samples/multiview/
DMultiview.cpp221 glBufferData(GL_ARRAY_BUFFER, sizeof(angle::Vector3) * mCube.normals.size(), in initialize()
222 mCube.normals.data(), GL_STATIC_DRAW); in initialize()

12345