Searched refs:vrect (Results 1 - 25 of 26) sorted by relevance

12

/external/quake/quake/src/WinQuake/
H A Dr_misc.cpp89 vr.x = r_refdef.vrect.x;
90 vr.y = r_refdef.vrect.y;
91 vr.width = r_refdef.vrect.width;
92 vr.height = r_refdef.vrect.height;
119 x += r_refdef.vrect.x;
120 y += r_refdef.vrect.y;
169 if (r_refdef.vrect.width <= MAX_TIMINGS)
170 x = r_refdef.vrect.width-1;
172 x = r_refdef.vrect.width -
173 (r_refdef.vrect
370 vrect_t vrect; local
[all...]
H A Dgl_screen.cpp257 vrect_t vrect; local
311 r_refdef.vrect.width = (int) (vid.width * size);
312 if (r_refdef.vrect.width < 96)
314 size = 96.0 / r_refdef.vrect.width;
315 r_refdef.vrect.width = 96; // min for icons
318 r_refdef.vrect.height = (int)(vid.height * size);
319 if ((int)(r_refdef.vrect.height) > (int)(vid.height - sb_lines))
320 r_refdef.vrect.height = vid.height - sb_lines;
321 if ((int)(r_refdef.vrect.height) > (int)(vid.height))
322 r_refdef.vrect
829 vrect_t vrect; local
[all...]
H A Dd_modech.cpp75 d_pix_min = r_refdef.vrect.width / 320;
79 d_pix_max = (int)((float)r_refdef.vrect.width / (320.0 / 4.0) + 0.5);
80 d_pix_shift = 8 - (int)((float)r_refdef.vrect.width / 320.0 + 0.5);
89 d_vrectx = r_refdef.vrect.x;
90 d_vrecty = r_refdef.vrect.y;
H A Dscreen.cpp222 vrect_t vrect; local
246 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height);
263 vrect.x = 0;
264 vrect.y = 0;
265 vrect.width = vid.width;
266 vrect.height = vid.height;
268 R_SetVrect (&vrect, &scr_vrect, sb_lines);
276 R_ViewChanged (&vrect, sb_lines, vid.aspect);
812 vrect_t vrect; local
[all...]
H A Dd_sky.cpp40 if (r_refdef.vrect.width >= r_refdef.vrect.height)
41 temp = (float)r_refdef.vrect.width;
43 temp = (float)r_refdef.vrect.height;
H A Dr_main.cpp365 R_SetVrect (pvrect, &r_refdef.vrect, lineadj);
368 r_refdef.fvrectx = (float)r_refdef.vrect.x;
369 r_refdef.fvrectx_adj = (float)r_refdef.vrect.x - 0.5;
370 r_refdef.vrect_x_adj_shift20 = (r_refdef.vrect.x<<20) + (1<<19) - 1;
371 r_refdef.fvrecty = (float)r_refdef.vrect.y;
372 r_refdef.fvrecty_adj = (float)r_refdef.vrect.y - 0.5;
373 r_refdef.vrectright = r_refdef.vrect.x + r_refdef.vrect.width;
378 r_refdef.vrectbottom = r_refdef.vrect.y + r_refdef.vrect
[all...]
H A Dd_scan.cpp56 w = r_refdef.vrect.width;
57 h = r_refdef.vrect.height;
64 rowptr[v] = d_viewbuffer + (r_refdef.vrect.y * screenwidth) +
70 column[u] = r_refdef.vrect.x +
H A Drender.h75 vrect_t vrect; // subwindow in video for refresh member in struct:__anon10462
76 // FIXME: not need vrect next field here?
84 int vrect_x_adj_shift20; // (vrect.x + 0.5 - epsilon) << 20
H A Dd_iface.h166 void D_FillRect (vrect_t *vrect, int color);
H A Dgl_rmisc.cpp124 r_refdef.vrect.x = 0;
125 r_refdef.vrect.y = 0;
126 r_refdef.vrect.width = 256;
127 r_refdef.vrect.height = 256;
H A Dgl_rmain.cpp976 vrect_t vrect; local
1178 x = r_refdef.vrect.x * glwidth/vid.width;
1179 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width;
1180 y = (vid.height-r_refdef.vrect.y) * glheight/vid.height;
1181 y2 = (vid.height - (r_refdef.vrect.y + r_refdef.vrect.height)) * glheight/vid.height;
1203 screenaspect = (float)r_refdef.vrect.width/r_refdef.vrect.height;
1204 // yfov = 2*atan((float)r_refdef.vrect
[all...]
H A Dr_edge.cpp154 for (v=r_refdef.vrect.y ; v<r_refdef.vrectbottom ; v++)
672 max_span_p = &basespan_p[MAXSPANS - r_refdef.vrect.width];
678 edge_head.u = r_refdef.vrect.x << 20;
708 for (iv=r_refdef.vrect.y ; iv<bottom ; iv++)
/external/quake/quake/src/QW/client/
H A Dd_modech.c75 d_pix_min = r_refdef.vrect.width / 320;
79 d_pix_max = (int)((float)r_refdef.vrect.width / (320.0 / 4.0) + 0.5);
80 d_pix_shift = 8 - (int)((float)r_refdef.vrect.width / 320.0 + 0.5);
89 d_vrectx = r_refdef.vrect.x;
90 d_vrecty = r_refdef.vrect.y;
H A Dr_misc.c90 vr.x = r_refdef.vrect.x;
91 vr.y = r_refdef.vrect.y;
92 vr.width = r_refdef.vrect.width;
93 vr.height = r_refdef.vrect.height;
120 // x += r_refdef.vrect.x;
121 // y += r_refdef.vrect.y;
186 if (r_refdef.vrect.width <= MAX_TIMINGS)
187 x = r_refdef.vrect.width-1;
189 x = r_refdef.vrect.width -
190 (r_refdef.vrect
446 vrect_t vrect; local
[all...]
H A Dscreen.c276 vrect_t vrect; local
300 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height);
317 vrect.x = 0;
318 vrect.y = 0;
319 vrect.width = vid.width;
320 vrect.height = vid.height;
322 R_SetVrect (&vrect, &scr_vrect, sb_lines);
330 R_ViewChanged (&vrect, sb_lines, vid.aspect);
1010 vrect_t vrect; local
[all...]
H A Dd_sky.c40 if (r_refdef.vrect.width >= r_refdef.vrect.height)
41 temp = (float)r_refdef.vrect.width;
43 temp = (float)r_refdef.vrect.height;
H A Dgl_screen.c316 r_refdef.vrect.width = vid.width * size;
317 if (r_refdef.vrect.width < 96)
319 size = 96.0 / r_refdef.vrect.width;
320 r_refdef.vrect.width = 96; // min for icons
323 r_refdef.vrect.height = vid.height * size;
325 if (r_refdef.vrect.height > (int) (vid.height - sb_lines))
326 r_refdef.vrect.height = vid.height - sb_lines;
327 } else if (r_refdef.vrect.height > (int) vid.height)
328 r_refdef.vrect.height = vid.height;
329 r_refdef.vrect
[all...]
H A Dr_main.c385 R_SetVrect (pvrect, &r_refdef.vrect, lineadj);
388 r_refdef.fvrectx = (float)r_refdef.vrect.x;
389 r_refdef.fvrectx_adj = (float)r_refdef.vrect.x - 0.5;
390 r_refdef.vrect_x_adj_shift20 = (r_refdef.vrect.x<<20) + (1<<19) - 1;
391 r_refdef.fvrecty = (float)r_refdef.vrect.y;
392 r_refdef.fvrecty_adj = (float)r_refdef.vrect.y - 0.5;
393 r_refdef.vrectright = r_refdef.vrect.x + r_refdef.vrect.width;
398 r_refdef.vrectbottom = r_refdef.vrect.y + r_refdef.vrect
[all...]
H A Dd_scan.c56 w = r_refdef.vrect.width;
57 h = r_refdef.vrect.height;
64 rowptr[v] = d_viewbuffer + (r_refdef.vrect.y * screenwidth) +
70 column[u] = r_refdef.vrect.x +
H A Drender.h69 vrect_t vrect; // subwindow in video for refresh member in struct:__anon10062
70 // FIXME: not need vrect next field here?
78 int vrect_x_adj_shift20; // (vrect.x + 0.5 - epsilon) << 20
H A Dd_iface.h165 void D_FillRect (vrect_t *vrect, int color);
H A Dgl_rmisc.c117 r_refdef.vrect.x = 0;
118 r_refdef.vrect.y = 0;
119 r_refdef.vrect.width = 256;
120 r_refdef.vrect.height = 256;
H A Dgl_rmain.c956 x = r_refdef.vrect.x * glwidth/vid.width;
957 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width;
958 y = (vid.height-r_refdef.vrect.y) * glheight/vid.height;
959 y2 = (vid.height - (r_refdef.vrect.y + r_refdef.vrect.height)) * glheight/vid.height;
981 screenaspect = (float)r_refdef.vrect.width/r_refdef.vrect.height;
982 // yfov = 2*atan((float)r_refdef.vrect.height/r_refdef.vrect
[all...]
H A Dr_edge.c154 for (v=r_refdef.vrect.y ; v<r_refdef.vrectbottom ; v++)
672 max_span_p = &basespan_p[MAXSPANS - r_refdef.vrect.width];
678 edge_head.u = r_refdef.vrect.x << 20;
708 for (iv=r_refdef.vrect.y ; iv<bottom ; iv++)
/external/webkit/Source/WebCore/platform/wx/
H A DScrollViewWx.cpp238 wxRect crect(win->GetClientRect()), vrect(win->GetVirtualSize());
258 win->SetScrollbar(wxHORIZONTAL, x, crect.width, vrect.width, refresh);
263 win->SetScrollbar(wxHORIZONTAL, x, crect.width, vrect.width, refresh);
276 win->SetScrollbar(wxVERTICAL, y, crect.height, vrect.height, refresh);
281 win->SetScrollbar(wxVERTICAL, y, crect.height, vrect.height, refresh);

Completed in 352 milliseconds

12