HomeSort by relevance Sort by last modified time
    Searched refs:primitiveType (Results 1 - 25 of 188) sorted by null

1 2 3 4 5 6 7 8

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/
ModelMeshPart.java 22 public int primitiveType;
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/
MeshPart.java 33 * In other words: Regardless whether the mesh is indexed or not, when {@link #primitiveType} is not a strip, then {@link #size}
35 * {@link #primitiveType} is GL_TRIANGLES), then the {@link #size} member is 12 (4 triangles * 3 vertices = 12 vertices total).
36 * Likewise, if the part represents 12 lines ({@link #primitiveType} is GL_LINES), then the size is 24 (12 lines * 2 vertices = 24
49 public int primitiveType;
98 this.primitiveType = other.primitiveType;
112 this.primitiveType = type;
131 * {@link #offset}, {@link #size} and {@link #primitiveType} members are equal. The {@link #id} member is ignored.
136 || (other != null && other.mesh == mesh && other.primitiveType == primitiveType && other.offset == offset && other.size == size);
    [all...]
  /external/skia/src/gpu/batches/
GrDrawVerticesBatch.h 33 static GrDrawBatch* Create(const Geometry& geometry, GrPrimitiveType primitiveType,
39 return new GrDrawVerticesBatch(geometry, primitiveType, viewMatrix, positions, vertexCount,
55 GrDrawVerticesBatch(const Geometry& geometry, GrPrimitiveType primitiveType,
61 GrPrimitiveType primitiveType() const { return fPrimitiveType; }
GrDrawVerticesBatch.cpp 34 GrDrawVerticesBatch::GrDrawVerticesBatch(const Geometry& geometry, GrPrimitiveType primitiveType,
63 fPrimitiveType = primitiveType;
161 vertices.initIndexed(this->primitiveType(), vertexBuffer, indexBuffer, firstVertex,
165 vertices.init(this->primitiveType(), vertexBuffer, firstVertex, fVertexCount);
178 if (!this->batchablePrimitiveType() || this->primitiveType() != that->primitiveType()) {
  /dalvik/dexgen/src/com/android/dexgen/rop/cst/
CstFieldRef.java 32 * @param primitiveType {@code non-null;} the primitive type
35 public static CstFieldRef forPrimitiveType(Type primitiveType) {
36 return new CstFieldRef(CstType.forBoxedPrimitiveType(primitiveType),
CstType.java 100 * @param primitiveType {@code non-null;} the primitive type
103 public static CstType forBoxedPrimitiveType(Type primitiveType) {
104 switch (primitiveType.getBasicType()) {
116 throw new IllegalArgumentException("not primitive: " + primitiveType);
  /dalvik/dx/src/com/android/dx/rop/cst/
CstFieldRef.java 32 * @param primitiveType {@code non-null;} the primitive type
35 public static CstFieldRef forPrimitiveType(Type primitiveType) {
36 return new CstFieldRef(CstType.forBoxedPrimitiveType(primitiveType),
CstType.java 100 * @param primitiveType {@code non-null;} the primitive type
103 public static CstType forBoxedPrimitiveType(Type primitiveType) {
104 switch (primitiveType.getBasicType()) {
116 throw new IllegalArgumentException("not primitive: " + primitiveType);
  /external/dexmaker/src/dx/java/com/android/dx/rop/cst/
CstFieldRef.java 32 * @param primitiveType {@code non-null;} the primitive type
35 public static CstFieldRef forPrimitiveType(Type primitiveType) {
36 return new CstFieldRef(CstType.forBoxedPrimitiveType(primitiveType),
CstType.java 100 * @param primitiveType {@code non-null;} the primitive type
103 public static CstType forBoxedPrimitiveType(Type primitiveType) {
104 switch (primitiveType.getBasicType()) {
116 throw new IllegalArgumentException("not primitive: " + primitiveType);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
ModelBuilder.java 142 public MeshPart part (final String id, final Mesh mesh, int primitiveType, int offset, int size, final Material material) {
145 meshPart.primitiveType = primitiveType;
157 public MeshPart part (final String id, final Mesh mesh, int primitiveType, final Material material) {
158 return part(id, mesh, primitiveType, 0, mesh.getNumIndices(), material);
166 public MeshPartBuilder part (final String id, int primitiveType, final VertexAttributes attributes, final Material material) {
168 part(builder.part(id, primitiveType), material);
179 public MeshPartBuilder part (final String id, int primitiveType, final long attributes, final Material material) {
180 return part(id, primitiveType, MeshBuilder.createAttributes(attributes), material);
195 public Model createBox (float width, float height, float depth, int primitiveType, final Material material,
    [all...]
ShapeCache.java 79 * @param primitiveType */
80 public ShapeCache (int maxVertices, int maxIndices, VertexAttributes attributes, int primitiveType) {
89 renderable.meshPart.primitiveType = primitiveType;
99 * @param primitiveType OpenGL primitive type */
100 public MeshPartBuilder begin (int primitiveType) {
105 builder.part(id, primitiveType, renderable.meshPart);
MeshBuilder.java 103 /** The current primitiveType */
104 private int primitiveType;
150 public void begin (final long attributes, int primitiveType) {
151 begin(createAttributes(attributes), primitiveType);
155 public void begin (final VertexAttributes attributes, int primitiveType) {
187 this.primitiveType = primitiveType;
207 public MeshPart part (final String id, int primitiveType) {
208 return part(id, primitiveType, new MeshPart());
214 * @param primitiveType e.g. {@link GL20#GL_TRIANGLES} or {@link GL20#GL_LINES}
    [all...]
  /external/easymock/src/org/easymock/internal/
MethodSerializationWrapper.java 68 Class<?> primitiveType = primitiveTypes.get(parameterTypeNames[i]);
69 if (primitiveType != null) {
70 parameterTypes[i] = primitiveType;
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
ImmediateModeRenderer.java 23 public void begin (Matrix4 projModelView, int primitiveType);
ImmediateModeRenderer20.java 32 private int primitiveType;
102 public void begin (Matrix4 projModelView, int primitiveType) {
104 this.primitiveType = primitiveType;
151 mesh.render(shader, primitiveType);
  /external/skia/src/gpu/vk/
GrVkPipeline.h 30 GrPrimitiveType primitiveType,
GrVkResourceProvider.h 35 GrPrimitiveType primitiveType,
GrVkProgramBuilder.h 52 GrPrimitiveType primitiveType,
GrVkResourceProvider.cpp 31 GrPrimitiveType primitiveType,
36 primitiveType, renderPass, layout);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
ModelCache.java 157 return arg0.meshPart.primitiveType - arg1.meshPart.primitiveType;
229 private Renderable obtainRenderable (Material material, int primitiveType) {
237 result.meshPart.primitiveType = primitiveType;
263 int primitiveType = first.meshPart.primitiveType;
267 MeshPart part = meshBuilder.part("", primitiveType, meshPartPool.obtain());
268 renderables.add(obtainRenderable(material, primitiveType));
274 final int pt = renderable.meshPart.primitiveType;
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTransformFeedbackTests.cpp 422 static glu::ShaderProgram* createVertexCaptureProgram (const glu::RenderContext& context, const ProgramSpec& spec, deUint32 bufferMode, deUint32 primitiveType)
426 genShaderSources(spec, vertSource, fragSource, primitiveType == GL_POINTS /* Is point size required? */);
625 static deUint32 getTransformFeedbackOutputCount (deUint32 primitiveType, int numElements)
627 switch (primitiveType)
643 static deUint32 getTransformFeedbackPrimitiveCount (deUint32 primitiveType, int numElements)
645 switch (primitiveType)
661 static deUint32 getTransformFeedbackPrimitiveMode (deUint32 primitiveType)
663 switch (primitiveType)
684 static int getAttributeIndex (deUint32 primitiveType, int numInputs, int outNdx)
686 switch (primitiveType)
    [all...]
  /external/deqp/framework/referencerenderer/
rrRenderer.hpp 91 PrimitiveList (PrimitiveType primitiveType, int numElements, const int firstElement); // !< primitive list for drawArrays-like call
92 PrimitiveList (PrimitiveType primitiveType, int numElements, const DrawIndices& indices); // !< primitive list for drawElements-like call
98 inline PrimitiveType getPrimitiveType (void) const { return m_primitiveType; }
102 const PrimitiveType m_primitiveType;
  /external/deqp/modules/gles31/functional/
es31fTessellationTests.cpp 836 static inline bool isPatchDiscarded (TessPrimitiveType primitiveType, const float* outerLevels)
838 const int numOuterLevels = numOuterTessellationLevels(primitiveType);
845 static vector<Vec3> generateReferenceTessCoords (TessPrimitiveType primitiveType, SpacingMode spacingMode, const float* innerLevels, const float* outerLevels)
847 if (isPatchDiscarded(primitiveType, outerLevels))
850 switch (primitiveType)
910 static int referencePointModePrimitiveCount (TessPrimitiveType primitiveType, SpacingMode spacingMode, const float* innerLevels, const float* outerLevels)
912 if (isPatchDiscarded(primitiveType, outerLevels))
915 switch (primitiveType)
946 static int referenceNonPointModePrimitiveCount (TessPrimitiveType primitiveType, SpacingMode spacingMode, const float* innerLevels, const float* outerLevels)
948 if (isPatchDiscarded(primitiveType, outerLevels)
    [all...]
  /external/guice/core/src/com/google/inject/internal/
TypeConverterBindingProcessor.java 105 private static <T> void convertToPrimitiveType(InjectorImpl injector, Class<T> primitiveType,
109 "parse" + capitalize(primitiveType.getName()), String.class);

Completed in 2108 milliseconds

1 2 3 4 5 6 7 8