Closed
Bug 899811
Opened 11 years ago
Closed 11 years ago
gfx/gl/GLContext.h consolidation
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: guillaume.abadie, Assigned: guillaume.abadie)
References
Details
Attachments
(2 files)
190.83 KB,
patch
|
bjacob
:
review+
jgilbert
:
review+
|
Details | Diff | Splinter Review |
185.60 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #783766 -
Flags: review?(jgilbert)
Attachment #783766 -
Flags: review?(bjacob)
Comment 2•11 years ago
|
||
Comment on attachment 783766 [details] [diff] [review] patch revision 1 Review of attachment 783766 [details] [diff] [review]: ----------------------------------------------------------------- OK; please proofread the english comments a bit more, and please wait for jgilbert's review too.
Attachment #783766 -
Flags: review?(bjacob) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=d04e2b368ccf
Comment 4•11 years ago
|
||
Comment on attachment 783766 [details] [diff] [review] patch revision 1 Review of attachment 783766 [details] [diff] [review]: ----------------------------------------------------------------- I'm going to be doing a run through the comments to clean them up anyways, so don't worry too much about them for now. ::: gfx/gl/GLContext.h @@ +354,5 @@ > +// ----------------------------------------------------------------------------- > +// XXX_* Extension group queries > +/* > + * This mecahnism introduce a new way to check if an extension is supported, > + * regardless it is an ARB, EXT, OES, NV, AMD, APPLE, ANGLE ... "mechanism introduces" "regardless if it is an" Maybe "ARB, EXT, OES, etc."
Attachment #783766 -
Flags: review?(jgilbert) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Here is the final landed patch.
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9a48c315c03c
Target Milestone: --- → mozilla25
Comment 7•11 years ago
|
||
The hg comments at least should contain the reason for this change and what was all done. The diff is almost useless because of the stuff that may have moved, and it's unclear what was changed in the process. Somebody else looking at this three months from now will have no idea as to the motivation for the change, nor what was actually done at the high level, what was accomplished, etc. The comments in the code itself help, but it isn't enough.
Flags: needinfo?(gabadie)
Assignee | ||
Comment 8•11 years ago
|
||
Oups sorry, This patch just move code in GLContext.h. The purpose of this patch was to restructure this huge class to be more user friendly. All very important information about the context that we would use very often are now at the top, while non standart entry points are nows at the bottom. And all feature are now shown with explicit separators between. For example, Error handling stuff is at the same place in the class, strongly separated from debug stuff. It also adds const qualifiers on few functions that can have one. Also, this patch open the way for our extension group queries mechanism coming up, to explicitly say in comments that a entry points group are usable only if IsExtensionSupported(XXX_my_extension_group) is true.
Flags: needinfo?(gabadie)
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9a48c315c03c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•