| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | clip.h | 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane); 42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation ); 45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
|
| H A D | clip.c | 36 * Update derived clip plane state. 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane) argument 45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], 46 ctx->Transform.EyeUserPlane[plane], 52 _mesa_ClipPlane( GLenum plane, const GLdouble *eq ) argument 58 p = (GLint) plane - (GLint) GL_CLIP_PLANE0; 96 ctx->Driver.ClipPlane( ctx, plane, equation ); 101 _mesa_GetClipPlane( GLenum plane, GLdouble *equation ) argument 106 p = (GLint) (plane - GL_CLIP_PLANE0);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | clip.h | 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane); 42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation ); 45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
|
| H A D | clip.c | 36 * Update derived clip plane state. 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane) argument 46 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], 47 ctx->Transform.EyeUserPlane[plane], 53 _mesa_ClipPlane( GLenum plane, const GLdouble *eq ) argument 59 p = (GLint) plane - (GLint) GL_CLIP_PLANE0; 97 ctx->Driver.ClipPlane( ctx, plane, equation ); 102 _mesa_GetClipPlane( GLenum plane, GLdouble *equation ) argument 107 p = (GLint) (plane - GL_CLIP_PLANE0);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/math/ |
| H A D | m_dotprod_tmp.h | 36 const GLfloat plane[4] ) 44 const GLfloat plane0 = plane[0], plane1 = plane[1], plane3 = plane[3]; 56 const GLfloat plane[4] ) 64 const GLfloat plane0 = plane[0], plane1 = plane[1], plane2 = plane[2]; 65 const GLfloat plane3 = plane[3]; 78 const GLfloat plane[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/math/ |
| H A D | m_dotprod_tmp.h | 36 const GLfloat plane[4] ) 44 const GLfloat plane0 = plane[0], plane1 = plane[1], plane3 = plane[3]; 56 const GLfloat plane[4] ) 64 const GLfloat plane0 = plane[0], plane1 = plane[1], plane2 = plane[2]; 65 const GLfloat plane3 = plane[3]; 78 const GLfloat plane[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_rast_tri_tmp.h | 35 * Prototype for a 8 plane rasterizer function. Will codegenerate 45 const struct lp_rast_plane *plane, 60 -plane[j].dcdx >> FIXED_ORDER, 61 plane[j].dcdy >> FIXED_ORDER); 64 -plane[j].dcdx, 65 plane[j].dcdy); 69 int64_t new_c = (c[j]) + ((IMUL64(task->scene->fixed_sample_pos[s][1], plane[j].dcdy) + IMUL64(task->scene->fixed_sample_pos[s][0], -plane[j].dcdx)) >> FIXED_ORDER); 73 -plane[j].dcdx >> FIXED_ORDER, 74 plane[ 205 struct lp_rast_plane plane[NR_PLANES]; local in function:TAG 355 const struct lp_rast_plane *plane = GET_PLANES(tri); local in function:TRI_16 438 const struct lp_rast_plane *plane = GET_PLANES(tri); local in function:TRI_4 [all...] |
| H A D | lp_setup_tri.c | 278 struct lp_rast_plane *plane; local in function:do_triangle_ccw 470 plane = GET_PLANES(tri); 550 * The store has to be unaligned (unless we'd make the plane size 557 _mm_storeu_si128((__m128i *)&plane[0], p0); 558 plane[0].eo = (uint32_t)_mm_cvtsi128_si32(eo); 559 _mm_storeu_si128((__m128i *)&plane[1], p1); 561 plane[1].eo = (uint32_t)_mm_cvtsi128_si32(eo); 562 _mm_storeu_si128((__m128i *)&plane[2], p2); 564 plane[2].eo = (uint32_t)_mm_cvtsi128_si32(eo); 650 #define STORE_PLANE(plane, ve 898 struct lp_rast_plane *plane = GET_PLANES(tri); local in function:lp_setup_bin_triangle [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_rast_tri_tmp.h | 35 * Prototype for a 8 plane rasterizer function. Will codegenerate 45 const struct lp_rast_plane *plane, 55 -plane[j].dcdx >> FIXED_ORDER, 56 plane[j].dcdy >> FIXED_ORDER); 59 -plane[j].dcdx, 60 plane[j].dcdy); 77 const struct lp_rast_plane *plane, 89 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; 90 int32_t dcdy = plane[j].dcdy >> FIXED_ORDER; 91 const int32_t cox = plane[ 184 struct lp_rast_plane plane[NR_PLANES]; local in function:TAG 334 const struct lp_rast_plane *plane = GET_PLANES(tri); local in function:TRI_16 407 const struct lp_rast_plane *plane = GET_PLANES(tri); local in function:TRI_4 [all...] |
| H A D | lp_setup_tri.c | 275 struct lp_rast_plane *plane; local in function:do_triangle_ccw 396 plane = GET_PLANES(tri); 476 * The store has to be unaligned (unless we'd make the plane size 483 _mm_storeu_si128((__m128i *)&plane[0], p0); 484 plane[0].eo = (uint32_t)_mm_cvtsi128_si32(eo); 485 _mm_storeu_si128((__m128i *)&plane[1], p1); 487 plane[1].eo = (uint32_t)_mm_cvtsi128_si32(eo); 488 _mm_storeu_si128((__m128i *)&plane[2], p2); 490 plane[2].eo = (uint32_t)_mm_cvtsi128_si32(eo); 576 #define STORE_PLANE(plane, ve 869 struct lp_rast_plane *plane = GET_PLANES(tri); local in function:lp_setup_bin_triangle [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| H A D | s_aatriangle.c | 42 * Compute coefficients of a plane using the X,Y coords of the v0, v1, v2 44 * A point (x,y,z) lies on plane iff a*x+b*y+c*z+d = 0. 48 GLfloat z0, GLfloat z1, GLfloat z2, GLfloat plane[4]) 58 /* Crossproduct "(a,b,c):= dv1 x dv2" is orthogonal to plane. */ 62 /* Point on the plane = "r*(a,b,c) + w", with fixed "r" depending 63 on the distance of plane from origin and arbitrary "w" parallel 64 to the plane. */ 69 plane[0] = a; 70 plane[1] = b; 71 plane[ 47 compute_plane(const GLfloat v0[],const GLfloat v1[],const GLfloat v2[],GLfloat z0,GLfloat z1,GLfloat z2,GLfloat plane[4]) argument 80 constant_plane(GLfloat value,GLfloat plane[4]) argument 102 solve_plane(GLfloat x,GLfloat y,const GLfloat plane[4]) argument 117 solve_plane_chan(GLfloat x,GLfloat y,const GLfloat plane[4]) argument 133 plane_dx(const GLfloat plane[4]) argument 139 plane_dy(const GLfloat plane[4]) argument [all...] |
| H A D | s_aaline.c | 79 * Compute the equation of a plane used to interpolate line fragment data 83 * Output: plane - the plane equation. 85 * Note: we don't really have enough parameters to specify a plane. 86 * We take the endpoints of the line and compute a plane such that 87 * the cross product of the line vector and the plane normal is 88 * parallel to the projection plane. 92 GLfloat z0, GLfloat z1, GLfloat plane[4]) 106 plane[0] = a; 107 plane[ 91 compute_plane(GLfloat x0,GLfloat y0,GLfloat x1,GLfloat y1,GLfloat z0,GLfloat z1,GLfloat plane[4]) argument 136 constant_plane(GLfloat value,GLfloat plane[4]) argument 146 solve_plane(GLfloat x,GLfloat y,const GLfloat plane[4]) argument 160 solve_plane_recip(GLfloat x,GLfloat y,const GLfloat plane[4]) argument 174 solve_plane_chan(GLfloat x,GLfloat y,const GLfloat plane[4]) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| H A D | s_aatriangle.c | 41 * Compute coefficients of a plane using the X,Y coords of the v0, v1, v2 43 * A point (x,y,z) lies on plane iff a*x+b*y+c*z+d = 0. 47 GLfloat z0, GLfloat z1, GLfloat z2, GLfloat plane[4]) 57 /* Crossproduct "(a,b,c):= dv1 x dv2" is orthogonal to plane. */ 61 /* Point on the plane = "r*(a,b,c) + w", with fixed "r" depending 62 on the distance of plane from origin and arbitrary "w" parallel 63 to the plane. */ 68 plane[0] = a; 69 plane[1] = b; 70 plane[ 46 compute_plane(const GLfloat v0[],const GLfloat v1[],const GLfloat v2[],GLfloat z0,GLfloat z1,GLfloat z2,GLfloat plane[4]) argument 79 constant_plane(GLfloat value,GLfloat plane[4]) argument 101 solve_plane(GLfloat x,GLfloat y,const GLfloat plane[4]) argument 116 solve_plane_chan(GLfloat x,GLfloat y,const GLfloat plane[4]) argument 132 plane_dx(const GLfloat plane[4]) argument 138 plane_dy(const GLfloat plane[4]) argument [all...] |
| H A D | s_aaline.c | 78 * Compute the equation of a plane used to interpolate line fragment data 82 * Output: plane - the plane equation. 84 * Note: we don't really have enough parameters to specify a plane. 85 * We take the endpoints of the line and compute a plane such that 86 * the cross product of the line vector and the plane normal is 87 * parallel to the projection plane. 91 GLfloat z0, GLfloat z1, GLfloat plane[4]) 105 plane[0] = a; 106 plane[ 90 compute_plane(GLfloat x0,GLfloat y0,GLfloat x1,GLfloat y1,GLfloat z0,GLfloat z1,GLfloat plane[4]) argument 135 constant_plane(GLfloat value,GLfloat plane[4]) argument 145 solve_plane(GLfloat x,GLfloat y,const GLfloat plane[4]) argument 159 solve_plane_recip(GLfloat x,GLfloat y,const GLfloat plane[4]) argument 173 solve_plane_chan(GLfloat x,GLfloat y,const GLfloat plane[4]) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/kms-dri/ |
| H A D | kms_dri_sw_winsys.c | 131 struct kms_sw_plane *plane = NULL; local in function:get_plane 135 DEBUG_PRINT("KMS-DEBUG: plane too big. format: %d stride: %d height: %d " 141 LIST_FOR_EACH_ENTRY(plane, &kms_sw_dt->planes, link) { 142 if (plane->offset == offset) 143 return plane; 146 plane = CALLOC_STRUCT(kms_sw_plane); 147 if (!plane) 150 plane->width = width; 151 plane->height = height; 152 plane 195 struct kms_sw_plane *plane = get_plane(kms_sw_dt, format, width, height, local in function:kms_sw_displaytarget_create 221 struct kms_sw_plane *plane = kms_sw_plane(dt); local in function:kms_sw_displaytarget_destroy 255 struct kms_sw_plane *plane = kms_sw_plane(dt); local in function:kms_sw_displaytarget_map 320 struct kms_sw_plane *plane = NULL; local in function:kms_sw_displaytarget_add_from_prime 360 struct kms_sw_plane *plane = kms_sw_plane(dt); local in function:kms_sw_displaytarget_unmap 414 struct kms_sw_plane *plane; local in function:kms_sw_displaytarget_from_handle 438 struct kms_sw_plane *plane = kms_sw_plane(dt); local in function:kms_sw_displaytarget_get_handle [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/kms-dri/ |
| H A D | kms_dri_sw_winsys.c | 131 struct kms_sw_plane *plane = NULL; local in function:get_plane 135 DEBUG_PRINT("KMS-DEBUG: plane too big. format: %d stride: %d height: %d " 141 LIST_FOR_EACH_ENTRY(plane, &kms_sw_dt->planes, link) { 142 if (plane->offset == offset) 143 return plane; 146 plane = CALLOC_STRUCT(kms_sw_plane); 147 if (!plane) 150 plane->width = width; 151 plane->height = height; 152 plane 195 struct kms_sw_plane *plane = get_plane(kms_sw_dt, format, width, height, local in function:kms_sw_displaytarget_create 221 struct kms_sw_plane *plane = kms_sw_plane(dt); local in function:kms_sw_displaytarget_destroy 255 struct kms_sw_plane *plane = kms_sw_plane(dt); local in function:kms_sw_displaytarget_map 320 struct kms_sw_plane *plane = NULL; local in function:kms_sw_displaytarget_add_from_prime 360 struct kms_sw_plane *plane = kms_sw_plane(dt); local in function:kms_sw_displaytarget_unmap 414 struct kms_sw_plane *plane; local in function:kms_sw_displaytarget_from_handle 438 struct kms_sw_plane *plane = kms_sw_plane(dt); local in function:kms_sw_displaytarget_get_handle [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_nir_lower_tex_src_plane.c | 40 * case of 3-plane YUV format, the V plane is next sampler after U. 76 nir_const_value *plane = nir_src_as_const_value(tex->src[plane_index].src); local in function:lower_tex_src_plane_block 77 assume(plane); 79 if (plane[0].i32 > 0) { 83 assume(((state->lower_3plane & (1 << y_samp)) && plane[0].i32 < 3) || 84 (plane[0].i32 < 2)); 87 state->sampler_map[y_samp][plane[0].i32 - 1];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/include/frontend/ |
| H A D | winsys_handle.h | 33 * Input for texture_get_handle, allows to export of a specific plane of a 36 unsigned plane; member in struct:winsys_handle
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| H A D | draw_pt_post_vs.c | 145 ASSIGN_4V( pvs->draw->plane[0], -1, 0, 0, 1 ); 146 ASSIGN_4V( pvs->draw->plane[1], 1, 0, 0, 1 ); 147 ASSIGN_4V( pvs->draw->plane[2], 0, -1, 0, 1 ); 148 ASSIGN_4V( pvs->draw->plane[3], 0, 1, 0, 1 ); 152 ASSIGN_4V( pvs->draw->plane[0], -0.5, 0, 0, 1 ); 153 ASSIGN_4V( pvs->draw->plane[1], 0.5, 0, 0, 1 ); 154 ASSIGN_4V( pvs->draw->plane[2], 0, -0.5, 0, 1 ); 155 ASSIGN_4V( pvs->draw->plane[3], 0, 0.5, 0, 1 ); 161 ASSIGN_4V( pvs->draw->plane[4], 0, 0, 1, 0 ); 164 ASSIGN_4V( pvs->draw->plane[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| H A D | draw_pt_post_vs.c | 145 ASSIGN_4V( pvs->draw->plane[0], -1, 0, 0, 1 ); 146 ASSIGN_4V( pvs->draw->plane[1], 1, 0, 0, 1 ); 147 ASSIGN_4V( pvs->draw->plane[2], 0, -1, 0, 1 ); 148 ASSIGN_4V( pvs->draw->plane[3], 0, 1, 0, 1 ); 152 ASSIGN_4V( pvs->draw->plane[0], -0.5, 0, 0, 1 ); 153 ASSIGN_4V( pvs->draw->plane[1], 0.5, 0, 0, 1 ); 154 ASSIGN_4V( pvs->draw->plane[2], 0, -0.5, 0, 1 ); 155 ASSIGN_4V( pvs->draw->plane[3], 0, 0.5, 0, 1 ); 161 ASSIGN_4V( pvs->draw->plane[4], 0, 0, 1, 0 ); 164 ASSIGN_4V( pvs->draw->plane[ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | anv_image.c | 131 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); local in function:get_surface 132 return &image->planes[plane].surface; 136 add_surface(struct anv_image *image, struct anv_surface *surf, uint32_t plane) argument 141 surf->offset = align_u32(image->planes[plane].size, 146 /* Determine plane's offset only once when the first surface is added. */ 147 if (image->planes[plane].size == 0) 148 image->planes[plane].offset = image->size; 152 image->planes[plane].size = (surf->offset + surf->isl.size_B) - image->planes[plane].offset; 155 image->planes[plane] 245 add_aux_state_tracking_buffer(struct anv_image * image,uint32_t plane,const struct anv_device * device) argument 315 const unsigned plane = anv_image_aspect_to_plane(image->aspects, aspect); local in function:make_surface 760 anv_image_bind_memory_plane(struct anv_device * device,struct anv_image * image,uint32_t plane,struct anv_device_memory * memory,uint32_t memory_offset) argument 871 uint32_t plane = local in function:anv_BindImageMemory 917 uint32_t plane = local in function:anv_BindImageMemory2 942 uint32_t plane = local in function:anv_BindImageMemory2 1024 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); local in function:anv_layout_to_aux_usage 1156 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); local in function:anv_layout_to_fast_clear_type 1256 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); local in function:anv_image_fill_surface_state 1687 for (uint32_t plane = 0; plane < iview->n_planes; plane++) { local in function:anv_DestroyImageView 1865 uint32_t plane = anv_image_aspect_to_plane(image->aspects, sanitized_mask); local in function:anv_image_get_surface_for_aspect_mask [all...] |
| /xsrc/external/mit/xorg-server.old/dist/miext/shadow/ |
| H A D | shplanar.c | 106 int plane; local in function:shadowUpdatePlanar4 126 for (plane = 0; plane < 4; plane++) 140 (scr << 4) | (plane), 158 GetBits(plane,0,s1); 159 GetBits(plane,1,s2); 160 GetBits(plane,2,s3); 161 GetBits(plane,3,s4);
|
| H A D | shplanar8.c | 110 int plane; local in function:shadowUpdatePlanar4x8 128 for (plane = 0; plane < 4; plane++) 142 (scr << 4) | (plane), 160 GetBits(plane,0,s1); 161 GetBits(plane,2,s2); 162 GetBits(plane,4,s3); 163 GetBits(plane,6,s4);
|
| /xsrc/external/mit/xorg-server/dist/miext/shadow/ |
| H A D | shplanar.c | 105 int plane; local in function:shadowUpdatePlanar4 124 for (plane = 0; plane < 4; plane++) { 137 (plane), 154 GetBits(plane, 0, s1); 155 GetBits(plane, 1, s2); 156 GetBits(plane, 2, s3); 157 GetBits(plane, 3, s4);
|
| H A D | shplanar8.c | 109 int plane; local in function:shadowUpdatePlanar4x8 126 for (plane = 0; plane < 4; plane++) { 139 (plane), 156 GetBits(plane, 0, s1); 157 GetBits(plane, 2, s2); 158 GetBits(plane, 4, s3); 159 GetBits(plane, 6, s4);
|