Home
last modified time | relevance | path

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

12345678910>>...17

/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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()
/external/chromium_org/third_party/mesa/src/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()
/external/chromium_org/v8/test/webkit/
Darray-enumerators-functions.js72 var arrays = ["simpleArray", "emptyArray", "largeEmptyArray", "largeSparseArray"]; variable
83 for (var a = 0; a < arrays.length; a++) {
86 if (arrays[a] === "largeEmptyArray" && functionName === "map")
90 …shouldBe("count=0;lastIndex=-1;copyArray("+arrays[a]+")."+functionName+"(forwarders[f], "+testFunc…
91 …"count=0;lastIndex=-1;Array.prototype."+functionName+".call(toObject("+arrays[a]+"), forwarders[f]…
99 for (var a = 0; a < arrays.length; a++) {
102 if (arrays[a] === "largeEmptyArray" && functionName === "map")
106 …shouldBe("count=0;lastIndex=-1;copyArray("+arrays[a]+")."+functionName+"(forwarders[f], "+testFunc…
107 …0;lastIndex=-1;Array.prototype."+functionName+".call(toUnorderedObject("+arrays[a]+"), forwarders[…
133 for (var a = 0; a < arrays.length; a++) {
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/
DParallelSorter.java56 abstract public ParallelSorter newInstance(Object[] arrays); in newInstance() argument
66 public static ParallelSorter create(Object[] arrays) { in create() argument
68 gen.setArrays(arrays); in create()
257 private Object[] arrays; field in ParallelSorter.Generator
267 public void setArrays(Object[] arrays) { in setArrays() argument
268 this.arrays = arrays; in setArrays()
272 return (ParallelSorter)super.create(ClassesKey.create(arrays)); in create()
276 if (arrays.length == 0) { in generateClass()
279 for (int i = 0; i < arrays.length; i++) { in generateClass()
280 if (!arrays[i].getClass().isArray()) { in generateClass()
[all …]
DParallelSorterEmitter.java35 public ParallelSorterEmitter(ClassVisitor v, String className, Object[] arrays) { in ParallelSorterEmitter() argument
40 generateConstructor(arrays); in ParallelSorterEmitter()
41 generateSwap(arrays); in ParallelSorterEmitter()
49 private void generateConstructor(Object[] arrays) { in generateConstructor() argument
56 for (int i = 0; i < arrays.length; i++) { in generateConstructor()
57 Type type = Type.getType(arrays[i].getClass()); in generateConstructor()
70 private void generateSwap(final Object[] arrays) { in generateSwap() argument
72 for (int i = 0; i < arrays.length; i++) { in generateSwap()
73 Type type = Type.getType(arrays[i].getClass()); in generateSwap()
/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/chromium_org/ppapi/native_client/src/trusted/plugin/
Dsrpc_params.cc47 free(arg->arrays.carr); in FreeSrpcArg()
50 free(arg->arrays.darr); in FreeSrpcArg()
55 free(arg->arrays.iarr); in FreeSrpcArg()
58 free(arg->arrays.larr); in FreeSrpcArg()
64 free(arg->arrays.str); in FreeSrpcArg()
67 if (arg->arrays.varr) { in FreeSrpcArg()
69 FreeSrpcArg(&arg->arrays.varr[i]); in FreeSrpcArg()
/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 …]
/external/chromium_org/third_party/mesa/src/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 …]
/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/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 …]

12345678910>>...17