Searched defs:primitiveType (Results 1 - 25 of 39) sorted by relevance

12

/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstFieldRef.java32 * @param primitiveType {@code non-null;} the primitive type
35 public static CstFieldRef forPrimitiveType(Type primitiveType) { argument
36 return new CstFieldRef(CstType.forBoxedPrimitiveType(primitiveType),
H A DCstType.java100 * @param primitiveType {@code non-null;} the primitive type
103 public static CstType forBoxedPrimitiveType(Type primitiveType) { argument
104 switch (primitiveType.getBasicType()) {
116 throw new IllegalArgumentException("not primitive: " + primitiveType);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/
H A DModelMeshPart.java22 public int primitiveType; field in class:ModelMeshPart
/external/guice/core/src/com/google/inject/internal/
H A DTypeConverterBindingProcessor.java105 private static <T> void convertToPrimitiveType(InjectorImpl injector, Class<T> primitiveType, argument
109 "parse" + capitalize(primitiveType.getName()), String.class);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/
H A DMeshPart.java33 * 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; field in class:MeshPart
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
[all...]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
H A DShapeCache.java79 * @param primitiveType */
80 public ShapeCache (int maxVertices, int maxIndices, VertexAttributes attributes, int primitiveType) { argument
89 renderable.meshPart.primitiveType = primitiveType;
99 * @param primitiveType OpenGL primitive type */
100 public MeshPartBuilder begin (int primitiveType) { argument
105 builder.part(id, primitiveType, renderable.meshPart);
H A DModelBuilder.java142 public MeshPart part (final String id, final Mesh mesh, int primitiveType, int offset, int size, final Material material) { argument
145 meshPart.primitiveType = primitiveType;
157 public MeshPart part (final String id, final Mesh mesh, int primitiveType, final Material material) { argument
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) { argument
168 part(builder.part(id, primitiveType), material);
179 public MeshPartBuilder part (final String id, int primitiveType, final long attributes, final Material material) { argument
180 return part(id, primitiveType, MeshBuilder.createAttributes(attributes), material);
195 public Model createBox (float width, float height, float depth, int primitiveType, fina argument
216 createRect(float x00, float y00, float z00, float x10, float y10, float z10, float x11, float y11, float z11, float x01, float y01, float z01, float normalX, float normalY, float normalZ, int primitiveType, final Material material, final long attributes) argument
238 createCylinder(float width, float height, float depth, int divisions, int primitiveType, final Material material, final long attributes) argument
256 createCylinder(float width, float height, float depth, int divisions, int primitiveType, final Material material, final long attributes, float angleFrom, float angleTo) argument
275 createCone(float width, float height, float depth, int divisions, int primitiveType, final Material material, final long attributes) argument
293 createCone(float width, float height, float depth, int divisions, int primitiveType, final Material material, final long attributes, float angleFrom, float angleTo) argument
313 createSphere(float width, float height, float depth, int divisionsU, int divisionsV, int primitiveType, final Material material, final long attributes) argument
332 createSphere(float width, float height, float depth, int divisionsU, int divisionsV, int primitiveType, final Material material, final long attributes, float angleUFrom, float angleUTo, float angleVFrom, float angleVTo) argument
352 createCapsule(float radius, float height, int divisions, int primitiveType, final Material material, final long attributes) argument
388 createXYZCoordinates(float axisLength, float capLength, float stemThickness, int divisions, int primitiveType, Material material, long attributes) argument
415 createArrow(float x1, float y1, float z1, float x2, float y2, float z2, float capLength, float stemThickness, int divisions, int primitiveType, Material material, long attributes) argument
[all...]
H A DMeshBuilder.java103 /** The current primitiveType */
104 private int primitiveType; field in class:MeshBuilder
150 public void begin (final long attributes, int primitiveType) { argument
151 begin(createAttributes(attributes), primitiveType);
155 public void begin (final VertexAttributes attributes, int primitiveType) { argument
187 this.primitiveType = primitiveType;
207 public MeshPart part (final String id, int primitiveType) { argument
208 return part(id, primitiveType, new MeshPart());
214 * @param primitiveType
216 part(final String id, final int primitiveType, MeshPart meshPart) argument
[all...]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
H A DImmediateModeRenderer.java23 public void begin (Matrix4 projModelView, int primitiveType); argument
H A DImmediateModeRenderer20.java32 private int primitiveType; field in class:ImmediateModeRenderer20
102 public void begin (Matrix4 projModelView, int primitiveType) { argument
104 this.primitiveType = primitiveType;
151 mesh.render(shader, primitiveType);
/external/skia/src/gpu/vk/
H A DGrVkResourceProvider.cpp31 GrPrimitiveType primitiveType,
36 primitiveType, renderPass, layout);
27 createPipeline(const GrPipeline& pipeline, const GrPrimitiveProcessor& primProc, VkPipelineShaderStageCreateInfo* shaderStageInfo, int shaderStageCount, GrPrimitiveType primitiveType, const GrVkRenderPass& renderPass, VkPipelineLayout layout) argument
H A DGrVkProgramBuilder.cpp16 GrPrimitiveType primitiveType,
32 return builder.finalize(args, primitiveType, renderPass);
156 GrPrimitiveType primitiveType,
270 primitiveType,
14 CreateProgram(GrVkGpu* gpu, const DrawArgs& args, GrPrimitiveType primitiveType, const GrVkRenderPass& renderPass) argument
155 finalize(const DrawArgs& args, GrPrimitiveType primitiveType, const GrVkRenderPass& renderPass) argument
H A DGrVkPipeline.cpp81 static void setup_input_assembly_state(GrPrimitiveType primitiveType, argument
97 inputAssemblyInfo->topology = gPrimitiveType2VkTopology[primitiveType];
431 GrPrimitiveType primitiveType,
443 setup_input_assembly_state(primitiveType, &inputAssemblyInfo);
427 Create(GrVkGpu* gpu, const GrPipeline& pipeline, const GrPrimitiveProcessor& primProc, VkPipelineShaderStageCreateInfo* shaderStageInfo, int shaderStageCount, GrPrimitiveType primitiveType, const GrVkRenderPass& renderPass, VkPipelineLayout layout) argument
/external/skia/src/gpu/
H A DGrVertices.h16 GrPrimitiveType primitiveType() const { return fPrimitiveType; } function in class:GrNonInstancedVertices
H A DGrDrawContext.cpp405 GrPrimitiveType primitiveType,
433 if (!paint.isAntiAlias() || GrIsPrimTypeLines(primitiveType) ||
434 kPoints_GrPrimitiveType == primitiveType) {
440 SkAutoTUnref<GrDrawBatch> batch(GrDrawVerticesBatch::Create(geometry, primitiveType, viewMatrix,
402 drawVertices(const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, GrPrimitiveType primitiveType, int vertexCount, const SkPoint positions[], const SkPoint texCoords[], const GrColor colors[], const uint16_t indices[], int indexCount) argument
/external/skia/src/gpu/batches/
H A DGrDrawVerticesBatch.h33 static GrDrawBatch* Create(const Geometry& geometry, GrPrimitiveType primitiveType, argument
39 return new GrDrawVerticesBatch(geometry, primitiveType, viewMatrix, positions, vertexCount,
55 GrDrawVerticesBatch(const Geometry& geometry, GrPrimitiveType primitiveType,
61 GrPrimitiveType primitiveType() const { return fPrimitiveType; } function in class:GrDrawVerticesBatch
H A DGrDrawVerticesBatch.cpp34 GrDrawVerticesBatch::GrDrawVerticesBatch(const Geometry& geometry, GrPrimitiveType primitiveType, argument
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()) {
H A DGrTessellatingPathRenderer.cpp198 GrPrimitiveType primitiveType = TESSELLATOR_WIREFRAME ? kLines_GrPrimitiveType variable
201 vertices.init(primitiveType, vertexBuffer.get(), 0, actualCount);
H A DGrDefaultPathRenderer.cpp296 // determine primitiveType
298 GrPrimitiveType primitiveType; variable
302 primitiveType = kLines_GrPrimitiveType;
304 primitiveType = kLineStrip_GrPrimitiveType;
309 primitiveType = kTriangles_GrPrimitiveType;
311 primitiveType = kTriangleFan_GrPrimitiveType;
367 vertices.initIndexed(primitiveType, vertexBuffer, indexBuffer, firstVertex, firstIndex,
370 vertices.init(primitiveType, vertexBuffer, firstVertex, vertexOffset);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
H A DModelCache.java157 return arg0.meshPart.primitiveType - arg1.meshPart.primitiveType;
229 private Renderable obtainRenderable (Material material, int primitiveType) { argument
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/libgdx/gdx/src/com/badlogic/gdx/graphics/
H A DMesh.java420 * @param primitiveType the primitive type */
421 public void render (ShaderProgram shader, int primitiveType) { argument
422 render(shader, primitiveType, 0, indices.getNumMaxIndices() > 0 ? getNumIndices() : getNumVertices(), autoBind);
445 * @param primitiveType the primitive type
448 public void render (ShaderProgram shader, int primitiveType, int offset, int count) { argument
449 render(shader, primitiveType, offset, count, autoBind);
472 * @param primitiveType the primitive type
476 public void render (ShaderProgram shader, int primitiveType, int offset, int count, boolean autoBind) { argument
488 Gdx.gl20.glDrawElements(primitiveType, count, GL20.GL_UNSIGNED_SHORT, buffer);
492 Gdx.gl20.glDrawArrays(primitiveType, offse
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fRasterizationTests.cpp91 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType);
92 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& coloDrata, glw::GLenum primitiveType);
182 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType) argument
187 drawPrimitives(result, vertexData, colorData, primitiveType);
190 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& colorData, glw::GLenum primitiveType) argument
207 gl.drawArrays (primitiveType, 0, (glw::GLsizei)vertexData.size());
/external/deqp/modules/gles3/functional/
H A Des3fTransformFeedbackTests.cpp422 static glu::ShaderProgram* createVertexCaptureProgram (const glu::RenderContext& context, const ProgramSpec& spec, deUint32 bufferMode, deUint32 primitiveType) argument
426 genShaderSources(spec, vertSource, fragSource, primitiveType == GL_POINTS /* Is point size required? */);
625 static deUint32 getTransformFeedbackOutputCount (deUint32 primitiveType, int numElements) argument
627 switch (primitiveType)
643 static deUint32 getTransformFeedbackPrimitiveCount (deUint32 primitiveType, int numElements) argument
645 switch (primitiveType)
661 static deUint32 getTransformFeedbackPrimitiveMode (deUint32 primitiveType) argument
663 switch (primitiveType)
684 static int getAttributeIndex (deUint32 primitiveType, int numInputs, int outNdx) argument
686 switch (primitiveType)
717 compareTransformFeedbackOutput(tcu::TestLog& log, deUint32 primitiveType, const Output& output, int numInputs, const deUint8* inBasePtr, int inStride, const deUint8* outBasePtr, int outStride) argument
[all...]
/external/deqp/framework/referencerenderer/
H A DrrRenderer.cpp1690 PrimitiveList::PrimitiveList (PrimitiveType primitiveType, int numElements, const int firstElement) argument
1691 : m_primitiveType (primitiveType)
1701 PrimitiveList::PrimitiveList (PrimitiveType primitiveType, int numElements, const DrawIndices& indices) argument
1702 : m_primitiveType (primitiveType)
/external/deqp/modules/glshared/
H A DglsDrawTest.cpp3079 static PrimitiveClass getDrawPrimitiveClass (gls::DrawTestSpec::Primitive primitiveType) argument
3081 switch (primitiveType)
3759 bool DrawTest::compare (gls::DrawTestSpec::Primitive primitiveType) argument
3772 const PrimitiveClass primitiveClass = getDrawPrimitiveClass(primitiveType);

Completed in 2109 milliseconds

12