/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_renderer.c | 115 /* vertex elements state */ 128 float *vertex = r->buffer + r->buffer_size; local 130 vertex[0] = x; 131 vertex[1] = y; 132 vertex[2] = 0.f; /*z */ 133 vertex[3] = 1.f; /*w */ 135 vertex[4] = color[0]; /*r */ 136 vertex[5] = color[1]; /*g */ 137 vertex[6] = color[2]; /*b */ 138 vertex[7] = color[3]; /*a * 146 float *vertex = r->buffer + r->buffer_size; local 165 float *vertex = r->buffer + r->buffer_size; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup_vbuf.c | 30 * code. When the 'draw' module has finished filling a vertex buffer, the 64 /* Vertex size/info depends on the latest state. 197 /* emit first triangle vertex as first triangle vertex */ 207 /* emit last triangle vertex as last triangle vertex */ 219 /* emit first non-spoke vertex as first vertex */ 228 /* emit last non-spoke vertex as last vertex */ [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_prim_vbuf.c | 30 * code. When the 'draw' module has finished filling a vertex buffer, the 79 /** This tells the draw module about our desired vertex layout */ 219 /* emit first triangle vertex as first triangle vertex */ 229 /* emit last triangle vertex as last triangle vertex */ 241 /* emit first non-spoke vertex as first vertex */ 250 /* emit last non-spoke vertex as last vertex */ [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 115 /* vertex elements state */ 128 float *vertex = r->buffer + r->buffer_size; local 130 vertex[0] = x; 131 vertex[1] = y; 132 vertex[2] = 0.f; /*z */ 133 vertex[3] = 1.f; /*w */ 135 vertex[4] = color[0]; /*r */ 136 vertex[5] = color[1]; /*g */ 137 vertex[6] = color[2]; /*b */ 138 vertex[7] = color[3]; /*a * 146 float *vertex = r->buffer + r->buffer_size; local 165 float *vertex = r->buffer + r->buffer_size; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_renderer.c | 88 /* vertex elements state */ 104 float *vertex = r->buffer + r->buffer_size; local 106 vertex[0] = x; 107 vertex[1] = y; 108 vertex[2] = 0.f; /*z*/ 109 vertex[3] = 1.f; /*w*/ 111 vertex[4] = color[0]; /*r*/ 112 vertex[5] = color[1]; /*g*/ 113 vertex[6] = color[2]; /*b*/ 114 vertex[7] = color[3]; /*a* 123 float *vertex = r->buffer + r->buffer_size; local 188 float *vertex = r->buffer + r->buffer_size; local [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_renderer.c | 88 /* vertex elements state */ 104 float *vertex = r->buffer + r->buffer_size; local 106 vertex[0] = x; 107 vertex[1] = y; 108 vertex[2] = 0.f; /*z*/ 109 vertex[3] = 1.f; /*w*/ 111 vertex[4] = color[0]; /*r*/ 112 vertex[5] = color[1]; /*g*/ 113 vertex[6] = color[2]; /*b*/ 114 vertex[7] = color[3]; /*a* 123 float *vertex = r->buffer + r->buffer_size; local 188 float *vertex = r->buffer + r->buffer_size; local [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLVertexArray.h | 47 * This sets and tracks the vertex attribute array state. It is used internally by GrGLVertexArray 48 * (below) but is separate because it is also used to track the state of vertex array object 0. 64 * This function enables and sets vertex attrib state for the specified attrib index. It is 65 * assumed that the GrGLAttribArrayState is tracking the state of the currently bound vertex 78 * This function disables vertex attribs not present in the mask. It is assumed that the 79 * GrGLAttribArrayState is tracking the state of the currently bound vertex array object. 130 * This class represents an OpenGL vertex array object. It manages the lifetime of the vertex array 131 * and is used to track the state of the vertex array to avoid redundant GL calls. 138 * Binds this vertex array. If the ID has been deleted or abandoned then NULL is returned [all...] |
/external/skia/src/gpu/effects/ |
GrVertexEffect.h | 14 * If an effect needs specialized vertex shader code, then it must inherit from this class. 15 * Otherwise it won't be able to add vertex attribs, and it might be given a vertexless shader 24 * Subclasses call this from their constructor to register vertex attributes (at most
|
/external/skia/src/gpu/gl/ |
GrGLVertexArray.h | 47 * This sets and tracks the vertex attribute array state. It is used internally by GrGLVertexArray 48 * (below) but is separate because it is also used to track the state of vertex array object 0. 64 * This function enables and sets vertex attrib state for the specified attrib index. It is 65 * assumed that the GrGLAttribArrayState is tracking the state of the currently bound vertex 78 * This function disables vertex attribs not present in the mask. It is assumed that the 79 * GrGLAttribArrayState is tracking the state of the currently bound vertex array object. 130 * This class represents an OpenGL vertex array object. It manages the lifetime of the vertex array 131 * and is used to track the state of the vertex array to avoid redundant GL calls. 138 * Binds this vertex array. If the ID has been deleted or abandoned then NULL is returned [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
VertexFrame.java | 37 throw new IllegalArgumentException("Initializing vertex frame with zero size!"); 40 throw new RuntimeException("Could not allocate vertex frame!"); 58 throw new RuntimeException("Vertex frames do not support reading data!"); 65 throw new RuntimeException("Could not set int values for vertex frame!"); 71 throw new RuntimeException("Vertex frames do not support reading data!"); 78 throw new RuntimeException("Could not set int values for vertex frame!"); 84 throw new RuntimeException("Vertex frames do not support reading data!"); 92 throw new RuntimeException("Data size in setData does not match vertex frame size!"); 94 throw new RuntimeException("Could not set vertex frame data!"); 100 throw new RuntimeException("Vertex frames do not support reading data!") [all...] |
/external/deqp/modules/gles2/functional/ |
es2fRandomShaderTests.cpp | 38 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, bool fragment) 43 params.vertexParameters.randomize = vertex; 61 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests"); 72 vertexGroup->addChild(createRandomShaderCase(m_context, "Random expressions in vertex shader", params, seed, true, false)); 74 combinedGroup->addChild(createRandomShaderCase(m_context, "Random expressions in vertex and fragment shaders", params, seed, true, true)); 92 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests"); 103 vertexGroup->addChild(createRandomShaderCase(m_context, "Scalar conversions in vertex shader", params, seed, true, false)); 105 combinedGroup->addChild(createRandomShaderCase(m_context, "Scalar conversions in vertex and fragment shaders", params, seed, true, true)) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fRandomShaderTests.cpp | 39 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, bool fragment) 45 params.vertexParameters.randomize = vertex; 63 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests"); 74 vertexGroup->addChild(createRandomShaderCase(m_context, "Random expressions in vertex shader", params, seed, true, false)); 76 combinedGroup->addChild(createRandomShaderCase(m_context, "Random expressions in vertex and fragment shaders", params, seed, true, true)); 94 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests"); 105 vertexGroup->addChild(createRandomShaderCase(m_context, "Scalar conversions in vertex shader", params, seed, true, false)); 107 combinedGroup->addChild(createRandomShaderCase(m_context, "Scalar conversions in vertex and fragment shaders", params, seed, true, true)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/docs/source/cso/ |
velems.rst | 3 Vertex Elements 13 Gallium supports a diverse range of formats for vertex data. Drivers are 21 At this time, support for varied vertex data formats is limited by driver 36 Vertex position may be specified with two to four components. Using less than 50 vertex_buffer_index for the first vertex. 53 0 means this is per-vertex data, n means per-instance data used for 56 The vertex buffer this attribute lives in. Several attributes may 57 live in the same vertex buffer.
|
/external/mesa3d/src/gallium/docs/source/cso/ |
velems.rst | 3 Vertex Elements 13 Gallium supports a diverse range of formats for vertex data. Drivers are 21 At this time, support for varied vertex data formats is limited by driver 36 Vertex position may be specified with two to four components. Using less than 50 vertex_buffer_index for the first vertex. 53 0 means this is per-vertex data, n means per-instance data used for 56 The vertex buffer this attribute lives in. Several attributes may 57 live in the same vertex buffer.
|
/external/deqp/data/gles2/shaders/ |
linkage.test | 1 # not declared in vertex shader, declared in fragment shader 3 desc "varying declared in fragment shader, no reference in vertex shader" 5 vertex "" 24 # declared in vertex shader, no reference in frag shader 26 desc "varying declared in vertex shader, no reference in fragment shader" 27 vertex "" 43 # declared in vertex shader, declared in frag shader 45 desc "varying declared in both vertex and fragment shader, but not used" 46 vertex "" 63 # declared in vertex shader, static use in frag shade [all...] |
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/ |
AndroidPathRenderer.h | 13 #include "Vertex.h" 65 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices); 76 SkTArray<Vertex, true>* outputVertices); 88 SkTArray<Vertex, true>* outputVertices);
|
/external/skia/experimental/AndroidPathRenderer/ |
AndroidPathRenderer.h | 13 #include "Vertex.h" 65 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices); 76 SkTArray<Vertex, true>* outputVertices); 88 SkTArray<Vertex, true>* outputVertices);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLWorld.java | 50 GLVertex vertex = iter2.next(); local 51 vertex.put(mVertexBuffer, mColorBuffer); 62 GLVertex vertex = new GLVertex(x, y, z, mVertexList.size()); local 63 mVertexList.add(vertex); 64 return vertex; 67 public void transformVertex(GLVertex vertex, M4 transform) { 68 vertex.update(mVertexBuffer, transform);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
renderer11_utils.h | 69 void SetPositionTexCoordVertex(PositionTexCoordVertex* vertex, float x, float y, float u, float v); 77 void SetPositionLayerTexCoord3DVertex(PositionLayerTexCoord3DVertex* vertex, float x, float y, 88 void SetPositionDepthColorVertex(PositionDepthColorVertex<T>* vertex, float x, float y, float z, 91 vertex->x = x; 92 vertex->y = y; 93 vertex->z = z; 94 vertex->r = color.red; 95 vertex->g = color.green; 96 vertex->b = color.blue; 97 vertex->a = color.alpha [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_draw_quad.c | 38 * Draw a simple vertex buffer / primitive. 39 * Limited to float[4] vertex attribs, tightly packed. 54 /* tell pipe about the vertex buffer */ 57 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ 60 /* note: vertex elements already set by caller */ 73 * Draw a simple vertex buffer / primitive. 74 * Limited to float[4] vertex attribs, tightly packed. 85 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ 87 /* note: vertex elements already set by caller */ 112 * Load vertex buffe [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_draw_quad.c | 38 * Draw a simple vertex buffer / primitive. 39 * Limited to float[4] vertex attribs, tightly packed. 54 /* tell pipe about the vertex buffer */ 57 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ 60 /* note: vertex elements already set by caller */ 73 * Draw a simple vertex buffer / primitive. 74 * Limited to float[4] vertex attribs, tightly packed. 85 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ 87 /* note: vertex elements already set by caller */ 112 * Load vertex buffe [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
GrGeometryProcessor.h | 15 * A GrGeomteryProcessor is used to perform computation in the vertex shader and 16 * add support for custom vertex attributes. A GrGemeotryProcessor is typically 20 * a draw. The custom vertex attributes required by the geometry processor must be 21 * added to the vertex attribute array specified on the GrDrawState. 42 * Subclasses call this from their constructor to register vertex attributes (at most
|
/external/deqp/framework/referencerenderer/ |
rrVertexPacket.hpp | 23 * \brief Vertex packet and Vertex packet allocator 38 * \brief Vertex packet 40 * Vertex packet contains inputs and outputs for vertex shading. 42 * Inputs consist of per-vertex vertex and instance indices. Attribute 57 int vertexNdx; //!< Vertex index. 64 GenericVec4 outputs[1]; //!< Generic vertex shader outputs - passed to subsequent shader stages. Array length is the number of outputs. 82 * \brief Vertex packet allocato [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_gs_emit.c | 51 * 1 needs to be set aside to hold the streamed vertex buffer indices. 65 /* Streamed vertex buffer indices */ 72 c->reg.vertex[j] = brw_vec4_grf(i, 0); 114 * need to be able to update on a per-vertex basis. 144 * for each vertex. 155 * Emit a vertex using the URB_WRITE message. Use the contents of 157 * for the vertex data. 159 * If \c last is true, then this is the last vertex, so no further URB space 173 /* Copy the vertex from vertn into m1..mN+1: 177 /* Send each vertex as a seperate write to the urb. This i 361 unsigned vertex, binding; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_gs_emit.c | 51 * 1 needs to be set aside to hold the streamed vertex buffer indices. 65 /* Streamed vertex buffer indices */ 72 c->reg.vertex[j] = brw_vec4_grf(i, 0); 114 * need to be able to update on a per-vertex basis. 144 * for each vertex. 155 * Emit a vertex using the URB_WRITE message. Use the contents of 157 * for the vertex data. 159 * If \c last is true, then this is the last vertex, so no further URB space 173 /* Copy the vertex from vertn into m1..mN+1: 177 /* Send each vertex as a seperate write to the urb. This i 361 unsigned vertex, binding; local [all...] |