/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_line.c | 96 (dadx * (info->v1[0][0] - setup->pixel_offset) + in linear_coef() 97 dady * (info->v1[0][1] - setup->pixel_offset))); in linear_coef() 128 (dadx * (info->v1[0][0] - setup->pixel_offset) + in perspective_coef() 129 dady * (info->v1[0][1] - setup->pixel_offset))); in perspective_coef() 301 float pixel_offset = setup->multisample ? 0.0 : setup->pixel_offset; in try_setup_line() local 447 x[0] = subpixel_snap(v1[0][0] + x_offset - pixel_offset); in try_setup_line() 448 x[1] = subpixel_snap(v2[0][0] + x_offset_end - pixel_offset); in try_setup_line() 449 x[2] = subpixel_snap(v2[0][0] + x_offset_end - pixel_offset); in try_setup_line() 450 x[3] = subpixel_snap(v1[0][0] + x_offset - pixel_offset); in try_setup_line() 452 y[0] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) - fixed_width/2; in try_setup_line() [all …]
|
D | lp_setup_point.c | 122 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef() 123 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef() 138 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef() 139 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef() 353 float pixel_offset = setup->multisample ? 0.0 : setup->pixel_offset; in try_setup_point() local 388 x0 = subpixel_snap(v0[0][0] - pixel_offset) - fixed_width/2; in try_setup_point() 389 y0 = subpixel_snap(v0[0][1] - pixel_offset) - fixed_width/2; in try_setup_point() 421 assert(setup->pixel_offset != 0); in try_setup_point()
|
D | lp_rast_priv.h | 155 unsigned px, py, pixel_offset; in lp_rast_get_color_block_pointer() local 174 pixel_offset = px * task->scene->cbufs[buf].format_bytes + in lp_rast_get_color_block_pointer() 176 color = task->color_tiles[buf] + pixel_offset; in lp_rast_get_color_block_pointer() 195 unsigned px, py, pixel_offset; in lp_rast_get_depth_block_pointer() local 208 pixel_offset = px * task->scene->zsbuf.format_bytes + in lp_rast_get_depth_block_pointer() 210 depth = task->depth_tile + pixel_offset; in lp_rast_get_depth_block_pointer()
|
D | lp_setup_tri.c | 1028 float pixel_offset = setup->multisample ? 0.0 : setup->pixel_offset; in calc_fixed_position() local 1040 __m128 pix_offset = _mm_set1_ps(pixel_offset); in calc_fixed_position() 1066 position->x[0] = subpixel_snap(v0[0][0] - pixel_offset); in calc_fixed_position() 1067 position->x[1] = subpixel_snap(v1[0][0] - pixel_offset); in calc_fixed_position() 1068 position->x[2] = subpixel_snap(v2[0][0] - pixel_offset); in calc_fixed_position() 1071 position->y[0] = subpixel_snap(v0[0][1] - pixel_offset); in calc_fixed_position() 1072 position->y[1] = subpixel_snap(v1[0][1] - pixel_offset); in calc_fixed_position() 1073 position->y[2] = subpixel_snap(v2[0][1] - pixel_offset); in calc_fixed_position()
|
D | lp_setup_context.h | 106 float pixel_offset; member
|
D | lp_setup.c | 580 setup->pixel_offset = half_pixel_center ? 0.5f : 0.0f; in lp_setup_set_triangle_state()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 94 float pixel_offset; member 503 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + in tri_linear_coeff() 504 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_linear_coeff() 540 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + in tri_persp_coeff() 541 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_persp_coeff() 671 float vmin_x = setup->vmin[0][0] + setup->pixel_offset; in setup_tri_edges() 672 float vmid_x = setup->vmid[0][0] + setup->pixel_offset; in setup_tri_edges() 674 float vmin_y = setup->vmin[0][1] - setup->pixel_offset; in setup_tri_edges() 675 float vmid_y = setup->vmid[0][1] - setup->pixel_offset; in setup_tri_edges() 676 float vmax_y = setup->vmax[0][1] - setup->pixel_offset; in setup_tri_edges() [all …]
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_tiling.c | 232 uint32_t pixel_offset = get_pixel_offset(cpp, image_h, in v3d_move_pixels_unaligned() local 239 pixel_offset); in v3d_move_pixels_unaligned() 244 gpu + pixel_offset, in v3d_move_pixels_unaligned() 247 memcpy(gpu + pixel_offset, in v3d_move_pixels_unaligned()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3d_tiling.c | 236 uint32_t pixel_offset = get_pixel_offset(cpp, image_h, in v3d_move_pixels_unaligned() local 243 pixel_offset); in v3d_move_pixels_unaligned() 248 gpu + pixel_offset, in v3d_move_pixels_unaligned() 251 memcpy(gpu + pixel_offset, in v3d_move_pixels_unaligned()
|
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/ |
D | esextcGPUShader5TextureGatherOffset.cpp | 1280 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData() local 1283 texture_data[pixel_offset + 0] = x; in prepareTextureData() 1284 texture_data[pixel_offset + 1] = y; in prepareTextureData() 1287 texture_data[pixel_offset + 2] = x; in prepareTextureData() 1288 texture_data[pixel_offset + 3] = y; in prepareTextureData() 2212 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData() local 2215 texture_data[pixel_offset] = depth; in prepareTextureData() 2488 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData() local 2491 texture_data[pixel_offset] = depth; in prepareTextureData()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl3cCullDistanceTests.cpp | 2283 for (glw::GLint pixel_offset = 0; pixel_offset < m_sub_grid_cell_size; pixel_offset++) in executeRenderTest() local 2285 if (readRedPixelValue(origin_x + pixel_offset, origin_y) != 0) in executeRenderTest() 2290 if (readRedPixelValue(origin_x + m_sub_grid_cell_size - 1, origin_y + pixel_offset) != 0) in executeRenderTest() 2295 if (readRedPixelValue(origin_x + m_sub_grid_cell_size - 1 - pixel_offset, in executeRenderTest() 2301 if (readRedPixelValue(origin_x, origin_y + m_sub_grid_cell_size - 1 - pixel_offset) != 0) in executeRenderTest()
|
D | gl4cStencilTexturingTests.cpp | 1049 const GLuint pixel_offset = pixel_size * x; in prepareSourceTextureData() local 1055 GLubyte* pixel_data = &texture_data[0] + line_offset + pixel_offset; in prepareSourceTextureData()
|
D | gl4cCopyImageTests.cpp | 3203 const GLuint pixel_offset = x * pixel_size; in prepareSrcPxls() local 3205 GLubyte* pixel = line + pixel_offset; in prepareSrcPxls() 3745 const GLuint pixel_offset = x * pixel_size; in compareImages() local 3748 const GLubyte* left_pixel_data = left_line_data + pixel_offset; in compareImages() 3749 const GLubyte* right_pixel_data = right_line_data + pixel_offset; in compareImages() 4038 const GLuint pixel_offset = x * pixel_size; in prepareSrcPxls() local 4040 GLubyte* pixel_data = line_data + pixel_offset; in prepareSrcPxls()
|
D | gl4cBufferStorageTests.cpp | 3435 static const GLuint pixel_offset = 8 * line_size + 7 * pixel_size; in iterate() local 3610 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size)) in iterate() 3663 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size)) in iterate()
|
D | gl4cShadingLanguage420PackTests.cpp | 2962 const GLuint pixel_offset = x + line_offset; in prepareSourceTexture() local 2964 data[pixel_offset] = blue_color; in prepareSourceTexture() 3978 const GLuint pixel_offset = x + line_offset; in prepareSourceTexture() local 3980 data[pixel_offset] = blue_color; in prepareSourceTexture()
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayColorDepthAttachments.cpp | 154 const glw::GLuint pixel_offset = line_offset + x * N_Components; in verifyImage() local 158 if (image[pixel_offset + component] != components[component]) in verifyImage()
|
D | esextcTextureCubeMapArraySampling.cpp | 1693 const glw::GLuint pixel_offset = pixel * n_components + face_offset; in verifyResultImage() local 1701 const glw::GLuint component_offset = pixel_offset + component; in verifyResultImage()
|
/external/mesa3d/docs/relnotes/ |
D | 19.0.4.rst | 116 - softpipe: setup pixel_offset for all primitive types
|
D | 19.1.0.rst | 1696 - softpipe: setup pixel_offset for all primitive types
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_cmd_buffer.c | 765 uint32_t pixel_offset; in radv_convert_user_sample_locs() local 767 pixel_offset = (x_offset + y_offset * state->grid_size.width) * num_samples; in radv_convert_user_sample_locs() 769 assert(pixel_offset <= MAX_SAMPLE_LOCATIONS); in radv_convert_user_sample_locs() 770 user_locs = &state->locations[pixel_offset]; in radv_convert_user_sample_locs()
|