Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_widgets.c
| Show First 20 Lines • Show All 1,219 Lines • ▼ Show 20 Lines | |||||
| static bool draw_widgetbase_batch_skip_draw_cache(void) | static bool draw_widgetbase_batch_skip_draw_cache(void) | ||||
| { | { | ||||
| /* MacOS is known to have issues on Mac Mini and MacBook Pro with Intel Iris GPU. | /* MacOS is known to have issues on Mac Mini and MacBook Pro with Intel Iris GPU. | ||||
| * For example, T78307. */ | * For example, T78307. */ | ||||
| if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_MAC, GPU_DRIVER_ANY)) { | if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_MAC, GPU_DRIVER_ANY)) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| /* There are also reports that some AMD and Mesa driver configuration suffer from the | |||||
| * same issue, T78803. */ | |||||
| if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE)) { | |||||
| return true; | |||||
| } | |||||
| return false; | return false; | ||||
| } | } | ||||
| static void draw_widgetbase_batch(uiWidgetBase *wtb) | static void draw_widgetbase_batch(uiWidgetBase *wtb) | ||||
| { | { | ||||
| wtb->uniform_params.tria_type = wtb->tria1.type; | wtb->uniform_params.tria_type = wtb->tria1.type; | ||||
| wtb->uniform_params.tria1_size = wtb->tria1.size; | wtb->uniform_params.tria1_size = wtb->tria1.size; | ||||
| wtb->uniform_params.tria2_size = wtb->tria2.size; | wtb->uniform_params.tria2_size = wtb->tria2.size; | ||||
| ▲ Show 20 Lines • Show All 4,185 Lines • Show Last 20 Lines | |||||