Lines Matching refs:info

34 								version_info	*info) {
53 return appinfo.GetVersionInfo(info, B_APP_VERSION_KIND);
279 StarWindow::DirectConnected(direct_buffer_info *info)
282 switch (info->buffer_state & B_DIRECT_MODE_MASK) {
285 SwitchContext(info); // update the direct screen infos.
295 SwitchContext(info); // update the direct screen infos.
313 StarWindow::SwitchContext(direct_buffer_info *info)
324 window_area = (info->window_bounds.right-info->window_bounds.left+1)*
325 (info->window_bounds.bottom-info->window_bounds.top+1);
334 cx = (info->window_bounds.right+info->window_bounds.left+1)/2;
335 cy = (info->window_bounds.bottom+info->window_bounds.top+1)/2;
339 clipping_bound.left = info->clip_bounds.left - cx;
340 clipping_bound.right = info->clip_bounds.right - cx;
341 clipping_bound.top = info->clip_bounds.top - cy;
342 clipping_bound.bottom = info->clip_bounds.bottom - cy;
344 clipping_list_count = info->clip_list_count;
348 clipping_list[i].left = info->clip_list[i].left - cx;
349 clipping_list[i].right = info->clip_list[i].right - cx;
350 clipping_list[i].top = info->clip_list[i].top - cy;
351 clipping_list[i].bottom = info->clip_list[i].bottom - cy;
356 row_bytes = info->bytes_per_row / (info->bits_per_pixel / 8);
359 draw_ptr8 = (uint8*)info->bits + info->bytes_per_row
360 * info->window_bounds.top + info->window_bounds.left
361 * (info->bits_per_pixel / 8);
362 // Note: parenthesis around "info->bits_per_pixel / 8"
363 // are needed to avoid an overflow when info->window_bounds.left
373 if ((info->buffer_state & B_BUFFER_RESET) ||
375 ((info->buffer_state & (B_DIRECT_MODE_MASK|B_BUFFER_MOVED)) == B_DIRECT_START))) {
385 deltax = cx_old - (cx - info->window_bounds.left);
386 deltay = cy_old - (cy - info->window_bounds.top);
433 if ((info->buffer_state & B_DIRECT_MODE_MASK) == B_DIRECT_MODIFY) {
458 window_offset = row_bytes*(cy-info->window_bounds.top) + (cx-info->window_bounds.left);
461 switch (info->pixel_format) {
514 cx_old = cx - info->window_bounds.left;
515 cy_old = cy - info->window_bounds.top;