Home
last modified time | relevance | path

Searched refs:arrays (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/external/mesa3d/src/glx/
Dindirect_vertex_array.c78 const struct array_state_vector *arrays,
81 const struct array_state_vector *arrays,
84 *arrays, GLenum key,
86 static void fill_array_info_cache(struct array_state_vector *arrays);
115 struct array_state_vector *arrays = state->array_state; in __glXFreeVertexArrayState() local
117 if (arrays) { in __glXFreeVertexArrayState()
118 if (arrays->stack) { in __glXFreeVertexArrayState()
119 free(arrays->stack); in __glXFreeVertexArrayState()
120 arrays->stack = NULL; in __glXFreeVertexArrayState()
122 if (arrays->arrays) { in __glXFreeVertexArrayState()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c56 const struct gl_client_array **arrays) in vbo_init_arrays() argument
67 const struct gl_client_array *array = arrays[attr]; in vbo_init_arrays()
79 const struct gl_client_array **arrays) in vbo_deinit_arrays() argument
103 vbo_choose_render_mode(struct gl_context *ctx, const struct gl_client_array **arrays) in vbo_choose_render_mode() argument
112 if (arrays[VERT_ATTRIB_GENERIC0 + i]->StrideB) { in vbo_choose_render_mode()
121 vbo_emit_attr(struct gl_context *ctx, const struct gl_client_array **arrays, in vbo_emit_attr() argument
126 const struct gl_client_array *array = arrays[attr]; in vbo_emit_attr()
161 vbo_choose_attrs(struct gl_context *ctx, const struct gl_client_array **arrays) in vbo_choose_attrs() argument
170 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_COLOR0); in vbo_choose_attrs()
172 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_COLOR1); in vbo_choose_attrs()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_save.c66 struct gl_client_array *arrays = save->arrays; in vbo_save_init() local
69 memcpy(arrays, &vbo->currval[VBO_ATTRIB_POS], in vbo_save_init()
70 VERT_ATTRIB_FF_MAX * sizeof(arrays[0])); in vbo_save_init()
73 array = &arrays[VERT_ATTRIB_FF(i)]; in vbo_save_init()
75 _mesa_reference_buffer_object(ctx, &arrays->BufferObj, in vbo_save_init()
79 memcpy(arrays + VERT_ATTRIB_GENERIC(0), in vbo_save_init()
81 VERT_ATTRIB_GENERIC_MAX * sizeof(arrays[0])); in vbo_save_init()
85 array = &arrays[VERT_ATTRIB_GENERIC(i)]; in vbo_save_init()
116 _mesa_reference_buffer_object(ctx, &save->arrays[i].BufferObj, NULL); in vbo_save_destroy()
Dvbo_context.c50 struct gl_client_array *arrays = &vbo->currval[VBO_ATTRIB_POS]; in init_legacy_currval() local
53 memset(arrays, 0, sizeof(*arrays) * VERT_ATTRIB_FF_MAX); in init_legacy_currval()
59 struct gl_client_array *cl = &arrays[i]; in init_legacy_currval()
80 struct gl_client_array *arrays = &vbo->currval[VBO_ATTRIB_GENERIC0]; in init_generic_currval() local
83 memset(arrays, 0, sizeof(*arrays) * VERT_ATTRIB_GENERIC_MAX); in init_generic_currval()
86 struct gl_client_array *cl = &arrays[i]; in init_generic_currval()
107 struct gl_client_array *arrays = in init_mat_currval() local
113 memset(arrays, 0, sizeof(*arrays) * NR_MAT_ATTRIBS); in init_mat_currval()
119 struct gl_client_array *cl = &arrays[i]; in init_mat_currval()
Dvbo_save_draw.c139 struct gl_client_array *arrays = save->arrays; in vbo_bind_vertex_list() local
200 save->inputs[attr] = &arrays[attr]; in vbo_bind_vertex_list()
202 arrays[attr].Ptr = (const GLubyte *) NULL + buffer_offset; in vbo_bind_vertex_list()
203 arrays[attr].Size = node_attrsz[src]; in vbo_bind_vertex_list()
204 arrays[attr].StrideB = node->vertex_size * sizeof(GLfloat); in vbo_bind_vertex_list()
205 arrays[attr].Stride = node->vertex_size * sizeof(GLfloat); in vbo_bind_vertex_list()
206 arrays[attr].Type = node_attrtype[src]; in vbo_bind_vertex_list()
207 arrays[attr].Integer = in vbo_bind_vertex_list()
209 arrays[attr].Format = GL_RGBA; in vbo_bind_vertex_list()
210 arrays[attr].Enabled = 1; in vbo_bind_vertex_list()
[all …]
Dvbo_exec_draw.c165 struct gl_client_array *arrays = exec->vtx.arrays; in vbo_exec_bind_arrays() local
227 ASSERT(attr < Elements(exec->vtx.arrays)); /* arrays[] */ in vbo_exec_bind_arrays()
228 exec->vtx.inputs[attr] = &arrays[attr]; in vbo_exec_bind_arrays()
234 arrays[attr].Ptr = (GLubyte *)exec->vtx.bufferobj->Offset + offset; in vbo_exec_bind_arrays()
238 arrays[attr].Ptr = (GLubyte *)exec->vtx.buffer_map + offset; in vbo_exec_bind_arrays()
240 arrays[attr].Size = exec->vtx.attrsz[src]; in vbo_exec_bind_arrays()
241 arrays[attr].StrideB = exec->vtx.vertex_size * sizeof(GLfloat); in vbo_exec_bind_arrays()
242 arrays[attr].Stride = exec->vtx.vertex_size * sizeof(GLfloat); in vbo_exec_bind_arrays()
243 arrays[attr].Type = exec->vtx.attrtype[src]; in vbo_exec_bind_arrays()
244 arrays[attr].Integer = in vbo_exec_bind_arrays()
[all …]
Dvbo_rebase.c76 GLboolean vbo_all_varyings_in_vbos( const struct gl_client_array *arrays[] ) in REBASE()
81 if (arrays[i]->StrideB && in REBASE()
82 arrays[i]->BufferObj->Name == 0) in REBASE()
88 GLboolean vbo_any_varyings_in_vbos( const struct gl_client_array *arrays[] ) in vbo_any_varyings_in_vbos() argument
93 if (arrays[i]->BufferObj->Name != 0) in vbo_any_varyings_in_vbos()
119 const struct gl_client_array *arrays[], in vbo_rebase_prims() argument
223 tmp_arrays[i] = *arrays[i]; in vbo_rebase_prims()
Dvbo_split.c102 const struct gl_client_array *arrays[], in vbo_split_prims() argument
137 vbo_split_copy(ctx, arrays, prim, nr_prims, ib, in vbo_split_prims()
145 vbo_split_inplace(ctx, arrays, prim, nr_prims, ib, in vbo_split_prims()
159 vbo_split_inplace(ctx, arrays, prim, nr_prims, ib, in vbo_split_prims()
Dvbo_split_copy.c141 const struct gl_client_array **arrays, in dump_draw_info() argument
156 printf(" array %d at %p:\n", j, (void*) arrays[j]); in dump_draw_info()
158 arrays[j]->Enabled, arrays[j]->Ptr, in dump_draw_info()
159 arrays[j]->Size, arrays[j]->Type, arrays[j]->StrideB); in dump_draw_info()
162 GLfloat *last = (GLfloat *) (arrays[j]->Ptr + arrays[j]->Stride * k); in dump_draw_info()
592 const struct gl_client_array *arrays[], in vbo_split_copy() argument
620 copy.array = arrays; in vbo_split_copy()
Dvbo.h102 const struct gl_client_array *arrays[],
114 GLboolean vbo_all_varyings_in_vbos( const struct gl_client_array *arrays[] );
115 GLboolean vbo_any_varyings_in_vbos( const struct gl_client_array *arrays[] );
118 const struct gl_client_array *arrays[],
/external/deqp/doc/testspecs/GLES31/
Dfunctional.shaders.arrays_of_arrays.txt19 Arrays of arrays tests
30 + Arrays of arrays of 2, 3, and more levels
33 + Arrays of arrays as function return types
34 + Arrays of arrays as function in, out, and inout parameters
35 + Accessing arrays of arrays
36 - Indexing arrays of arrays with constant and dynamic expressions
41 + Arrays of arrays in function overloading
42 - Tests to verify that different sized arrays of arrays can be used to
47 - Multi-level SSBO/UBO instance arrays
48 + Arrays of arrays inside SSBOs, UBOs
/external/deqp/data/gles31/shaders/
Darrays_of_arrays.test1 #X1. Constructor tests test constructing arrays of arrays with different declaration syntax and dat…
2 #X2. Return value tests test arrays of arrays as function return values.
3 #X3. Parameter tests test arrays of arrays as different types of function parameters (in, out, unna…
4 #X4. Implicit size tests test constructing arrays of arrays with implicit size.
5 #X5. Assignment tests test assigning an array of arrays to another array of arrays variable.
6 #X6. Length tests test the length method of arrays of arrays.
9 group constructor "Array of arrays constructors"
14 desc "Testing constructing explicitly sized arrays of arrays"
41 desc "Testing constructing explicitly sized arrays of arrays"
68 desc "Testing constructing explicitly sized arrays of arrays"
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c112 const struct gl_client_array **arrays = ctx->Array._DrawArrays; in st_feedback_draw_vbo() local
147 low_addr = arrays[vp->index_to_input[0]]->Ptr; in st_feedback_draw_vbo()
150 const GLubyte *start = arrays[vp->index_to_input[attr]]->Ptr; in st_feedback_draw_vbo()
160 struct gl_buffer_object *bufobj = arrays[mesaAttr]->BufferObj; in st_feedback_draw_vbo()
175 velements[attr].src_offset = arrays[mesaAttr]->Ptr - low_addr; in st_feedback_draw_vbo()
185 vbuffers[attr].user_buffer = arrays[mesaAttr]->Ptr; in st_feedback_draw_vbo()
193 vbuffers[attr].stride = arrays[mesaAttr]->StrideB; /* in bytes */ in st_feedback_draw_vbo()
197 st_pipe_vertex_format(arrays[mesaAttr]->Type, in st_feedback_draw_vbo()
198 arrays[mesaAttr]->Size, in st_feedback_draw_vbo()
199 arrays[mesaAttr]->Format, in st_feedback_draw_vbo()
[all …]
Dst_atom_array.c312 const struct gl_client_array **arrays) in is_interleaved_arrays() argument
322 const struct gl_client_array *array = arrays[mesaAttr]; in is_interleaved_arrays()
361 const struct gl_client_array **arrays, in setup_interleaved_attribs() argument
376 const struct gl_client_array *array = arrays[mesaAttr0]; in setup_interleaved_attribs()
385 low_addr = arrays[vp->index_to_input[0]]->Ptr; in setup_interleaved_attribs()
388 const GLubyte *start = arrays[vp->index_to_input[attr]]->Ptr; in setup_interleaved_attribs()
404 const struct gl_client_array *array = arrays[mesaAttr]; in setup_interleaved_attribs()
464 const struct gl_client_array **arrays, in setup_non_interleaved_attribs() argument
473 const struct gl_client_array *array = arrays[mesaAttr]; in setup_non_interleaved_attribs()
533 const struct gl_client_array **arrays = ctx->Array._DrawArrays; in update_array() local
[all …]
Dst_draw.c72 all_varyings_in_vbos(const struct gl_client_array *arrays[]) in all_varyings_in_vbos() argument
77 if (arrays[i]->StrideB && in all_varyings_in_vbos()
78 !arrays[i]->InstanceDivisor && in all_varyings_in_vbos()
79 !_mesa_is_bufferobj(arrays[i]->BufferObj)) in all_varyings_in_vbos()
202 const struct gl_client_array **arrays = ctx->Array._DrawArrays; in st_draw_vbo() local
228 if (!all_varyings_in_vbos(arrays)) in st_draw_vbo()
Dst_atom.c131 const struct gl_client_array **arrays = st->ctx->Array._DrawArrays; in check_attrib_edgeflag() local
134 if (!arrays) in check_attrib_edgeflag()
137 vertDataEdgeFlags = arrays[VERT_ATTRIB_EDGEFLAG]->BufferObj && in check_attrib_edgeflag()
138 arrays[VERT_ATTRIB_EDGEFLAG]->BufferObj->Name; in check_attrib_edgeflag()
/external/deqp/modules/gles2/functional/
Des2fVertexArrayTest.cpp103 spec.arrays.push_back(arraySpec); in init()
173 spec.arrays.push_back(arraySpec); in init()
244 spec.arrays.push_back(arraySpec); in init()
312 spec.arrays.push_back(arraySpec); in init()
375 spec.arrays.push_back(arraySpec); in init()
440 spec.arrays.push_back(arraySpec); in init()
511 << spec.arrays.size(); in getTestName()
542 spec.arrays.push_back(arraySpec); in init()
581 << spec.arrays.size(); in getTestName()
583 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormatSymbols.java1567 Map<String, String[]> arrays = new TreeMap<String, String[]>(); field in DateFormatSymbols.CalendarDataSink
1631 if (!arrays.containsKey(keyString) && !maps.containsKey(keyString)) { in put()
1645 if (!keyString.endsWith("%variant") && !arrays.containsKey(keyString)) { in put()
1647 arrays.put(keyString, dataArray); in put()
1667 if (arrays.containsKey(alias)) { in put()
1668 arrays.put(aliasPathPairs.get(i + 1), arrays.get(alias)); in put()
1732 if (arrays.containsKey(currentPath) in processResource()
1747 arrays.put(currentPath, dataArray); in processResource()
1863 Map<String, String[]> arrays = calendarSink.arrays; in initializeData() local
1866 eras = arrays.get("eras/abbreviated"); in initializeData()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormatSymbols.java1608 Map<String, String[]> arrays = new TreeMap<String, String[]>(); field in DateFormatSymbols.CalendarDataSink
1672 if (!arrays.containsKey(keyString) && !maps.containsKey(keyString)) { in put()
1686 if (!keyString.endsWith("%variant") && !arrays.containsKey(keyString)) { in put()
1688 arrays.put(keyString, dataArray); in put()
1708 if (arrays.containsKey(alias)) { in put()
1709 arrays.put(aliasPathPairs.get(i + 1), arrays.get(alias)); in put()
1773 if (arrays.containsKey(currentPath) in processResource()
1788 arrays.put(currentPath, dataArray); in processResource()
1904 Map<String, String[]> arrays = calendarSink.arrays; in initializeData() local
1907 eras = arrays.get("eras/abbreviated"); in initializeData()
[all …]
/external/eigen/doc/
DTutorialArrayClass.dox12 The Array class provides general-purpose arrays, as opposed to the Matrix class which
15 such as adding a constant to every coefficient in the array or multiplying two arrays coefficient-w…
28 …me slight differences, as the word "array" is used for both 1-dimensional and 2-dimensional arrays.
29 We adopt the convention that typedefs of the form ArrayNt stand for 1-dimensional arrays, where N a…
30 …the Matrix typedefs explained on \ref TutorialMatrixClass "this page". For 2-dimensional arrays, we
60 Furthermore, the \c << operator can be used to initialize arrays (via the comma initializer) or to …
76 Adding and subtracting two arrays is the same as for matrices.
77 The operation is valid if both arrays have the same size, and the addition or subtraction is done c…
94 … course you can multiply an array by a scalar, this works in the same way as matrices. Where arrays
96 multiplication as matrix product and arrays interpret multiplication as coefficient-wise product. T…
[all …]
/external/deqp/modules/gles3/functional/
Des3fVertexArrayTest.cpp102 spec.arrays.push_back(arraySpec); in init()
207 spec.arrays.push_back(arraySpec); in init()
310 spec.arrays.push_back(arraySpec); in init()
411 spec.arrays.push_back(arraySpec); in init()
505 spec.arrays.push_back(arraySpec); in init()
621 spec.arrays.push_back(arraySpec); in init()
724 << spec.arrays.size(); in getTestName()
755 spec.arrays.push_back(arraySpec); in init()
794 << spec.arrays.size(); in getTestName()
796 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.shaders.arrays.txt22 + dEQP-GLES3.functional.shaders.arrays.*
30 + Negative tests for illegal multi-dimensional arrays
37 Array tests receive input values and construct different type arrays to
40 Negative tests verify that multidimensional arrays cannot be defined,
41 arrays cannot be formed using C-style array syntax and that given array
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp749 … ContextShaderProgram (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
755 … genVertexSource (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
760 …createProgramDeclaration (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
766 …ram::ContextShaderProgram (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays) in ContextShaderProgram() argument
767 : sglr::ShaderProgram (createProgramDeclaration(ctx, arrays)) in ContextShaderProgram()
768 , m_componentCount (arrays.size()) in ContextShaderProgram()
769 , m_attrType (arrays.size()) in ContextShaderProgram()
771 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in ContextShaderProgram()
773 m_componentCount[arrayNdx] = getComponentCount(arrays[arrayNdx]->getOutputType()); in ContextShaderProgram()
774 m_attrType[arrayNdx] = mapOutputType(arrays[arrayNdx]->getOutputType()); in ContextShaderProgram()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c262 const struct gl_client_array *arrays[]) in brw_merge_inputs() argument
277 brw->vb.inputs[i].glarray = arrays[i]; in brw_merge_inputs()
280 if (arrays[i]->StrideB != 0) in brw_merge_inputs()
410 const struct gl_client_array *arrays[], in brw_try_draw_prims() argument
445 brw_merge_inputs( brw, arrays ); in brw_try_draw_prims()
546 const struct gl_client_array **arrays = ctx->Array._DrawArrays; in brw_draw_prims() local
557 if (!vbo_all_varyings_in_vbos(arrays)) { in brw_draw_prims()
564 if (min_index != 0 && !vbo_any_varyings_in_vbos(arrays)) { in brw_draw_prims()
565 vbo_rebase_prims(ctx, arrays, in brw_draw_prims()
581 _tnl_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index); in brw_draw_prims()
[all …]
/external/mesa3d/src/mesa/main/
Darrayobj.c483 gen_vertex_arrays(struct gl_context *ctx, GLsizei n, GLuint *arrays) in gen_vertex_arrays() argument
494 if (!arrays) { in gen_vertex_arrays()
511 arrays[i] = first + i; in gen_vertex_arrays()
521 _mesa_GenVertexArrays(GLsizei n, GLuint *arrays) in _mesa_GenVertexArrays() argument
524 gen_vertex_arrays(ctx, n, arrays); in _mesa_GenVertexArrays()
533 _mesa_GenVertexArraysAPPLE(GLsizei n, GLuint *arrays) in _mesa_GenVertexArraysAPPLE() argument
536 gen_vertex_arrays(ctx, n, arrays); in _mesa_GenVertexArraysAPPLE()

12345678910>>...18