HomeSort by relevance Sort by last modified time
    Searched refs:normals (Results 1 - 22 of 22) sorted by null

  /cts/tests/openglperf2/jni/graphics/
Mesh.cpp 16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords,
19 mNormals(normals),
Mesh.h 23 Mesh(const float* vertices, const float* normals, const float* texCoords,
GLUtils.cpp 102 float* normals = new float[numVertices * 3]; local
113 // Normals
114 normals[vIndex + 0] = readFloat(buffer + index);
116 normals[vIndex + 1] = readFloat(buffer + index);
118 normals[vIndex + 2] = readFloat(buffer + index);
127 return new Mesh(vertices, normals, texCoords, numVertices);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
ObjImporter.java 86 ArrayList<Float> normals = new ArrayList<Float>(); local
145 if (idx < 0) idx = (normals.size() / 3) + idx;
165 normals.add(Float.parseFloat(parts.nextToken()));
166 normals.add(Float.parseFloat(parts.nextToken()));
167 normals.add(Float.parseFloat(parts.nextToken()));
196 if (normals.size() == 0) {
197 Log.e(TAG, "There are no normals specified for this model. " +
198 "Please re-export with normals.");
199 throw new RuntimeException("[" + TAG + "] There are no normals specified " +
200 "for this model. Please re-export with normals.")
    [all...]
  /external/skia/src/gpu/ccpr/
GrCCStrokeGeometry.cpp 154 SkPoint normals[2]; local
155 normalize2(tan0, tan1, normals);
161 this->rotateTo(leftJoinVerb, normals[0]);
163 this->rotateTo(Verb::kInternalRoundJoin, normals[1]);
210 this->rotateTo(leftJoinVerb, normals[0]);
219 this->rotateTo(Verb::kInternalRoundJoin, normals[1]);
224 this->recordLeftJoinIfNotEmpty(leftJoinVerb, normals[0]);
225 fNormals.push_back_n(2, normals);
282 SkPoint normals[2];
283 normalize2(tan0, tan1, normals);
    [all...]
GrCCStrokeGeometry.h 30 , fPoints(numSkPoints * 5/4) // Reserve for a 1.25x expansion in points and normals.
33 // A string of verbs and their corresponding, params, points, and normals are a compact
78 const SkTArray<SkVector, true>& normals() const { SkASSERT(!fInsideContour); return fNormals; } function in class:GrCCStrokeGeometry
GrCCStroker.cpp 611 const SkTArray<SkVector, true>& normals = fGeometry.normals(); local
647 builder.appendJoin(verb, pts[ptsIdx], normals[normalsIdx], normals[normalsIdx + 1],
654 builder.appendCap(verb, pts[ptsIdx], normals[normalsIdx]);
668 SkASSERT(normals.count() == normalsIdx);
725 // Linear strokes draw a quad. Cubic strokes emit a strip with normals at "numSegments"
    [all...]
  /external/skqp/src/gpu/ccpr/
GrCCStrokeGeometry.cpp 154 SkPoint normals[2]; local
155 normalize2(tan0, tan1, normals);
161 this->rotateTo(leftJoinVerb, normals[0]);
163 this->rotateTo(Verb::kInternalRoundJoin, normals[1]);
210 this->rotateTo(leftJoinVerb, normals[0]);
219 this->rotateTo(Verb::kInternalRoundJoin, normals[1]);
224 this->recordLeftJoinIfNotEmpty(leftJoinVerb, normals[0]);
225 fNormals.push_back_n(2, normals);
282 SkPoint normals[2];
283 normalize2(tan0, tan1, normals);
    [all...]
GrCCStrokeGeometry.h 30 , fPoints(numSkPoints * 5/4) // Reserve for a 1.25x expansion in points and normals.
33 // A string of verbs and their corresponding, params, points, and normals are a compact
78 const SkTArray<SkVector, true>& normals() const { SkASSERT(!fInsideContour); return fNormals; } function in class:GrCCStrokeGeometry
GrCCStroker.cpp 611 const SkTArray<SkVector, true>& normals = fGeometry.normals(); local
647 builder.appendJoin(verb, pts[ptsIdx], normals[normalsIdx], normals[normalsIdx + 1],
654 builder.appendCap(verb, pts[ptsIdx], normals[normalsIdx]);
668 SkASSERT(normals.count() == normalsIdx);
725 // Linear strokes draw a quad. Cubic strokes emit a strip with normals at "numSegments"
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
SolidSurfaceComponent.java 87 final FixedSizeArray<Vector2> normals = mNormals; local
118 normal.set(normals.get(x));
  /external/pdfium/core/fxcrt/css/
cfx_cssstyleselector.h 62 std::vector<const CFX_CSSPropertyHolder*>* normals,
cfx_cssstyleselector.cpp 105 std::vector<const CFX_CSSPropertyHolder*> normals; local
109 ExtractValues(decl, &importants, &normals, &customs);
112 ExtractValues(extraDecl, &importants, &normals, &customs);
114 for (auto* prop : normals)
127 std::vector<const CFX_CSSPropertyHolder*>* normals,
133 normals->push_back(holder.get());
  /external/skia/src/shaders/
SkLightingShader.cpp 46 @param normalSource the source of normals for lighting computation
364 SkPoint3 normals[BUFFER_MAX]; local
371 fNormalProvider->fillScanLine(x, y, normals, n);
396 illuminanceScalingFactor = normals[i].dot(light.dir());
  /external/skqp/src/shaders/
SkLightingShader.cpp 46 @param normalSource the source of normals for lighting computation
366 SkPoint3 normals[BUFFER_MAX]; local
373 fNormalProvider->fillScanLine(x, y, normals, n);
398 illuminanceScalingFactor = normals[i].dot(light.dir());
  /external/skia/src/utils/
SkPolyUtils.cpp     [all...]
  /external/skqp/src/utils/
SkPolyUtils.cpp     [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowParcelTest.java 440 ArrayList<TestParcelable> normals = new ArrayList<>(); local
441 normals.add(normal);
443 parcel.writeTypedList(normals);
  /external/skia/tests/
SerializationTest.cpp 605 SkBitmap normals; local
606 normals.allocN32Pixels(kTexSize, kTexSize);
608 sk_tool_utils::create_frustum_normal_map(&normals, SkIRect::MakeWH(kTexSize, kTexSize));
609 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(normals, SkShader::kClamp_TileMode,
  /external/skqp/tests/
SerializationTest.cpp 605 SkBitmap normals; local
606 normals.allocN32Pixels(kTexSize, kTexSize);
608 sk_tool_utils::create_frustum_normal_map(&normals, SkIRect::MakeWH(kTexSize, kTexSize));
609 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(normals, SkShader::kClamp_TileMode,
  /external/autotest/client/deps/webgl_mpd/src/resources/
J3DI.js 150 // Create a box with vertices, normals and texCoords. Create VBOs for each as well as the index array.
153 // normalObject WebGLBuffer object for normals
181 var normals = new Float32Array(
215 ctx.bufferData(ctx.ARRAY_BUFFER, normals, ctx.STATIC_DRAW);
241 // Sphere has vertices, normals and texCoords. Create VBOs for each as well as the index array.
244 // normalObject WebGLBuffer object for normals
338 // normalObject WebGLBuffer object for normals
472 // do the normals
  /cts/apps/CtsVerifier/libs/
opencv3-android.jar 

Completed in 1718 milliseconds