Home
last modified time | relevance | path

Searched refs:irb (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fbo.c60 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in brw_delete_renderbuffer() local
62 assert(irb); in brw_delete_renderbuffer()
64 brw_miptree_release(&irb->mt); in brw_delete_renderbuffer()
65 brw_miptree_release(&irb->singlesample_mt); in brw_delete_renderbuffer()
77 struct brw_renderbuffer *irb) in brw_renderbuffer_downsample() argument
79 if (!irb->need_downsample) in brw_renderbuffer_downsample()
81 brw_miptree_updownsample(brw, irb->mt, irb->singlesample_mt); in brw_renderbuffer_downsample()
82 irb->need_downsample = false; in brw_renderbuffer_downsample()
92 struct brw_renderbuffer *irb) in brw_renderbuffer_upsample() argument
94 assert(!irb->need_downsample); in brw_renderbuffer_upsample()
[all …]
Dbrw_fbo.h142 struct brw_renderbuffer *irb = (struct brw_renderbuffer *) rb; in brw_renderbuffer() local
143 if (irb && irb->Base.Base.ClassID == INTEL_RB_CLASS) in brw_renderbuffer()
144 return irb; in brw_renderbuffer()
150 brw_renderbuffer_get_mt(struct brw_renderbuffer *irb) in brw_renderbuffer_get_mt() argument
152 if (!irb) in brw_renderbuffer_get_mt()
155 return (irb->align_wa_mt) ? irb->align_wa_mt : irb->mt; in brw_renderbuffer_get_mt()
204 brw_renderbuffer_set_draw_offset(struct brw_renderbuffer *irb);
207 brw_renderbuffer_get_tile_offsets(struct brw_renderbuffer *irb, in brw_renderbuffer_get_tile_offsets() argument
211 if (irb->align_wa_mt) { in brw_renderbuffer_get_tile_offsets()
217 return brw_miptree_get_tile_offsets(irb->mt, irb->mt_level, irb->mt_layer, in brw_renderbuffer_get_tile_offsets()
[all …]
Dbrw_pixel_read.c82 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in brw_readpixels_tiled_memcpy() local
131 if (!irb->mt || in brw_readpixels_tiled_memcpy()
132 (irb->mt->surf.tiling != ISL_TILING_X && in brw_readpixels_tiled_memcpy()
133 irb->mt->surf.tiling != ISL_TILING_Y0)) { in brw_readpixels_tiled_memcpy()
152 brw_miptree_access_raw(brw, irb->mt, irb->mt_level, irb->mt_layer, false); in brw_readpixels_tiled_memcpy()
154 bo = irb->mt->bo; in brw_readpixels_tiled_memcpy()
168 brw_miptree_get_image_offset(irb->mt, irb->mt_level, irb->mt_layer, in brw_readpixels_tiled_memcpy()
197 format, type, rb->Format, irb->mt->surf.tiling, in brw_readpixels_tiled_memcpy()
205 map + irb->mt->offset, in brw_readpixels_tiled_memcpy()
206 dst_pitch, irb->mt->surf.row_pitch_B, in brw_readpixels_tiled_memcpy()
[all …]
Dbrw_blorp.c550 find_miptree(GLbitfield buffer_bit, struct brw_renderbuffer *irb) in find_miptree() argument
552 struct brw_mipmap_tree *mt = irb->mt; in find_miptree()
559 blorp_get_texture_swizzle(const struct brw_renderbuffer *irb) in blorp_get_texture_swizzle() argument
561 return irb->Base.Base._BaseFormat == GL_RGB ? in blorp_get_texture_swizzle()
1167 set_write_disables(const struct brw_renderbuffer *irb, in set_write_disables() argument
1175 const GLenum base_format = irb->Base.Base._BaseFormat; in set_write_disables()
1188 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in do_single_blorp_clear() local
1191 mesa_format format = irb->Base.Base.Format; in do_single_blorp_clear()
1216 if (set_write_disables(irb, GET_COLORMASK(ctx->Color.ColorMask, buf), in do_single_blorp_clear()
1225 if (irb->Base.Base.Format != irb->mt->format) in do_single_blorp_clear()
[all …]
Dbrw_draw.c394 const struct brw_renderbuffer *irb = in brw_disable_rb_aux_buffer() local
397 if (irb && irb->mt->bo == tex_mt->bo && in brw_disable_rb_aux_buffer()
398 irb->mt_level >= min_level && in brw_disable_rb_aux_buffer()
399 irb->mt_level < min_level + num_levels) { in brw_disable_rb_aux_buffer()
652 const struct brw_renderbuffer *irb = in brw_predraw_resolve_framebuffer() local
655 if (irb) { in brw_predraw_resolve_framebuffer()
656 brw_miptree_prepare_texture(brw, irb->mt, irb->mt->surf.format, in brw_predraw_resolve_framebuffer()
657 irb->mt_level, 1, in brw_predraw_resolve_framebuffer()
658 irb->mt_layer, irb->layer_count, in brw_predraw_resolve_framebuffer()
666 struct brw_renderbuffer *irb = in brw_predraw_resolve_framebuffer() local
[all …]
Dbrw_pixel_bitmap.c181 struct brw_renderbuffer *irb; in do_blit_bitmap() local
211 irb = brw_renderbuffer(fb->_ColorDrawBuffers[0]); in do_blit_bitmap()
230 switch (_mesa_get_render_format(ctx, brw_rb_format(irb))) { in do_blit_bitmap()
240 _mesa_get_format_name(irb->mt->format)); in do_blit_bitmap()
261 brw_miptree_access_raw(brw, irb->mt, irb->mt_level, irb->mt_layer, true); in do_blit_bitmap()
293 irb->mt->cpp, in do_blit_bitmap()
297 irb->mt->surf.row_pitch_B, in do_blit_bitmap()
298 irb->mt->bo, in do_blit_bitmap()
299 irb->mt->offset, in do_blit_bitmap()
300 irb->mt->surf.tiling, in do_blit_bitmap()
Dbrw_misc_state.c126 get_stencil_miptree(struct brw_renderbuffer *irb) in get_stencil_miptree() argument
128 if (!irb) in get_stencil_miptree()
130 if (irb->mt->stencil_mt) in get_stencil_miptree()
131 return irb->mt->stencil_mt; in get_stencil_miptree()
132 return brw_renderbuffer_get_mt(irb); in get_stencil_miptree()
136 rebase_depth_stencil(struct brw_context *brw, struct brw_renderbuffer *irb, in rebase_depth_stencil() argument
143 isl_get_tile_masks(irb->mt->surf.tiling, irb->mt->cpp, in rebase_depth_stencil()
145 assert(!brw_miptree_level_has_hiz(irb->mt, irb->mt_level)); in rebase_depth_stencil()
147 uint32_t tile_x = irb->draw_x & tile_mask_x; in rebase_depth_stencil()
148 uint32_t tile_y = irb->draw_y & tile_mask_y; in rebase_depth_stencil()
[all …]
Dbrw_pixel_draw.c75 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in do_blit_drawpixels() local
80 mesa_format dst_format = irb->mt->format; in do_blit_drawpixels()
117 irb->mt->format, in do_blit_drawpixels()
129 irb->mt, irb->mt_level, irb->mt_layer, in do_blit_drawpixels()
Dbrw_wm_surface_state.c236 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in gfx6_update_renderbuffer_surface() local
237 struct brw_mipmap_tree *mt = irb->mt; in gfx6_update_renderbuffer_surface()
241 mesa_format rb_format = _mesa_get_render_format(ctx, brw_rb_format(irb)); in gfx6_update_renderbuffer_surface()
250 .base_level = irb->mt_level - irb->mt->first_level, in gfx6_update_renderbuffer_surface()
252 .base_array_layer = irb->mt_layer, in gfx6_update_renderbuffer_surface()
253 .array_len = MAX2(irb->layer_count, 1), in gfx6_update_renderbuffer_surface()
921 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in gfx4_update_renderbuffer_surface() local
922 struct brw_mipmap_tree *mt = irb->mt; in gfx4_update_renderbuffer_surface()
928 mesa_format rb_format = _mesa_get_render_format(ctx, brw_rb_format(irb)); in gfx4_update_renderbuffer_surface()
932 brw_renderbuffer_get_tile_offsets(irb, &tile_x, &tile_y); in gfx4_update_renderbuffer_surface()
[all …]
Dbrw_mipmap_tree.c908 struct brw_renderbuffer *irb, in brw_update_winsys_renderbuffer_miptree() argument
914 struct gl_renderbuffer *rb = &irb->Base.Base; in brw_update_winsys_renderbuffer_miptree()
927 brw_miptree_release(&irb->mt); in brw_update_winsys_renderbuffer_miptree()
928 irb->mt = singlesample_mt; in brw_update_winsys_renderbuffer_miptree()
930 assert(!irb->singlesample_mt); in brw_update_winsys_renderbuffer_miptree()
932 brw_miptree_release(&irb->singlesample_mt); in brw_update_winsys_renderbuffer_miptree()
933 irb->singlesample_mt = singlesample_mt; in brw_update_winsys_renderbuffer_miptree()
935 if (!irb->mt || in brw_update_winsys_renderbuffer_miptree()
936 irb->mt->surf.logical_level0_px.width != width || in brw_update_winsys_renderbuffer_miptree()
937 irb->mt->surf.logical_level0_px.height != height) { in brw_update_winsys_renderbuffer_miptree()
[all …]
Dbrw_screen.c559 struct brw_renderbuffer *irb; in brw_create_image_from_renderbuffer() local
567 irb = brw_renderbuffer(rb); in brw_create_image_from_renderbuffer()
568 brw_miptree_make_shareable(brw, irb->mt); in brw_create_image_from_renderbuffer()
576 isl_tiling_to_i915_tiling(irb->mt->surf.tiling)); in brw_create_image_from_renderbuffer()
581 image->bo = irb->mt->bo; in brw_create_image_from_renderbuffer()
582 brw_bo_reference(irb->mt->bo); in brw_create_image_from_renderbuffer()
585 image->pitch = irb->mt->surf.row_pitch_B; in brw_create_image_from_renderbuffer()
587 image->has_depthstencil = irb->mt->stencil_mt? true : false; in brw_create_image_from_renderbuffer()
Dbrw_tex_image.c566 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in brw_bind_renderbuffer_tex_image() local
576 if (!irb->mt) in brw_bind_renderbuffer_tex_image()
584 brw_miptree_reference(&intel_image->mt, irb->mt); in brw_bind_renderbuffer_tex_image()
Dbrw_mipmap_tree.h406 struct brw_renderbuffer *irb,
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c60 struct intel_renderbuffer *irb = intel_get_renderbuffer(fb, attIndex); in intel_get_rb_region() local
61 if (irb && irb->mt) in intel_get_rb_region()
62 return irb->mt->region; in intel_get_rb_region()
71 struct intel_renderbuffer *irb = intel_renderbuffer(rb); in intel_delete_renderbuffer() local
73 assert(irb); in intel_delete_renderbuffer()
75 intel_miptree_release(&irb->mt); in intel_delete_renderbuffer()
94 struct intel_renderbuffer *irb = intel_renderbuffer(rb); in intel_map_renderbuffer() local
120 intel_miptree_map(intel, irb->mt, irb->mt_level, irb->mt_layer, in intel_map_renderbuffer()
145 struct intel_renderbuffer *irb = intel_renderbuffer(rb); in intel_unmap_renderbuffer() local
156 intel_miptree_unmap(intel, irb->mt, irb->mt_level, irb->mt_layer); in intel_unmap_renderbuffer()
[all …]
Dintel_fbo.h87 struct intel_renderbuffer *irb = (struct intel_renderbuffer *) rb; in intel_renderbuffer() local
88 if (irb && irb->Base.Base.ClassID == INTEL_RB_CLASS) in intel_renderbuffer()
89 return irb; in intel_renderbuffer()
143 intel_renderbuffer_set_draw_offset(struct intel_renderbuffer *irb);
146 intel_renderbuffer_get_tile_offsets(struct intel_renderbuffer *irb, in intel_renderbuffer_get_tile_offsets() argument
150 return intel_miptree_get_tile_offsets(irb->mt, irb->mt_level, irb->mt_layer, in intel_renderbuffer_get_tile_offsets()
Dintel_tex_copy.c52 struct intel_renderbuffer *irb, in intel_copy_texsubimage() argument
59 if (!intelImage->mt || !irb || !irb->mt) { in intel_copy_texsubimage()
62 __func__, intelImage->mt, irb, internalFormat); in intel_copy_texsubimage()
68 irb->mt, irb->mt_level, irb->mt_layer, in intel_copy_texsubimage()
69 x, y, irb->Base.Base.Name == 0, in intel_copy_texsubimage()
Dintel_pixel_read.c90 struct intel_renderbuffer *irb = intel_renderbuffer(rb); in do_blit_readpixels() local
93 !_mesa_format_matches_format_and_type(irb->mt->format, format, type, in do_blit_readpixels()
134 irb->mt->format, in do_blit_readpixels()
140 irb->mt, irb->mt_level, irb->mt_layer, in do_blit_readpixels()
Dintel_clear.c87 struct intel_renderbuffer *irb; in intelClear() local
102 irb = intel_get_renderbuffer(fb, i); in intelClear()
103 if (unlikely(!irb)) { in intelClear()
150 const struct intel_region *irb = intel_get_rb_region(fb, BUFFER_DEPTH); in intelClear() local
153 if (irb->tiling == I915_TILING_Y || tri_mask & BUFFER_BIT_STENCIL) in intelClear()
Di830_vtbl.c617 struct intel_renderbuffer *irb = intel_renderbuffer(rb); in i830_set_draw_region() local
646 if (irb != NULL) { in i830_set_draw_region()
647 value |= i830_render_target_format_for_mesa_format[intel_rb_format(irb)]; in i830_set_draw_region()
676 idrb && irb && (idrb->draw_x != irb->draw_x || in i830_set_draw_region()
677 idrb->draw_y != irb->draw_y)); in i830_set_draw_region()
679 if (irb) { in i830_set_draw_region()
680 draw_x = irb->draw_x; in i830_set_draw_region()
681 draw_y = irb->draw_y; in i830_set_draw_region()
760 struct intel_renderbuffer *irb; in i830_update_draw_buffer() local
763 irb = intel_renderbuffer(fb->_ColorDrawBuffers[i]); in i830_update_draw_buffer()
[all …]
Dintel_pixel_bitmap.c182 struct intel_renderbuffer *irb; in do_blit_bitmap() local
212 irb = intel_renderbuffer(fb->_ColorDrawBuffers[0]); in do_blit_bitmap()
231 switch (irb->mt->format) { in do_blit_bitmap()
241 _mesa_get_format_name(irb->mt->format)); in do_blit_bitmap()
289 irb->mt->cpp, in do_blit_bitmap()
293 irb->mt->region->pitch, in do_blit_bitmap()
294 irb->mt->region->bo, in do_blit_bitmap()
296 irb->mt->region->tiling, in do_blit_bitmap()
Dintel_blit.c375 struct intel_renderbuffer *irb; in intelClearWithBlit() local
385 irb = intel_get_renderbuffer(fb, buf); in intelClearWithBlit()
386 if (irb && irb->mt) { in intelClearWithBlit()
387 region = irb->mt->region; in intelClearWithBlit()
396 x1 = cx + irb->draw_x; in intelClearWithBlit()
397 y1 = cy + irb->draw_y; in intelClearWithBlit()
398 x2 = cx + cw + irb->draw_x; in intelClearWithBlit()
399 y2 = cy + ch + irb->draw_y; in intelClearWithBlit()
434 switch (intel_rb_format(irb)) { in intelClearWithBlit()
Di915_vtbl.c576 struct intel_renderbuffer *irb = intel_renderbuffer(rb); in i915_set_draw_region() local
605 if (irb != NULL) { in i915_set_draw_region()
606 value |= i915_render_target_format_for_mesa_format[intel_rb_format(irb)]; in i915_set_draw_region()
637 idrb && irb && (idrb->draw_x != irb->draw_x || in i915_set_draw_region()
638 idrb->draw_y != irb->draw_y)); in i915_set_draw_region()
640 if (irb) { in i915_set_draw_region()
641 draw_x = irb->draw_x; in i915_set_draw_region()
642 draw_y = irb->draw_y; in i915_set_draw_region()
744 struct intel_renderbuffer *irb; in i915_update_draw_buffer() local
745 irb = intel_renderbuffer(fb->_ColorDrawBuffers[0]); in i915_update_draw_buffer()
[all …]
Dintel_screen.c120 struct intel_renderbuffer *irb = in aub_dump_bmp() local
123 if (irb && irb->mt) { in aub_dump_bmp()
126 switch (irb->Base.Base.Format) { in aub_dump_bmp()
135 assert(irb->mt->region->pitch % irb->mt->region->cpp == 0); in aub_dump_bmp()
136 drm_intel_gem_bo_aub_dump_bmp(irb->mt->region->bo, in aub_dump_bmp()
137 irb->draw_x, in aub_dump_bmp()
138 irb->draw_y, in aub_dump_bmp()
139 irb->Base.Base.Width, in aub_dump_bmp()
140 irb->Base.Base.Height, in aub_dump_bmp()
142 irb->mt->region->pitch, in aub_dump_bmp()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUResourceBundle.java152 ICUResourceBundle irb = (ICUResourceBundle) r.get(resName); in getFunctionalEquivalent() local
153 defStr = irb.getString(DEFAULT_TAG); in getFunctionalEquivalent()
174 ICUResourceBundle irb = (ICUResourceBundle)r.get(resName); in getFunctionalEquivalent() local
175 /* UResourceBundle urb = */irb.get(kwVal); in getFunctionalEquivalent()
176 fullBase = irb.getULocale(); in getFunctionalEquivalent()
181 defStr = irb.getString(DEFAULT_TAG); in getFunctionalEquivalent()
205 ICUResourceBundle irb = (ICUResourceBundle)r.get(resName); in getFunctionalEquivalent() local
206 ICUResourceBundle urb = (ICUResourceBundle)irb.get(kwVal); in getFunctionalEquivalent()
220 defStr = irb.getString(DEFAULT_TAG); in getFunctionalEquivalent()
266 ICUResourceBundle irb = (ICUResourceBundle) (b.getObject(keyword)); in getKeywordValues() local
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java148 ICUResourceBundle irb = (ICUResourceBundle) r.get(resName); in getFunctionalEquivalent() local
149 defStr = irb.getString(DEFAULT_TAG); in getFunctionalEquivalent()
170 ICUResourceBundle irb = (ICUResourceBundle)r.get(resName); in getFunctionalEquivalent() local
171 /* UResourceBundle urb = */irb.get(kwVal); in getFunctionalEquivalent()
172 fullBase = irb.getULocale(); in getFunctionalEquivalent()
177 defStr = irb.getString(DEFAULT_TAG); in getFunctionalEquivalent()
201 ICUResourceBundle irb = (ICUResourceBundle)r.get(resName); in getFunctionalEquivalent() local
202 ICUResourceBundle urb = (ICUResourceBundle)irb.get(kwVal); in getFunctionalEquivalent()
216 defStr = irb.getString(DEFAULT_TAG); in getFunctionalEquivalent()
262 ICUResourceBundle irb = (ICUResourceBundle) (b.getObject(keyword)); in getKeywordValues() local
[all …]

12