Closed
Bug 807500
Opened 12 years ago
Closed 11 years ago
Add the minimum set of required GL methods to GLContext for Skia/Ganesh use
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: gw280, Unassigned)
References
Details
Attachments
(1 file)
13.23 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
For some reason, this isn't in GLContext. Despite Benoit's claims, it is in the GLES2 spec. The function is required by Ganesh.
Comment 1•12 years ago
|
||
I think it would make sense to specify which functionality require that, or depended bug.
Reporter | ||
Comment 2•11 years ago
|
||
Ganesh needs a whole whack of additional GL methods on the GLContext class. I think this is the minimum set required.
Attachment #708881 -
Flags: review?(jgilbert)
Reporter | ||
Updated•11 years ago
|
Summary: GLContext needs a fTexParameteriv method → Add the minimum set of required GL methods to GLContext for Skia/Ganesh use
Comment on attachment 708881 [details] [diff] [review] Add a bunch of required GL wrapper methods for Skia GetTexParameteriv is identical to GetTexParameteri on ES (I guess without some extensions), but sure. Query stuff is definitely in extensions on ES -- they may not always be present. Likewise DrawBuffer[s]. (that's MRT) We'll need to do something about those.
Reporter | ||
Comment 4•11 years ago
|
||
Query/Buffers are only used on desktop and so the symbols are only added in the if (desktop) block.
Reporter | ||
Comment 5•11 years ago
|
||
https://mxr.mozilla.org/mozilla-central/source/gfx/skia/src/gpu/gl/GrGLInterface.cpp is the relevant file in Skia that states which GL functions are required on which configurations.
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 708881 [details] [diff] [review] Add a bunch of required GL wrapper methods for Skia Switching to Benoit as Jeff is apparently travelling atm.
Attachment #708881 -
Flags: review?(jgilbert) → review?(bjacob)
Updated•11 years ago
|
Attachment #708881 -
Flags: review?(bjacob) → review+
Reporter | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9441307a79de
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9441307a79de
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•