tests: Remove gl_ suffix from force_full_upload

This will also be used for Vulkan-renderer tests.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
This commit is contained in:
Erico Nunes 2025-04-08 16:07:05 +02:00 committed by Daniel Stone
parent 2f35f84d8e
commit ad4746101a
3 changed files with 3 additions and 3 deletions

View file

@ -202,7 +202,7 @@ enum weston_hdcp_protection {
*/
struct weston_testsuite_quirks {
/** Force GL-renderer to do a full upload of wl_shm buffers. */
bool gl_force_full_upload;
bool force_full_upload;
/** Ensure GL shadow fb is used, and always repaint it fully. */
bool gl_force_full_redraw_of_shadow_fb;
/** Force GL-renderer to use the internal YUV->RGB shader */

View file

@ -2735,7 +2735,7 @@ gl_renderer_flush_damage(struct weston_paint_node *pnode)
data = wl_shm_buffer_get_data(buffer->shm_buffer);
if (gb->needs_full_upload || quirks->gl_force_full_upload) {
if (gb->needs_full_upload || quirks->force_full_upload) {
wl_shm_buffer_begin_access(buffer->shm_buffer);
for (j = 0; j < gb->num_textures; j++) {

View file

@ -129,7 +129,7 @@ fixture_setup(struct weston_test_harness *harness, const struct setup_args *arg)
* test failures due to reference image mismatch. What we actually
* want to see is the crisp outline of the damage rectangles.
*/
setup.test_quirks.gl_force_full_upload = true;
setup.test_quirks.force_full_upload = true;
if (arg->gl_shadow_fb) {
/*