Lines Matching defs:ri
89 struct rasops_info *ri = (struct rasops_info *)cookie;
90 struct wsdisplay_font *font = PICK_FONT(ri, uc);
104 if ((unsigned)row >= (unsigned)ri->ri_rows)
107 if ((unsigned)col >= (unsigned)ri->ri_cols)
115 rp = (uint32_t *)(ri->ri_bits + row * ri->ri_yscale +
117 if (ri->ri_hwbits)
118 hp = (uint32_t *)(ri->ri_hwbits + row * ri->ri_yscale +
123 bg = ATTR_BG(ri, attr);
124 fg = ATTR_FG(ri, attr);
132 fr = FONT_GLYPH(uc, font, ri);
145 if (ri->ri_hwbits) {
147 DELTA(hp, ri->ri_stride, uint32_t *);
149 DELTA(rp, ri->ri_stride, uint32_t *);
158 fr += ri->ri_font->stride;
168 if (ri->ri_hwbits) {
170 DELTA(hp, ri->ri_stride, uint32_t *);
173 DELTA(rp, ri->ri_stride, uint32_t *);
179 DELTA(rp, - ri->ri_stride * ri->ri_ul.off, uint32_t *);
180 if (ri->ri_hwbits)
181 DELTA(hp, - ri->ri_stride * ri->ri_ul.off,
184 for (height = ri->ri_ul.height; height; height--) {
185 DELTA(rp, - ri->ri_stride, uint32_t *);
188 if (ri->ri_hwbits) {
189 DELTA(hp, - ri->ri_stride, uint32_t *);
226 if (ri->ri_hwbits) {
229 DELTA(hp, ri->ri_stride, uint32_t *);
232 DELTA(rp, ri->ri_stride, uint32_t *);
243 fr += ri->ri_font->stride;
268 if (ri->ri_hwbits) {
271 DELTA(hp, ri->ri_stride, uint32_t *);
274 DELTA(rp, ri->ri_stride, uint32_t *);
280 DELTA(rp, - ri->ri_stride * ri->ri_ul.off, uint32_t *);
281 if (ri->ri_hwbits)
282 DELTA(hp, - ri->ri_stride * ri->ri_ul.off, uint32_t *);
284 for (height = ri->ri_ul.height; height; height--) {
285 DELTA(rp, - ri->ri_stride, uint32_t *);
295 if (ri->ri_hwbits) {
296 DELTA(hp, - ri->ri_stride, uint32_t *);