mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-25 02:30:11 +01:00
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:
parent
2f35f84d8e
commit
ad4746101a
3 changed files with 3 additions and 3 deletions
|
|
@ -202,7 +202,7 @@ enum weston_hdcp_protection {
|
||||||
*/
|
*/
|
||||||
struct weston_testsuite_quirks {
|
struct weston_testsuite_quirks {
|
||||||
/** Force GL-renderer to do a full upload of wl_shm buffers. */
|
/** 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. */
|
/** Ensure GL shadow fb is used, and always repaint it fully. */
|
||||||
bool gl_force_full_redraw_of_shadow_fb;
|
bool gl_force_full_redraw_of_shadow_fb;
|
||||||
/** Force GL-renderer to use the internal YUV->RGB shader */
|
/** Force GL-renderer to use the internal YUV->RGB shader */
|
||||||
|
|
|
||||||
|
|
@ -2735,7 +2735,7 @@ gl_renderer_flush_damage(struct weston_paint_node *pnode)
|
||||||
|
|
||||||
data = wl_shm_buffer_get_data(buffer->shm_buffer);
|
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);
|
wl_shm_buffer_begin_access(buffer->shm_buffer);
|
||||||
|
|
||||||
for (j = 0; j < gb->num_textures; j++) {
|
for (j = 0; j < gb->num_textures; j++) {
|
||||||
|
|
|
||||||
|
|
@ -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
|
* test failures due to reference image mismatch. What we actually
|
||||||
* want to see is the crisp outline of the damage rectangles.
|
* 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) {
|
if (arg->gl_shadow_fb) {
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue