Closed
Bug 1337625
Opened 8 years ago
Closed 6 years ago
Make webrender as to use GLContext functions
Categories
(Core :: Graphics: WebRender, defect, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox56 | --- | unaffected |
firefox57 | --- | unaffected |
People
(Reporter: sotaro, Unassigned)
References
Details
(Whiteboard: gfx-noted)
get_proc_address_from_glcontext() returns a function pointer of GLContext::LookupSymbol(). It bypasses GLContext's several workaround for specific GPUs. It is not good.
Reporter | ||
Updated•8 years ago
|
Summary: Change get_proc_address_from_glcontext as to return GLContext function pointer → Make webrender as to use GLContext functions
Reporter | ||
Updated•8 years ago
|
Component: Graphics: Layers → Graphics: WebRender
Reporter | ||
Comment 1•8 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #0)
> get_proc_address_from_glcontext() returns a function pointer of
> GLContext::LookupSymbol(). It bypasses GLContext's several workaround for
> specific GPUs. It is not good.
It is also a request of :jgilbert.
Updated•8 years ago
|
Priority: -- → P3
Whiteboard: gfx-noted
Comment 2•8 years ago
|
||
My first thought here is to create a map from string -> function pointer, where the string is GL function name that webrender is trying to look up, and the function pointer is one of the "GL official entry points" wrapper functions in GLContext.h. Is there a better way to do this?
Reporter | ||
Comment 3•8 years ago
|
||
I also thought similar things at first. But now, I tend to implement gl::Gl[1] trait at webrender_bindings. And the trait implementation directly calls functions of GLContext.h.
- [1] https://github.com/servo/gleam/pull/106
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → sotaro.ikeda.g
Updated•8 years ago
|
Blocks: stage-wr-next
Updated•7 years ago
|
status-firefox56:
--- → unaffected
status-firefox57:
--- → unaffected
Reporter | ||
Updated•6 years ago
|
Assignee: sotaro.ikeda.g → nobody
Reporter | ||
Comment 4•6 years ago
|
||
Reopen it when this becomes actually necessary.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•