Closed
Bug 905161
Opened 13 years ago
Closed 13 years ago
GLContext cache features
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: guillaume.abadie, Assigned: guillaume.abadie)
References
Details
Attachments
(2 files, 2 obsolete files)
|
4.88 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
|
7.36 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
Cache GLContext features to let use a OpenGL context even some features theoretically natively supported are missing.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #794694 -
Flags: review?(jgilbert)
| Assignee | ||
Comment 2•13 years ago
|
||
Attachment #794695 -
Flags: review?(jgilbert)
Updated•13 years ago
|
Attachment #794695 -
Flags: review?(jgilbert) → review+
Comment 3•13 years ago
|
||
Comment on attachment 794694 [details] [diff] [review]
patch step 1 - revision 1: Cache GLFeatures
Review of attachment 794694 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/gl/GLContext.cpp
@@ +469,5 @@
> }
> }
> }
>
> + InitFeatures();
Don't we want to do this immediately after InitExtensions?
| Assignee | ||
Comment 4•13 years ago
|
||
(In reply to Jeff Gilbert [:jgilbert] from comment #3)
> Comment on attachment 794694 [details] [diff] [review]
> patch step 1 - revision 1: Cache GLFeatures
>
> Review of attachment 794694 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: gfx/gl/GLContext.cpp
> @@ +469,5 @@
> > }
> > }
> > }
> >
> > + InitFeatures();
>
> Don't we want to do this immediately after InitExtensions?
No because after the extensions initialization, we are checking especially for {ARB,EXT}_robustness. Therefore, InitFeatures() come write after. =)
| Assignee | ||
Comment 5•13 years ago
|
||
right after* =D
| Assignee | ||
Comment 6•13 years ago
|
||
Attachment #794694 -
Attachment is obsolete: true
Attachment #794694 -
Flags: review?(jgilbert)
Attachment #794905 -
Flags: review?(jgilbert)
| Assignee | ||
Comment 7•13 years ago
|
||
As discussed offline, here are fixes.
Attachment #794905 -
Attachment is obsolete: true
Attachment #794905 -
Flags: review?(jgilbert)
| Assignee | ||
Updated•13 years ago
|
Attachment #794922 -
Flags: review?(jgilbert)
Updated•13 years ago
|
Attachment #794922 -
Flags: review?(jgilbert) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/49619e60f765
https://hg.mozilla.org/mozilla-central/rev/ba24673040d6
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•