summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2023-03-11 16:57:12 +0100
committerMichael BrĂ¼ning <michael.bruning@qt.io>2023-03-11 19:55:10 +0000
commit7f3148b25c908e7c3001bbc70886fd71d32aa25c (patch)
treebf0e8e12f96e74b87d1b609452f1ddc5ca293b8a
parenta64f094c90d2e3a0bab39307fa4126471b7d604d (diff)
downloadqtwebengine-chromium-7f3148b25c908e7c3001bbc70886fd71d32aa25c.tar.gz
Fixup: "Revert "Remove unused ProduceRGBEmulationGLTexture calls with its usage.""
It was assigning the wrong value to SHARED_IMAGE_RGB_EMULATION: 19 rather than 1 << 19. This fixed the WebGL issue by accident, but also resulted in wrong behavior in video rendering. Task-number: QTBUG-111784 Change-Id: I0bebb231a8d4835e0250cdd6de3ae8651d0aece2 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/465957 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--chromium/gpu/command_buffer/common/shared_image_usage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/gpu/command_buffer/common/shared_image_usage.h b/chromium/gpu/command_buffer/common/shared_image_usage.h
index db5456dd2c8..82c8128adea 100644
--- a/chromium/gpu/command_buffer/common/shared_image_usage.h
+++ b/chromium/gpu/command_buffer/common/shared_image_usage.h
@@ -72,7 +72,7 @@ enum SharedImageUsage : uint32_t {
SHARED_IMAGE_USAGE_CPU_UPLOAD = 1 << 18,
// Image will be used for RGB emulation in WebGL on Mac.
- SHARED_IMAGE_USAGE_RGB_EMULATION = 19,
+ SHARED_IMAGE_USAGE_RGB_EMULATION = 1 << 19,
};
// Returns true if usage is a valid client usage.