Searched refs:model (Results 1 - 25 of 314) sorted by relevance

1234567891011>>

/xsrc/external/mit/mesa-demos/dist/src/objviewer/
H A Dglmdraw.c16 #define T(x) model->triangles[(x)]
19 /* glmDraw: Renders the model to the current OpenGL context using the
22 * model - initialized GLMmodel structure
34 glmDraw(GLMmodel* model, GLuint mode) argument
39 assert(model);
40 assert(model->vertices);
43 if (mode & GLM_FLAT && !model->facetnorms) {
48 if (mode & GLM_SMOOTH && !model->normals) {
53 if (mode & GLM_TEXTURE && !model->texcoords) {
63 if (mode & GLM_COLOR && !model
155 glmMakeVBOs(GLMmodel * model) argument
278 glmLoadTextures(GLMmodel * model) argument
290 glmDrawVBO(GLMmodel * model) argument
363 glmList(GLMmodel * model,GLuint mode) argument
494 glmSpecularTexture(GLMmodel * model,uint cubeTex) argument
[all...]
H A Dglm.h32 /* GLMmaterial: Structure that defines a material in a model.
49 /* GLMtriangle: Structure that defines a triangle in a model.
58 /* GLMgroup: Structure that defines a group in a model.
68 struct _GLMgroup* next; /* pointer to next group in model */
71 /* GLMmodel: Structure that defines a model.
74 char* pathname; /* path to this model */
77 uint numvertices; /* number of vertices in model */
80 uint numnormals; /* number of normals in model */
83 uint numtexcoords; /* number of texcoords in model */
86 uint numfacetnorms; /* number of facetnorms in model */
[all...]
H A Dglm.c30 #define T(x) model->triangles[(x)]
197 /* _glmFindGroup: Find a group in the model
200 _glmFindGroup(GLMmodel* model, char* name) argument
204 assert(model);
206 group = model->groups;
216 /* _glmAddGroup: Add a group to the model
219 _glmAddGroup(GLMmodel* model, char* name) argument
223 group = _glmFindGroup(model, name);
230 group->next = model->groups;
231 model
241 _glmFindMaterial(GLMmodel * model,char * name) argument
289 _glmReadMTL(GLMmodel * model,char * name) argument
435 _glmWriteMTL(GLMmodel * model,char * modelpath,char * mtllibname) argument
490 _glmFirstPass(GLMmodel * model,FILE * file) argument
635 _glmSecondPass(GLMmodel * model,FILE * file) argument
832 glmUnitize(GLMmodel * model) argument
896 glmDimensions(GLMmodel * model,float * dimensions) argument
938 glmScale(GLMmodel * model,float scale) argument
956 glmReverseWinding(GLMmodel * model) argument
1002 glmFacetNormals(GLMmodel * model) argument
1059 glmVertexNormals(GLMmodel * model,float angle) argument
1217 glmLinearTexture(GLMmodel * model) argument
1272 glmSpheremapTexture(GLMmodel * model) argument
1342 glmDelete(GLMmodel * model) argument
1402 GLMmodel* model; local in function:glmReadOBJ
1491 glmWriteOBJ(GLMmodel * model,char * filename,uint mode) argument
1662 glmWeld(GLMmodel * model,float epsilon) argument
1703 glmReIndex(GLMmodel * model) argument
1776 glmPrint(const GLMmodel * model) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_vulkan.h9 VkSamplerYcbcrModelConversion model,
H A Dnir_convert_ycbcr.c77 ycbcr_model_to_rgb_matrix(VkSamplerYcbcrModelConversion model) argument
79 switch (model) {
108 unreachable("missing Ycbcr model");
115 VkSamplerYcbcrModelConversion model,
127 if (model == VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY)
131 ycbcr_model_to_rgb_matrix(model);
114 nir_convert_ycbcr_to_rgb(nir_builder * b,VkSamplerYcbcrModelConversion model,VkSamplerYcbcrRange range,nir_ssa_def * raw_channels,uint32_t * bpcs) argument
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dspirv_info.h29 const char *spirv_addressingmodel_to_string(SpvAddressingModel model);
35 const char *spirv_executionmodel_to_string(SpvExecutionModel model);
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dspirv_info.h29 const char *spirv_addressingmodel_to_string(SpvAddressingModel model);
35 const char *spirv_executionmodel_to_string(SpvExecutionModel model);
/xsrc/external/mit/xorg-server.old/dist/test/
H A Dxkb.c66 g_assert(rmlvo.model);
71 g_assert(strcmp(rmlvo.model, XKB_DFLT_MODEL) == 0);
87 .model = "test-model",
99 g_assert(rmlvo.model != rmlvo_new.model);
105 g_assert(strcmp(rmlvo.model, rmlvo_new.model) == 0);
139 rmlvo_backup.model = strdup(rmlvo.model);
[all...]
/xsrc/external/mit/xorg-server/dist/test/
H A Dtest_xkb.c70 assert(rmlvo.model);
75 assert(strcmp(rmlvo.model, XKB_DFLT_MODEL) == 0);
93 XkbInitRules(&rmlvo, "test-rules", "test-model", "test-layout",
96 assert(rmlvo.model);
106 assert(rmlvo.model != rmlvo_new.model);
112 assert(strcmp(rmlvo.model, rmlvo_new.model) == 0);
148 rmlvo_backup.model = strdup(rmlvo.model);
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/config/
H A Ddmxconfig.h51 extern void dmxConfigSetXkbModel(const char *model);
/xsrc/external/mit/xorg-server/dist/include/
H A Dxkbrules.h34 char *model; member in struct:_XkbRMLVOSet
41 const char *model; member in struct:_XkbRF_VarDefs
51 const char *model; member in struct:_XkbRF_Rule
H A Dxkb-config.h.in11 /* Default XKB model. */
/xsrc/external/mit/xorg-server.old/dist/include/
H A Dxkbrules.h34 char * model; member in struct:_XkbRMLVOSet
41 char * model; member in struct:_XkbRF_VarDefs
51 char * model; member in struct:_XkbRF_Rule
H A Dxkb-config.h.in11 /* Default XKB model. */
/xsrc/external/mit/libdrm/dist/etnaviv/
H A Detnaviv_gpu.c60 gpu->model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL);
63 if (!gpu->model)
66 INFO_MSG(" GPU model: 0x%x (rev %x)", gpu->model, gpu->revision);
89 *value = gpu->model;
/xsrc/external/mit/MesaLib/dist/src/etnaviv/drm/
H A Detnaviv_gpu.c60 gpu->model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL);
63 if (!gpu->model)
66 INFO_MSG(" GPU model: 0x%x (rev %x)", gpu->model, gpu->revision);
89 *value = gpu->model;
/xsrc/external/mit/MesaLib/dist/src/etnaviv/drm-shim/
H A DREADME.md9 It is possible to select a specific GPU model by setting the ETNA_SHIM_GPU
/xsrc/external/mit/brotli/dist/c/enc/
H A Dbackward_references_hq.c76 /* Histogram based cost model for zopflification. */
384 const ZopfliCostModel* model, StartPosQueue* queue, ZopfliNode* nodes) {
389 if (node_cost <= ZopfliCostModelGetLiteralCosts(model, 0, pos)) {
394 ZopfliCostModelGetLiteralCosts(model, 0, pos);
407 const BackwardMatch* matches, const ZopfliCostModel* model,
424 starting_dist_cache, model, queue, nodes);
428 float min_cost = (posdata->cost + ZopfliCostModelGetMinCostCmd(model) +
429 ZopfliCostModelGetLiteralCosts(model, posdata->pos, pos));
441 ZopfliCostModelGetLiteralCosts(model, 0, pos);
482 ZopfliCostModelGetDistanceCost(model,
381 EvaluateNode(const size_t block_start,const size_t pos,const size_t max_backward_limit,const size_t gap,const int * starting_dist_cache,const ZopfliCostModel * model,StartPosQueue * queue,ZopfliNode * nodes) argument
402 UpdateNodes(const size_t num_bytes,const size_t block_start,const size_t pos,const uint8_t * ringbuffer,const size_t ringbuffer_mask,const BrotliEncoderParams * params,const size_t max_backward_limit,const int * starting_dist_cache,const size_t num_matches,const BackwardMatch * matches,const ZopfliCostModel * model,StartPosQueue * queue,ZopfliNode * nodes) argument
616 ZopfliIterate(size_t num_bytes,size_t position,const uint8_t * ringbuffer,size_t ringbuffer_mask,const BrotliEncoderParams * params,const size_t gap,const int * dist_cache,const ZopfliCostModel * model,const uint32_t * num_matches,const BackwardMatch * matches,ZopfliNode * nodes) argument
664 ZopfliCostModel model; local in function:BrotliZopfliComputeShortestPath
756 ZopfliCostModel model; local in function:BrotliCreateHqZopfliBackwardReferences
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_screen.h78 uint32_t model; member in struct:etna_screen
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_screen.h81 uint32_t model; member in struct:etna_screen
/xsrc/external/mit/libxkbfile/dist/include/X11/extensions/
H A DXKBrules.h33 char * model; member in struct:_XkbRF_VarDefs
58 char * model; member in struct:_XkbRF_Rule
/xsrc/external/mit/pixman/dist/demos/
H A Ddither.c159 GtkListStore *model; local in function:set_up_combo_box
163 model = gtk_list_store_new (1, G_TYPE_STRING);
171 gtk_combo_box_set_model (GTK_COMBO_BOX (widget), GTK_TREE_MODEL (model));
178 gtk_list_store_append (model, &iter);
179 gtk_list_store_set (model, &iter, 0, info->name, -1);
/xsrc/external/mit/xf86-input-synaptics/dist/src/
H A Dpsmcomm.c96 if (mhw.model == MOUSE_MODEL_SYNAPTICS) {
101 "%s Found no Synaptics, found Mouse model %d instead\n",
102 pInfo->name, mhw.model);
/xsrc/external/mit/setxkbmap/dist/
H A Dsetxkbmap.c105 setting_t model; member in struct:settings
123 { "keyboard model", NULL, UNDEFINED },
256 " -model <name> Specifies model used to choose component names\n"
278 if (settings.model.value)
279 MSG1("model: %s\n", settings.model.value);
450 else if (streq(argv[i], "-model"))
451 ok = setOptString(&i, argc, argv, &settings.model, FROM_CMD_LINE);
524 if (settings.model
[all...]
/xsrc/external/mit/xorg-server.old/dist/xkb/
H A Dmaprules.c204 "model", "layout", "variant", "option",
223 char * model; member in struct:__anonb47a79870308
446 rule->model= _XkbDupString(tmp.name[MODEL]);
499 mdefs->model = defs->model;
619 if (rule->model != NULL) {
620 if(mdefs->model == NULL)
622 if (strcmp(rule->model, "*") == 0) {
625 if (rule->model[0] == '$') {
626 if (!CheckGroup(rules, rule->model, mdef
[all...]

Completed in 16 milliseconds

1234567891011>>