zink: add flags for determining whether to update framebuffer and renderpass

we can optimize restarting renderpasses here a little by only performing
lookups if states have actually changed

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <!10761>
37 jobs for !10761 with zink-fb_flagging in 11 minutes and 14 seconds (queued for 3 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #9764323
sanity

00:00:35

 
  Container
passed #9764328
aarch64
arm_build

00:00:26

passed #9764330
windows shell 1809 mesa
windows_build_vs2019

00:00:12

passed #9764325
x86_build-base

00:00:44

passed #9764327
x86_test-base

00:00:45

 
  Container 2
passed #9764340
android_build

00:00:30

passed #9764335
i386_build

00:00:31

passed #9764345
kernel+rootfs_amd64

00:01:10

passed #9764347
aarch64
kernel+rootfs_arm64

00:00:13

passed #9764349
aarch64
kernel+rootfs_armhf

00:00:11

passed #9764337
ppc64el_build

00:00:30

passed #9764338
s390x_build

00:00:30

passed #9764333
x86_build

00:00:30

passed #9764342
x86_test-gl

00:00:30

passed #9764344
x86_test-vk

00:00:32

 
  Meson X86 64
passed #9764360
meson-clang

00:09:20

passed #9764361
meson-clover

00:03:05

passed #9764355
meson-clover-testing

00:02:08

passed #9764356
meson-gallium

00:05:37

passed #9764358
meson-release

00:04:00

passed #9764351
meson-testing

00:03:41

passed #9764353
meson-testing-asan

00:03:00

passed #9764363
meson-vulkan

00:03:36

 
  Build Misc
passed #9764365
arm_test

00:00:32

passed #9764366
meson-android

00:03:17

passed #9764370
aarch64
meson-arm64

00:01:28

passed #9764372
aarch64
meson-arm64-asan

00:03:40

passed #9764374
aarch64
meson-arm64-build-test

00:01:55

passed #9764368
aarch64
meson-armhf

00:01:46

passed #9764376
meson-i386

00:03:17

passed #9764381
meson-mingw32-x86_64

00:03:24

passed #9764379
meson-ppc64el

00:03:32

passed #9764377
kvm
meson-s390x

00:05:33

 
  Layered Backends
passed #9764388
zink-lvp-gl

00:01:17

passed #9764384
zink-lvp-gles2

00:01:34

passed #9764386
zink-lvp-gles3

00:02:01

passed #9764383
zink-piglit-quick_gl

00:05:34