Searched refs:Primitive (Results 1 - 25 of 50) sorted by relevance

12

/external/swiftshader/src/Renderer/
H A DQuadRasterizer.cpp18 #include "Primitive.hpp"
55 Int yMin = *Pointer<Int>(primitive + OFFSET(Primitive,yMin));
56 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive,yMax));
68 primitive += sizeof(Primitive) * state.multiSample;
120 Int x0a = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->left) + (y + 0) * sizeof(Primitive::Span)));
121 Int x0b = Int(*Pointer<Short>(primitive + OFFSET(Primitive,outline->left) + (y + 1) * sizeof(Primitive::Span)));
126 x0a = Int(*Pointer<Short>(primitive + q * sizeof(Primitive) + OFFSET(Primitive,outlin
[all...]
H A DPrimitive.hpp37 struct Primitive struct in namespace:sw
H A DSetupProcessor.hpp26 struct Primitive;
86 typedef bool (*RoutinePointer)(Primitive *primitive, const Triangle *triangle, const Polygon *polygon, const DrawData *draw);
H A DRenderer.hpp413 bool setupLine(Primitive &primitive, Triangle &triangle, const DrawCall &draw);
414 bool setupPoint(Primitive &primitive, Triangle &triangle, const DrawCall &draw);
432 Primitive *primitiveBatch[16];
H A DRenderer.cpp23 #include "Primitive.hpp"
877 Primitive *primitive = primitiveBatch[unit];
1476 Primitive *primitive = primitiveBatch[unit];
1521 Primitive *primitive = primitiveBatch[unit];
1579 Primitive *primitive = primitiveBatch[unit];
1623 Primitive *primitive = primitiveBatch[unit];
1648 Primitive *primitive = primitiveBatch[unit];
1670 bool Renderer::setupLine(Primitive &primitive, Triangle &triangle, const DrawCall &draw)
1870 bool Renderer::setupPoint(Primitive &primitive, Triangle &triangle, const DrawCall &draw)
1956 primitiveBatch[i] = (Primitive*)allocat
[all...]
/external/clang/test/SemaTemplate/
H A Dtemp_arg_template.cpp64 template <typename Primitive, template <Primitive...> class F>
70 typedef typename Primitive::template call<F> x;
/external/swiftshader/src/Shader/
H A DSetupRoutine.cpp18 #include "Renderer/Primitive.hpp"
117 *Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFFFFFFFFFFFFFFFF);
118 *Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x0000000000000000);
122 *Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0x0000000000000000);
123 *Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0xFFFFFFFFFFFFFFFF);
129 *Pointer<Float>(primitive + OFFSET(Primitive,area)) = 0.5f * A;
136 *Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFFFFFFFFFFFFFFFF);
137 *Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x0000000000000000);
222 Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->left)) + q * sizeof(Primitive);
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_render.c188 GLuint prim = VB->Primitive[i].mode;
189 GLuint length = VB->Primitive[i].count;
246 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]);
247 GLuint start = VB->Primitive[i].start;
248 GLuint length = VB->Primitive[i].count;
/external/deqp/modules/glshared/
H A DglsDrawTest.hpp124 enum Primitive enum in struct:deqp::gls::DrawTestSpec
181 static std::string primitiveToString (Primitive primitive);
219 Primitive primitive;
256 bool compare (gls::DrawTestSpec::Primitive primitiveType);
H A DglsVertexArrayTests.hpp133 enum Primitive enum in class:deqp::gls::Array
148 static std::string primitiveToString (Primitive primitive);
196 static deUint32 primitiveToGL (Array::Primitive primitive);
224 virtual void render (Array::Primitive primitive, int firstVertex, int vertexCount, bool useVao, float coordScale, float colorScale);
474 Array::Primitive primitive;
H A DglsVertexArrayTests.cpp158 std::string Array::primitiveToString (Primitive primitive)
707 GLenum ContextArray::primitiveToGL (Array::Primitive primitive)
1148 void ContextArrayPack::render (Array::Primitive primitive, int firstVertex, int vertexCount, bool useVao, float coordScale, float colorScale)
1311 static char* generateQuads (int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max, float gridSize);
1312 static char* generatePerQuad (int seed, int count, int componentCount, int stride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max);
1316 static char* createQuads (int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitive, T min, T max, float gridSize);
1318 static char* createPerQuads (int seed, int count, int componentCount, int stride, Array::Primitive primitive, T min, T max);
1319 static char* createQuadsPacked (int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitive);
1416 char* RandomArrayGenerator::generateQuads (int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max, float gridSize)
1475 char* RandomArrayGenerator::createQuadsPacked (int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitiv
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_tcl.c328 if (!VB->Primitive[i].count)
330 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE)
335 space_required += VB->Primitive[i].count * 3;
406 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]);
407 GLuint start = VB->Primitive[i].start;
408 GLuint length = VB->Primitive[i].count;
/external/skia/src/sksl/ir/
H A DSkSLLayout.h22 enum Primitive { enum in struct:SkSL::Layout
93 bool blendSupportAllEquations, Format format, bool pushconstant, Primitive primitive,
262 Primitive fPrimitive;
/external/mesa3d/src/mesa/tnl/
H A Dt_draw.c363 if (ib->type == GL_UNSIGNED_INT && VB->Primitive[0].basevertex == 0) {
373 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex;
378 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex;
383 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex;
395 VB->Primitive = prim;
H A Dt_vb_render.c309 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]);
310 GLuint start = VB->Primitive[i].start;
311 GLuint length = VB->Primitive[i].count;
H A Dt_context.h220 const struct _mesa_prim *Primitive; member in struct:vertex_buffer
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_tcl.c319 if (!VB->Primitive[i].count)
325 const GLuint elt_count =(VB->Primitive[i].count/GET_MAX_HW_ELTS() + 1);
329 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE)
468 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]);
469 GLuint start = VB->Primitive[i].start;
470 GLuint length = VB->Primitive[i].count;
/external/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectsource_test.cc77 using google::protobuf::testing::Primitive;
191 Primitive PrepareRepeatedPrimitive() {
192 Primitive primitive;
290 Primitive primitive;
324 DoTest(primitive, Primitive::descriptor());
328 Primitive primitive = PrepareRepeatedPrimitive();
340 DoTest(primitive, Primitive::descriptor());
390 // Protostream is packed, but parse with non-packed Primitive.
391 DoTest(PreparePackedPrimitive(), Primitive::descriptor());
H A Dprotostream_objectwriter_test.cc67 using google::protobuf::testing::Primitive;
268 Primitive full;
300 ResetTypeInfo(Primitive::descriptor());
368 Primitive full;
373 ResetTypeInfo(Primitive::descriptor());
401 Primitive full;
406 ResetTypeInfo(Primitive::descriptor());
/external/deqp/modules/gles2/functional/
H A Des2fDrawTests.cpp114 AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSpec::IndexType indexType, gls::DrawTestSpec::Storage indexStorage);
121 gls::DrawTestSpec::Primitive m_primitive;
126 AttributeGroup::AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSpec::IndexType indexType, gls::DrawTestSpec::Storage indexStorage)
441 const gls::DrawTestSpec::Primitive primitive[] =
521 static const gls::DrawTestSpec::Primitive primitives[] =
598 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);
/external/mesa3d/src/mesa/swrast/
H A Ds_context.h237 GLenum Primitive; /* current primitive being drawn (ala glBegin) */ member in struct:__anon15317
/external/mesa3d/src/mesa/x86/
H A Dgen_matypes.c133 OFFSET( "VB_PRIMITIVE ", struct vertex_buffer, Primitive );
/external/deqp/modules/gles3/functional/
H A Des3fDrawTests.cpp144 AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSpec::IndexType indexType, gls::DrawTestSpec::Storage indexStorage);
151 gls::DrawTestSpec::Primitive m_primitive;
156 AttributeGroup::AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSpec::IndexType indexType, gls::DrawTestSpec::Storage indexStorage)
542 const gls::DrawTestSpec::Primitive primitive[] =
933 static const gls::DrawTestSpec::Primitive primitives[] =
1033 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);
/external/deqp/modules/gles2/stress/
H A Des2sDrawTests.cpp235 gls::DrawTestSpec::Primitive primitives[] =
312 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);
/external/deqp/modules/gles31/stress/
H A Des31sDrawTests.cpp361 gls::DrawTestSpec::Primitive primitives[] =
447 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);

Completed in 569 milliseconds

12