Home
last modified time | relevance | path

Searched refs:primitive (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource_test.cc192 Primitive primitive; in PrepareRepeatedPrimitive() local
193 primitive.add_rep_fix32(3201); in PrepareRepeatedPrimitive()
194 primitive.add_rep_fix32(0); in PrepareRepeatedPrimitive()
195 primitive.add_rep_fix32(3202); in PrepareRepeatedPrimitive()
196 primitive.add_rep_u32(3203); in PrepareRepeatedPrimitive()
197 primitive.add_rep_u32(0); in PrepareRepeatedPrimitive()
198 primitive.add_rep_i32(0); in PrepareRepeatedPrimitive()
199 primitive.add_rep_i32(3204); in PrepareRepeatedPrimitive()
200 primitive.add_rep_i32(3205); in PrepareRepeatedPrimitive()
201 primitive.add_rep_sf32(3206); in PrepareRepeatedPrimitive()
[all …]
/external/ImageMagick/PerlMagick/demo/
Dpiddle.pl16 $image->Draw(primitive=>'line',points=>"$i,0 $i,300",stroke=>"#ccf");
17 $image->Draw(primitive=>'line',points=>"0,$i 300,$i",stroke=>"#ccf");
22 $image->Draw(primitive=>'RoundRectangle',fill=>'blue',stroke=>'maroon',
27 $image->Draw(primitive=>'bezier',points=>'20,20, 100,50, 50,100, 160,160',
32 $image->Draw(primitive=>'line',points=>"10,200 20,190",stroke=>red);
36 $image->Draw(primitive=>'circle',stroke=>'none',fill=>'yellow',,
38 $image->Draw(primitive=>'Path',stroke=>'none',fill=>'blue',strokewidth=>4,
40 $image->Draw(primitive=>'circle',stroke=>'black',fill=>'none',strokewidth=>4,
45 $image->Draw(primitive=>'polygon',
51 $image->Draw(primitive=>'line',points=>'200,260 200,200',stroke=>yellow,
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERTaggedObject.java43 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in isConstructed() local
45 return primitive.isConstructed(); in isConstructed()
59 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in encodedLength() local
60 int length = primitive.encodedLength(); in encodedLength()
86 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in encode() local
91 out.writeLength(primitive.encodedLength()); in encode()
92 out.writeObject(primitive); in encode()
100 if (primitive.isConstructed()) in encode()
110 out.writeImplicitObject(primitive); in encode()
DDLTaggedObject.java38 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); in isConstructed() local
40 return primitive.isConstructed(); in isConstructed()
80 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); in encode() local
85 out.writeLength(primitive.encodedLength()); in encode()
86 out.writeObject(primitive); in encode()
94 if (primitive.isConstructed()) in encode()
104 out.writeImplicitObject(primitive); in encode()
DBERTaggedObject.java58 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in isConstructed() local
60 return primitive.isConstructed(); in isConstructed()
74 ASN1Primitive primitive = obj.toASN1Primitive(); in encodedLength() local
75 int length = primitive.encodedLength(); in encodedLength()
/external/swiftshader/src/Renderer/
DQuadRasterizer.cpp56 Int yMin = *Pointer<Int>(primitive + OFFSET(Primitive,yMin)); in generate()
57 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive,yMax)); in generate()
69 primitive += sizeof(Primitive) * state.multiSample; in generate()
121 …Int x0a = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->left) + (y + 0) * sizeof(Primi… in rasterize()
122 …Int x0b = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->left) + (y + 1) * sizeof(Primi… in rasterize()
127 …x0a = Int(*Pointer<Short>(primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left) + (y… in rasterize()
128 …x0b = Int(*Pointer<Short>(primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left) + (y… in rasterize()
134 …Int x1a = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->right) + (y + 0) * sizeof(Prim… in rasterize()
135 …Int x1b = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->right) + (y + 1) * sizeof(Prim… in rasterize()
140 …x1a = Int(*Pointer<Short>(primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->right) + (… in rasterize()
[all …]
/external/swiftshader/src/Device/
DQuadRasterizer.cpp56 Int yMin = *Pointer<Int>(primitive + OFFSET(Primitive,yMin)); in generate()
57 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive,yMax)); in generate()
69 primitive += sizeof(Primitive) * state.multiSample; in generate()
121 …Int x0a = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->left) + (y + 0) * sizeof(Primi… in rasterize()
122 …Int x0b = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->left) + (y + 1) * sizeof(Primi… in rasterize()
127 …x0a = Int(*Pointer<Short>(primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left) + (y… in rasterize()
128 …x0b = Int(*Pointer<Short>(primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left) + (y… in rasterize()
134 …Int x1a = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->right) + (y + 0) * sizeof(Prim… in rasterize()
135 …Int x1b = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->right) + (y + 1) * sizeof(Prim… in rasterize()
140 …x1a = Int(*Pointer<Short>(primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->right) + (… in rasterize()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DDERTaggedObject.java47 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in isConstructed() local
49 return primitive.isConstructed(); in isConstructed()
63 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in encodedLength() local
64 int length = primitive.encodedLength(); in encodedLength()
90 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in encode() local
95 out.writeLength(primitive.encodedLength()); in encode()
96 out.writeObject(primitive); in encode()
104 if (primitive.isConstructed()) in encode()
114 out.writeImplicitObject(primitive); in encode()
DDLTaggedObject.java40 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); in isConstructed() local
42 return primitive.isConstructed(); in isConstructed()
82 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); in encode() local
87 out.writeLength(primitive.encodedLength()); in encode()
88 out.writeObject(primitive); in encode()
96 if (primitive.isConstructed()) in encode()
106 out.writeImplicitObject(primitive); in encode()
DBERTaggedObject.java60 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in isConstructed() local
62 return primitive.isConstructed(); in isConstructed()
76 ASN1Primitive primitive = obj.toASN1Primitive(); in encodedLength() local
77 int length = primitive.encodedLength(); in encodedLength()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_prim.h163 u_vertices_per_prim(int primitive) in u_vertices_per_prim() argument
165 switch(primitive) { in u_vertices_per_prim()
205 u_decomposed_prims_for_vertices(int primitive, int vertices) in u_decomposed_prims_for_vertices() argument
207 switch (primitive) { in u_decomposed_prims_for_vertices()
252 u_reduced_prims_for_vertices(int primitive, int vertices) in u_reduced_prims_for_vertices() argument
254 switch (primitive) { in u_reduced_prims_for_vertices()
257 return u_decomposed_prims_for_vertices(primitive, vertices) * 2; in u_reduced_prims_for_vertices()
259 primitive = PIPE_PRIM_TRIANGLE_FAN; in u_reduced_prims_for_vertices()
262 return u_decomposed_prims_for_vertices(primitive, vertices); in u_reduced_prims_for_vertices()
/external/mesa3d/src/gallium/auxiliary/util/
Du_prim.h183 u_vertices_per_prim(enum pipe_prim_type primitive) in u_vertices_per_prim() argument
185 switch(primitive) { in u_vertices_per_prim()
225 u_decomposed_prims_for_vertices(enum pipe_prim_type primitive, int vertices) in u_decomposed_prims_for_vertices() argument
227 switch (primitive) { in u_decomposed_prims_for_vertices()
272 u_reduced_prims_for_vertices(enum pipe_prim_type primitive, int vertices) in u_reduced_prims_for_vertices() argument
274 switch (primitive) { in u_reduced_prims_for_vertices()
277 return u_decomposed_prims_for_vertices(primitive, vertices) * 2; in u_reduced_prims_for_vertices()
279 primitive = PIPE_PRIM_TRIANGLE_FAN; in u_reduced_prims_for_vertices()
282 return u_decomposed_prims_for_vertices(primitive, vertices); in u_reduced_prims_for_vertices()
/external/ImageMagick/coders/
Dmvg.c158 primitive[MagickPathExtent]; in ReadMVGImage() local
170 while (ReadBlobString(image,primitive) != (char *) NULL) in ReadMVGImage()
175 for (p=primitive; (*p == ' ') || (*p == '\t'); p++) ; in ReadMVGImage()
211 draw_info->primitive=FileToString(image->filename,~0UL,exception); in ReadMVGImage()
220 draw_info->primitive=(char *) AcquireMagickMemory((size_t) length+1); in ReadMVGImage()
221 if (draw_info->primitive != (char *) NULL) in ReadMVGImage()
223 memcpy(draw_info->primitive,GetBlobStreamData(image),(size_t) in ReadMVGImage()
225 draw_info->primitive[length]='\0'; in ReadMVGImage()
229 if (draw_info->primitive == (char *) NULL) in ReadMVGImage()
234 if (*draw_info->primitive == '@') in ReadMVGImage()
[all …]
Dttf.c258 ConcatenateString(&draw_info->primitive,"push graphic-context\n"); in ReadTTFImage()
261 ConcatenateString(&draw_info->primitive,buffer); in ReadTTFImage()
262 ConcatenateString(&draw_info->primitive," font-size 18\n"); in ReadTTFImage()
265 ConcatenateString(&draw_info->primitive,buffer); in ReadTTFImage()
267 ConcatenateString(&draw_info->primitive,text); in ReadTTFImage()
270 ConcatenateString(&draw_info->primitive,buffer); in ReadTTFImage()
275 ConcatenateString(&draw_info->primitive," font-size 18\n"); in ReadTTFImage()
278 ConcatenateString(&draw_info->primitive,buffer); in ReadTTFImage()
281 ConcatenateString(&draw_info->primitive,buffer); in ReadTTFImage()
284 ConcatenateString(&draw_info->primitive,buffer); in ReadTTFImage()
[all …]
/external/swiftshader/src/Shader/
DSetupRoutine.cpp42 Pointer<Byte> primitive(function.Arg<0>()); in generate() local
117 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate()
118 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
122 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x00,… in generate()
123 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0x… in generate()
129 *Pointer<Float>(primitive + OFFSET(Primitive,area)) = 0.5f * A; in generate()
136 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate()
137 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
222 …Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->left)) + q * sizeof(P… in generate()
223 …Pointer<Byte> rightEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->right)) + q * sizeof… in generate()
[all …]
/external/swiftshader/src/Pipeline/
DSetupRoutine.cpp42 Pointer<Byte> primitive(function.Arg<0>()); in generate() local
115 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate()
116 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
120 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x00,… in generate()
121 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0x… in generate()
127 *Pointer<Float>(primitive + OFFSET(Primitive,area)) = 0.5f * A; in generate()
134 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate()
135 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
220 …Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->left)) + q * sizeof(P… in generate()
221 …Pointer<Byte> rightEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->right)) + q * sizeof… in generate()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs.c81 switch (key->primitive) { in brw_codegen_ff_gs_prog()
114 switch (key->primitive) { in brw_codegen_ff_gs_prog()
183 key->primitive = brw->primitive; in brw_ff_gs_populate_key()
187 if (key->primitive == _3DPRIM_QUADLIST && ctx->Light.ShadeModel != GL_FLAT) { in brw_ff_gs_populate_key()
228 key->need_gs_prog = (brw->primitive == _3DPRIM_QUADLIST || in brw_ff_gs_populate_key()
229 brw->primitive == _3DPRIM_QUADSTRIP || in brw_ff_gs_populate_key()
230 brw->primitive == _3DPRIM_LINELOOP); in brw_ff_gs_populate_key()
/external/deqp-deps/glslang/Test/baseResults/
Dmains1.frag.out23 input primitive = none
24 output primitive = points
34 input primitive = none
35 output primitive = line_strip
46 ERROR: Linking geometry stage: At least one shader must specify an input layout primitive
58 input primitive = none
59 output primitive = points
Dmax_vertices_0.geom.out5 input primitive = points
6 output primitive = triangle_strip
24 input primitive = points
25 output primitive = triangle_strip
/external/deqp/framework/referencerenderer/
Ddesign.txt6 - must support primitive setup reference
52 - replaces primitive assembly?
58 + full primitive type
62 + primitive list for rasterization / geometry shading
68 + primitive list
70 + changed primitive list
74 + primitive list
/external/deqp/doc/testspecs/GLES31/
Dfunctional.geometry_shading.txt28 - All input primitive types
61 variable. *_restarted variant verifies that primitive restart index has
67 TRIANGLE_ADJACENCY primitive with different vertex counts.
70 input and output primitive types.
92 instancing by rendering primitives in a circle formation. Each output primitive
94 circle is generated by a single input primitive. invocation_per_layer and
102 drawn around each input primitive instance.
105 primitive type and then try to use the shader when drawing with an incompatible
106 primitive type. GL_INVALID_OPERATION is expected.
109 in the extension. Tests include all new render primitive modes and
[all …]
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp158 std::string Array::primitiveToString (Primitive primitive) in primitiveToString() argument
168 return de::getSizedArrayElement<Array::PRIMITIVE_LAST>(primitives, (int)primitive); in primitiveToString()
707 GLenum ContextArray::primitiveToGL (Array::Primitive primitive) in primitiveToGL() argument
717 return de::getSizedArrayElement<Array::PRIMITIVE_LAST>(primitives, (int)primitive); in primitiveToGL()
1148 void ContextArrayPack::render (Array::Primitive primitive, int firstVertex, int vertexCount, bool u… in render() argument
1189 m_ctx.drawArrays(ContextArray::primitiveToGL(primitive), firstVertex, vertexCount - firstVertex); in render()
1311 …int count, int componentCount, int offset, int stride, Array::Primitive primitive, Array::InputTyp…
1312 … (int seed, int count, int componentCount, int stride, Array::Primitive primitive, Array::InputTyp…
1316 …int count, int componentCount, int offset, int stride, Array::Primitive primitive, T min, T max, f…
1318 …ds (int seed, int count, int componentCount, int stride, Array::Primitive primitive, T min, T max);
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DRepresenterTest.java40 private boolean primitive; field in RepresenterTest.MyBean
59 return primitive; in isPrimitive()
62 public void setPrimitive(boolean primitive) { in setPrimitive() argument
63 this.primitive = primitive; in setPrimitive()
/external/deqp/modules/gles2/functional/
Des2fDrawTests.cpp74 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec()
114 … gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSp…
126 … gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSp… in AttributeGroup() argument
129 , m_primitive (primitive) in AttributeGroup()
147 spec.primitive = m_primitive; in init()
182 spec.primitive = m_primitive; in init()
228 spec.primitive = m_primitive; in init()
441 const gls::DrawTestSpec::Primitive primitive[] = in init() local
465 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(primitive); ++ndx) in init()
467 const std::string name = gls::DrawTestSpec::primitiveToString(primitive[ndx]); in init()
[all …]
/external/mesa3d/src/gallium/docs/source/
Dpipeline.txt12 primitive ID } System-generated values
27 primitive ID
79 primitive ID
101 primitive ID ]
113 primitive ID

12345678910>>...16