Searched refs:pixel_offset (Results 1 - 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c96 (dadx * (info->v1[0][0] - setup->pixel_offset) +
97 dady * (info->v1[0][1] - setup->pixel_offset)));
128 (dadx * (info->v1[0][0] - setup->pixel_offset) +
129 dady * (info->v1[0][1] - setup->pixel_offset)));
441 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
442 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
443 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
444 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
446 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2;
447 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset)
[all...]
H A Dlp_rast_priv.h153 unsigned px, py, pixel_offset; local
172 pixel_offset = px * task->scene->cbufs[buf].format_bytes +
174 color = task->color_tiles[buf] + pixel_offset;
193 unsigned px, py, pixel_offset; local
206 pixel_offset = px * task->scene->zsbuf.format_bytes +
208 depth = task->depth_tile + pixel_offset;
H A Dlp_setup_point.c122 float x0 = info->v0[0][0] - setup->pixel_offset;
123 float y0 = info->v0[0][1] - setup->pixel_offset;
138 float x0 = info->v0[0][0] - setup->pixel_offset;
139 float y0 = info->v0[0][1] - setup->pixel_offset;
377 x0 = subpixel_snap(v0[0][0] - setup->pixel_offset) - fixed_width/2;
378 y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2;
410 assert(setup->pixel_offset != 0);
H A Dlp_setup_context.h105 float pixel_offset; member in struct:lp_setup_context
H A Dlp_setup_tri.c1013 __m128 pix_offset = _mm_set1_ps(setup->pixel_offset);
1039 position->x[0] = subpixel_snap(v0[0][0] - setup->pixel_offset);
1040 position->x[1] = subpixel_snap(v1[0][0] - setup->pixel_offset);
1041 position->x[2] = subpixel_snap(v2[0][0] - setup->pixel_offset);
1044 position->y[0] = subpixel_snap(v0[0][1] - setup->pixel_offset);
1045 position->y[1] = subpixel_snap(v1[0][1] - setup->pixel_offset);
1046 position->y[2] = subpixel_snap(v2[0][1] - setup->pixel_offset);
H A Dlp_setup.c591 setup->pixel_offset = half_pixel_center ? 0.5f : 0.0f;
/external/syslinux/com32/lib/sys/vesa/
H A Ddrawtxt.c84 unsigned long pixel_offset; local
89 pixel_offset = ((row * height + VIDEO_BORDER) * __vesa_info.mi.h_res) +
92 bgrowptr = &__vesacon_background[pixel_offset];
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_setup.c93 float pixel_offset; member in struct:setup_context
399 setup->pixel_offset = 0.5f;
401 setup->pixel_offset = 0.0f;
502 * pixel centers, in other words (pixel_offset, pixel_offset).
513 (dadx * (setup->vmin[0][0] - setup->pixel_offset) +
514 dady * (setup->vmin[0][1] - setup->pixel_offset)));
550 (dadx * (setup->vmin[0][0] - setup->pixel_offset) +
551 dady * (setup->vmin[0][1] - setup->pixel_offset)));
681 float vmin_x = setup->vmin[0][0] + setup->pixel_offset;
[all...]
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
H A DesextcGPUShader5TextureGatherOffset.cpp1280 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; local
1283 texture_data[pixel_offset + 0] = x;
1284 texture_data[pixel_offset + 1] = y;
1287 texture_data[pixel_offset + 2] = x;
1288 texture_data[pixel_offset + 3] = y;
2212 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; local
2215 texture_data[pixel_offset] = depth;
2488 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; local
2491 texture_data[pixel_offset] = depth;
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayColorDepthAttachments.cpp154 const glw::GLuint pixel_offset = line_offset + x * N_Components; local
158 if (image[pixel_offset + component] != components[component])
H A DesextcTextureCubeMapArraySampling.cpp1693 const glw::GLuint pixel_offset = pixel * n_components + face_offset; local
1701 const glw::GLuint component_offset = pixel_offset + component;
/external/deqp/external/openglcts/modules/gl/
H A Dgl3cCullDistanceTests.cpp2283 for (glw::GLint pixel_offset = 0; pixel_offset < m_sub_grid_cell_size; pixel_offset++)
2285 if (readRedPixelValue(origin_x + pixel_offset, origin_y) != 0)
2290 if (readRedPixelValue(origin_x + m_sub_grid_cell_size - 1, origin_y + pixel_offset) != 0)
2295 if (readRedPixelValue(origin_x + m_sub_grid_cell_size - 1 - pixel_offset,
2301 if (readRedPixelValue(origin_x, origin_y + m_sub_grid_cell_size - 1 - pixel_offset) != 0)
H A Dgl4cStencilTexturingTests.cpp1049 const GLuint pixel_offset = pixel_size * x; local
1055 GLubyte* pixel_data = &texture_data[0] + line_offset + pixel_offset;
H A Dgl4cCopyImageTests.cpp3203 const GLuint pixel_offset = x * pixel_size; local
3205 GLubyte* pixel = line + pixel_offset;
3745 const GLuint pixel_offset = x * pixel_size; local
3748 const GLubyte* left_pixel_data = left_line_data + pixel_offset;
3749 const GLubyte* right_pixel_data = right_line_data + pixel_offset;
4038 const GLuint pixel_offset = x * pixel_size; local
4040 GLubyte* pixel_data = line_data + pixel_offset;
H A Dgl4cBufferStorageTests.cpp3435 static const GLuint pixel_offset = 8 * line_size + 7 * pixel_size; local
3610 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size))
3663 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size))
H A Dgl4cShadingLanguage420PackTests.cpp2930 const GLuint pixel_offset = x + line_offset; local
2932 data[pixel_offset] = blue_color;
3946 const GLuint pixel_offset = x + line_offset; local
3948 data[pixel_offset] = blue_color;

Completed in 377 milliseconds