ohos: Fix blank camera preview and video output


The camera preview and video playback rendered solid white. Both go
through the external-OES texture copy in QOhosVideoOutput, which was
broken in two ways.

The externalsampler shader had no ESSL 3.00 variant, so on the 300es
target the bake fell back to a stub that never sampled the external
texture. Add externalsampler_gles3.frag and bake it for that target.
The copy is a plain passthrough, so it needs no uniform block.

The copy also allocated a uniform buffer smaller than the block the
shaders declare. A GLES binding must cover the whole block, so
allocate the full 160 bytes.

Task-number: QTBUG-148852
Pick-to: 6.12
Change-Id: Ie292bae3461f91e9d4949f9e130f1d303a81e450
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: SanthoshKumar Selvaraj <santhosh.kumar.selvaraj@qt.io>
commitcc02a6c8324d6c5b9a1a65b8d8ef957bbc08e190
parentfbcaaf5f2a6220fb597cd333eaaaf81390b01eb4
authorAndy Nichols <andy.nichols@qt.io>
committerAndy Nichols <andy.nichols@qt.io>
commit timeThu, 27 Aug 2026 10:44:52 +0000