commit | 27da4f6460254aaea3669bbbafa8c10aefad4515 | [log] [tgz] |
---|---|---|
author | Vasiliy Telezhnikov <vasilyt@chromium.org> | Tue Nov 19 15:10:35 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 19 15:10:35 2024 |
tree | d331995c61d8d3ffa7dfd17cec7d9d0132762dfc | |
parent | 2cf8d566266ea60ee2ecaaca777a9fd2ac0be473 [diff] |
Remove flip_y from DrawingBuffer::GetUnacceleratedStaticBitmapImage The only callsite gets the flag from the origin of the unaccelerated CanvasResourceProvider. The only CRP that can have bottom left origin is CanvasResourceProviderPassthrough and it's accelerated, so the flag was always `!GetDrawingBuffer()->IsOriginTopLeft()` Inside drawing buffer that would result in: origin_top_left = !opengl_flip_y_extension_ ? opengl_flip_y_extension_ : !opengl_flip_y_extension_; Which is always false. [1] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc;l=1926;drc=af973fd11814a739cf0327ad657442262d38ca47;bpv=1;bpt=0 Change-Id: Ia0df523b0644d003b813b8b56f094777bd9b457e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6001027 Reviewed-by: Colin Blundell <blundell@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1384947}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.