mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-13 13:01:25 -07:00
fix render layer guid linking w/out font provider layer; eliminate generation number on render handles; sketch out tester scratch program for text drawing performance
This commit is contained in:
@@ -8214,7 +8214,7 @@ rd_window_frame(RD_Window *ws)
|
||||
//- rjf: draw UI
|
||||
//
|
||||
ws->draw_bucket = dr_bucket_make();
|
||||
D_BucketScope(ws->draw_bucket)
|
||||
DR_BucketScope(ws->draw_bucket)
|
||||
ProfScope("draw UI")
|
||||
{
|
||||
Temp scratch = scratch_begin(0, 0);
|
||||
|
||||
@@ -7074,7 +7074,7 @@ RD_VIEW_RULE_UI_FUNCTION_DEF(memory)
|
||||
{
|
||||
Rng1U64 selection_in_row = intersect_1u64(row_range_bytes, selection);
|
||||
DR_Bucket *bucket = dr_bucket_make();
|
||||
D_BucketScope(bucket)
|
||||
DR_BucketScope(bucket)
|
||||
{
|
||||
Vec2F32 text_pos = ui_box_text_position(ascii_box);
|
||||
dr_rect(r2f32p(text_pos.x + fnt_dim_from_tag_size_string(font, font_size, 0, 0, str8_prefix(ascii_text, selection_in_row.min+0-row_range_bytes.min)).x - font_size/8.f,
|
||||
@@ -7089,7 +7089,7 @@ RD_VIEW_RULE_UI_FUNCTION_DEF(memory)
|
||||
if(mouse_hover_byte_num != 0 && contains_1u64(row_range_bytes, mouse_hover_byte_num-1))
|
||||
{
|
||||
DR_Bucket *bucket = dr_bucket_make();
|
||||
D_BucketScope(bucket)
|
||||
DR_BucketScope(bucket)
|
||||
{
|
||||
Vec2F32 text_pos = ui_box_text_position(ascii_box);
|
||||
Vec4F32 color = rd_rgba_from_theme_color(RD_ThemeColor_HighlightOverlay);
|
||||
|
||||
@@ -2006,7 +2006,7 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
||||
if(line_drag_drop && contains_2f32(clipped_top_container_rect, ui_mouse()))
|
||||
{
|
||||
DR_Bucket *bucket = dr_bucket_make();
|
||||
D_BucketScope(bucket)
|
||||
DR_BucketScope(bucket)
|
||||
{
|
||||
Vec4F32 color = line_drag_drop_color;
|
||||
Rng2F32 drop_line_rect = r2f32p(top_container_box->rect.x0,
|
||||
|
||||
Reference in New Issue
Block a user