Bug 40091 - Generalize #ifdef around test of accelerated compositing flag for WebGL
Summary: Generalize #ifdef around test of accelerated compositing flag for WebGL
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Kenneth Russell
URL:
Keywords:
Depends on: 40085
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-02 17:16 PDT by Kenneth Russell
Modified: 2021-03-18 03:20 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Russell 2010-06-02 17:16:41 PDT
The #ifdef around the test of the accelerated compositing flag when creating a WebGLRenderingContext (WebCore/html/HTMLCanvasElement.cpp) should be generalized. Currently only the Chromium port ignores the flag, meaning that WebGL works as long as it is enabled, regardless of the sense of the accelerated compositing run-time flag. fishd@chromium suggested 3D_CANVAS_REQUIRES_ACCELERATED_COMPOSITING. Need to think through interactions with the USE(ACCELERATED_COMPOSITING) compile-time flag and ensure that WebGL doesn't get unexpectedly enabled for ports in situations they don't expect it.
Comment 1 Kimmo Kinnunen 2021-03-18 03:20:54 PDT
Seems the flags have changed significantly. Maybe a new bug could be filed if this is an issue.