| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_resource.c | 48 unsigned slices; local 51 slices = 6; 53 slices = depth; 55 slices = res->array_size; 58 util_format_get_stride(res->format, width) * slices * samples);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_resource.c | 48 unsigned slices; local 51 slices = 6; 53 slices = depth; 55 slices = res->array_size; 58 util_format_get_stride(res->format, width) * slices * samples);
|
| /xsrc/external/mit/glu/dist/src/libutil/ |
| quad.c | 151 GLdouble height, GLint slices, GLint stacks) 170 if (slices >= CACHE_SIZE) slices = CACHE_SIZE-1; 172 if (slices < 2 || stacks < 1 || baseRadius < 0.0 || topRadius < 0.0 || 206 for (i = 0; i < slices; i++) { 207 angle = 2 * PI * i / slices; 222 for (i = 0; i < slices; i++) { 223 angle = 2 * PI * (i-0.5) / slices; 234 sinCache[slices] = sinCache[0]; 235 cosCache[slices] = cosCache[0] [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/fdl/ |
| fd_layout_test.c | 43 while (max_size > 1 && testcase->layout.slices[mip_levels].pitch) { 68 if (layout.ubwc && !testcase->layout.slices[0].offset) { 70 layout.slices[l].offset -= layout.slices[0].offset; 71 layout.slices[0].offset = 0; 75 if (layout.slices[l].offset != testcase->layout.slices[l].offset) { 79 layout.slices[l].offset, testcase->layout.slices[l].offset); 82 if (fdl_pitch(&layout, l) != testcase->layout.slices[l].pitch) [all...] |
| fd_layout_test.h | 39 } slices[FDL_MAX_MIP_LEVELS]; member in struct:testcase::__anon921
|
| fd6_layout_test.c | 42 .slices = 65 .slices = 106 .slices = { 132 .slices = 151 .slices = 170 .slices = 191 .slices = 210 .slices = 229 .slices = 252 .slices [all...] |
| fd5_layout_test.c | 45 .slices = 70 .slices = 91 .slices =
|
| freedreno_layout.c | 60 level < ARRAY_SIZE(layout->slices) && layout->slices[level].size0; 62 struct fdl_slice *slice = &layout->slices[level];
|
| fd5_layout.c | 53 * layer (since in fact the layer contains the slices) 64 struct fdl_slice *slice = &layout->slices[level]; 95 (level > 1 && layout->slices[level - 1].size0 > 0xf000))) 100 slice->size0 = layout->slices[level - 1].size0;
|
| freedreno_layout.h | 97 struct fdl_slice slices[FDL_MAX_MIP_LEVELS]; member in struct:fdl_layout 166 return layout->slices[level].size0; 189 const struct fdl_slice *slice = &layout->slices[level];
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| s_texture.c | 76 /* For 1D array textures, the slices are all 1 pixel high, and Height is 77 * the number of slices. 94 GLuint slices = texture_slices(texImage); local 104 swImg->Buffer = align_malloc(bytesPerSlice * slices, 512); 112 for (i = 0; i < slices; i++) { 274 unsigned int i, slices; local 294 slices = texture_slices(texImage); 296 for (i = 0; i < slices; i++) { 334 unsigned int i, slices; local 345 slices = texture_slices(texImage) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| s_texture.c | 74 /* For 1D array textures, the slices are all 1 pixel high, and Height is 75 * the number of slices. 92 GLuint slices = texture_slices(texImage); local 102 swImg->Buffer = _mesa_align_malloc(bytesPerSlice * slices, 512); 110 for (i = 0; i < slices; i++) { 272 unsigned int i, slices; local 292 slices = texture_slices(texImage); 294 for (i = 0; i < slices; i++) { 332 unsigned int i, slices; local 343 slices = texture_slices(texImage) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| v3dvx_image.c | 77 (image->slices[0].tiling == V3D_TILING_UIF_XOR || 78 image->slices[0].tiling == V3D_TILING_UIF_NO_XOR); 80 tex.level_0_xor_enable = (image->slices[0].tiling == V3D_TILING_UIF_XOR); 83 tex.level_0_ub_pad = image->slices[0].ub_pad;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/ |
| vc4_resource.c | 51 rsc->slices[0].size, 52 rsc->slices[0].offset, 53 rsc->slices[0].offset + 54 rsc->slices[0].size + 59 rsc->slices[0].offset + 60 rsc->slices[0].size + 81 struct vc4_resource_slice *slice = &rsc->slices[ptrans->level]; 182 struct vc4_resource_slice *slice = &rsc->slices[level]; 245 struct vc4_resource_slice *slice = &rsc->slices[level]; 305 whandle->stride = rsc->slices[0].stride [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| pan_resource.h | 52 struct panfrost_slice slices[MAX_MIP_LEVELS]; member in struct:panfrost_bo
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/ |
| vc4_resource.c | 52 rsc->slices[0].size, 53 rsc->slices[0].offset, 54 rsc->slices[0].offset + 55 rsc->slices[0].size + 60 rsc->slices[0].offset + 61 rsc->slices[0].size + 82 struct vc4_resource_slice *slice = &rsc->slices[ptrans->level]; 183 struct vc4_resource_slice *slice = &rsc->slices[level]; 246 struct vc4_resource_slice *slice = &rsc->slices[level]; 297 whandle->stride = rsc->slices[0].stride [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/ |
| v3d_resource.c | 70 struct v3d_resource_slice *slice = &rsc->slices[i]; 122 struct v3d_resource_slice *slice = &rsc->slices[ptrans->level]; 293 struct v3d_resource_slice *slice = &rsc->slices[level]; 351 struct v3d_resource_slice *slice = &rsc->slices[level]; 406 assert(rsc->slices[0].tiling == V3D_TILING_UIF_XOR || 407 rsc->slices[0].tiling == V3D_TILING_UIF_NO_XOR); 425 whandle->stride = rsc->slices[0].stride; 441 whandle->stride = rsc->slices[0].stride; 467 *value = rsc->slices[level].stride; 563 struct v3d_resource_slice *slice = &rsc->slices[i] [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| fd3_texture.c | 260 A3XX_TEX_CONST_2_PITCH(fd3_pipe2nblocksx(cso->format, rsc->slices[lvl].pitch) * rsc->cpp); 266 A3XX_TEX_CONST_3_LAYERSZ1(rsc->slices[0].size0); 271 A3XX_TEX_CONST_3_LAYERSZ1(rsc->slices[lvl].size0); 272 while (lvl < cso->u.tex.last_level && sz2 != rsc->slices[lvl+1].size0) 273 sz2 = rsc->slices[++lvl].size0;
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| mipmap_tunnel.c | 116 const int slices = 24, stacks = 52; local 124 gluCylinder(q, radius, radius, height, slices, stacks); 129 gluCylinder(q, bias*radius, bias*radius, height/4, slices, stacks/4);
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/ |
| glut_shapes.c | 69 glutWireSphere(GLdouble radius, GLint slices, GLint stacks) 77 gluSphere(quadObj, radius, slices, stacks); 81 glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) 89 gluSphere(quadObj, radius, slices, stacks); 94 GLint slices, GLint stacks) 102 gluCylinder(quadObj, base, 0.0, height, slices, stacks); 107 GLint slices, GLint stacks) 115 gluCylinder(quadObj, base, 0.0, height, slices, stacks);
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| glut_shapes.c | 69 glutWireSphere(GLdouble radius, GLint slices, GLint stacks) 77 gluSphere(quadObj, radius, slices, stacks); 81 glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) 89 gluSphere(quadObj, radius, slices, stacks); 94 GLint slices, GLint stacks) 102 gluCylinder(quadObj, base, 0.0, height, slices, stacks); 107 GLint slices, GLint stacks) 115 gluCylinder(quadObj, base, 0.0, height, slices, stacks);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/ |
| fd5_resource.c | 59 * layer (since in fact the layer contains the slices) 105 (level > 1 && rsc->slices[level - 1].size0 > 0xf000))) 110 slice->size0 = rsc->slices[level - 1].size0;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| freedreno_resource.h | 69 struct fd_resource_slice slices[MAX_MIP_LEVELS]; member in struct:fd_resource 156 return &rsc->slices[level];
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/ |
| v3d_resource.c | 72 struct v3d_resource_slice *slice = &rsc->slices[i]; 124 struct v3d_resource_slice *slice = &rsc->slices[ptrans->level]; 263 struct v3d_resource_slice *slice = &rsc->slices[level]; 321 struct v3d_resource_slice *slice = &rsc->slices[level]; 380 whandle->stride = rsc->slices[0].stride; 393 assert(rsc->slices[0].tiling == VC5_TILING_UIF_XOR || 394 rsc->slices[0].tiling == VC5_TILING_UIF_NO_XOR); 407 whandle->stride = rsc->slices[0].stride; 503 struct v3d_resource_slice *slice = &rsc->slices[i]; 605 * from small to big in memory, we need to align the later UIF slices [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| quad.c | 67 GLint slices, stacks; variable 167 slices = 16; 253 slices++; 256 slices--; 367 slices, stacks); 370 gluSphere(quadObj, radius1/10.0, slices, stacks); 373 gluPartialDisk(quadObj, radius2/10.0, radius1/10.0, slices, 377 gluDisk(quadObj, radius2/10.0, radius1/10.0, slices, stacks);
|