/external/chromium_org/gpu/command_buffer/tests/ |
gl_pointcoord_unittest.cc | 32 GLuint SetupQuad(GLint position_location, GLfloat pixel_offset); 38 GLint position_location, GLfloat pixel_offset) { 43 -0.5f + pixel_offset, -0.5f + pixel_offset, 44 0.5f + pixel_offset, -0.5f + pixel_offset, 45 -0.5f + pixel_offset, 0.5f + pixel_offset, 46 0.5f + pixel_offset, 0.5f + pixel_offset, 116 GLfloat pixel_offset = (max_point_size % 2) ? (1.0f \/ kResolution) : 0; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_setup_line.c | 93 (dadx * (info->v1[0][0] - setup->pixel_offset) + 94 dady * (info->v1[0][1] - setup->pixel_offset))); 125 (dadx * (info->v1[0][0] - setup->pixel_offset) + 126 dady * (info->v1[0][1] - setup->pixel_offset))); 426 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); 427 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset); 428 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset); 429 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); 431 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2; 432 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2 [all...] |
lp_setup_point.c | 118 float x0 = info->v0[0][0] - setup->pixel_offset; 119 float y0 = info->v0[0][1] - setup->pixel_offset; 134 float x0 = info->v0[0][0] - setup->pixel_offset; 135 float y0 = info->v0[0][1] - setup->pixel_offset; 318 const int x0 = subpixel_snap(v0[0][0] - setup->pixel_offset) - fixed_width/2; 319 const int y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2; 336 int adj = (setup->pixel_offset != 0) ? 1 : 0;
|
lp_setup_context.h | 100 float pixel_offset; member in struct:lp_setup_context
|
lp_rast_priv.h | 224 unsigned px, py, pixel_offset; local 237 pixel_offset = tile_pixel_offset(px, py, 0); 239 color = color + pixel_offset;
|
lp_setup_tri.c | 270 int adj = (setup->pixel_offset != 0) ? 1 : 0; 368 top_left_flag = _mm_set1_epi32((setup->pixel_offset == 0) ? ~0 : 0); 438 if (setup->pixel_offset == 0) { 796 position->x[0] = subpixel_snap(v0[0][0] - setup->pixel_offset); 797 position->x[1] = subpixel_snap(v1[0][0] - setup->pixel_offset); 798 position->x[2] = subpixel_snap(v2[0][0] - setup->pixel_offset); 801 position->y[0] = subpixel_snap(v0[0][1] - setup->pixel_offset); 802 position->y[1] = subpixel_snap(v1[0][1] - setup->pixel_offset); 803 position->y[2] = subpixel_snap(v2[0][1] - setup->pixel_offset);
|
lp_setup.c | 492 setup->pixel_offset = gl_rasterization_rules ? 0.5f : 0.0f;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup_line.c | 93 (dadx * (info->v1[0][0] - setup->pixel_offset) + 94 dady * (info->v1[0][1] - setup->pixel_offset))); 125 (dadx * (info->v1[0][0] - setup->pixel_offset) + 126 dady * (info->v1[0][1] - setup->pixel_offset))); 426 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); 427 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset); 428 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset); 429 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); 431 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2; 432 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2 [all...] |
lp_setup_point.c | 118 float x0 = info->v0[0][0] - setup->pixel_offset; 119 float y0 = info->v0[0][1] - setup->pixel_offset; 134 float x0 = info->v0[0][0] - setup->pixel_offset; 135 float y0 = info->v0[0][1] - setup->pixel_offset; 318 const int x0 = subpixel_snap(v0[0][0] - setup->pixel_offset) - fixed_width/2; 319 const int y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2; 336 int adj = (setup->pixel_offset != 0) ? 1 : 0;
|
lp_setup_context.h | 100 float pixel_offset; member in struct:lp_setup_context
|
lp_rast_priv.h | 224 unsigned px, py, pixel_offset; local 237 pixel_offset = tile_pixel_offset(px, py, 0); 239 color = color + pixel_offset;
|
lp_setup_tri.c | 270 int adj = (setup->pixel_offset != 0) ? 1 : 0; 368 top_left_flag = _mm_set1_epi32((setup->pixel_offset == 0) ? ~0 : 0); 438 if (setup->pixel_offset == 0) { 796 position->x[0] = subpixel_snap(v0[0][0] - setup->pixel_offset); 797 position->x[1] = subpixel_snap(v1[0][0] - setup->pixel_offset); 798 position->x[2] = subpixel_snap(v2[0][0] - setup->pixel_offset); 801 position->y[0] = subpixel_snap(v0[0][1] - setup->pixel_offset); 802 position->y[1] = subpixel_snap(v1[0][1] - setup->pixel_offset); 803 position->y[2] = subpixel_snap(v2[0][1] - setup->pixel_offset);
|
lp_setup.c | 492 setup->pixel_offset = gl_rasterization_rules ? 0.5f : 0.0f;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_setup.c | 94 float pixel_offset; member in struct:setup_context 398 setup->pixel_offset = 0.5f; 400 setup->pixel_offset = 0.0f; 501 * pixel centers, in other words (pixel_offset, pixel_offset). 512 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + 513 dady * (setup->vmin[0][1] - setup->pixel_offset))); 564 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + 565 dady * (setup->vmin[0][1] - setup->pixel_offset))); 678 float vmin_x = setup->vmin[0][0] + setup->pixel_offset; [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_setup.c | 94 float pixel_offset; member in struct:setup_context 398 setup->pixel_offset = 0.5f; 400 setup->pixel_offset = 0.0f; 501 * pixel centers, in other words (pixel_offset, pixel_offset). 512 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + 513 dady * (setup->vmin[0][1] - setup->pixel_offset))); 564 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + 565 dady * (setup->vmin[0][1] - setup->pixel_offset))); 678 float vmin_x = setup->vmin[0][0] + setup->pixel_offset; [all...] |
/external/chromium_org/ppapi/tests/ |
test_browser_font.cc | 110 uint32_t pixel_offset = font.PixelOffsetForCharacter(run, original_char); local 111 ASSERT_TRUE(pixel_offset > 0); 114 run, static_cast<int32_t>(pixel_offset));
|