Closed
Bug 945023
Opened 11 years ago
Closed 11 years ago
Move CreateTexture and CreateTextureForOffscreen out of GLContext
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: bjacob, Assigned: u480271)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 2 obsolete files)
17.70 KB,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
They should probably go into GLBlitHelper.*, since they are only used there and in SharedSurface* which #includes GLBlitHelper.h.
Move CreateTexture, CreateTextureForOffscreen, CreateRenderbuffer, and
CreateRenderbuffersForOffscreen to GLBlitHelper.*
Attachment #8341536 -
Flags: review?(bjacob)
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 8341536 [details] [diff] [review]
Move CreateTexture, et al out of GLContext.
Review of attachment 8341536 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/gl/GLBlitHelper.h
@@ +18,5 @@
>
> class GLContext;
>
> +
> +// helper functions
Please expand this comment a little bit to clarify that these helper functions are unrelated to GLBlitHelper; otherwise it might sounds as if they were helpers for GLBlitHelper.
Attachment #8341536 -
Flags: review?(bjacob) → review+
Reporter | ||
Comment 4•11 years ago
|
||
Although, it's nice that GLBlitHelper::BlitFramebufferToFramebuffer actually uses one of these functions, so they're not 100% unrelated.
Updated helper function comments in response to review. Carry r+=bjacob.
Attachment #8342170 -
Flags: review?(dglastonbury)
Attachment #8341536 -
Attachment is obsolete: true
Attachment #8342170 -
Flags: review?(dglastonbury) → review+
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Reporter | ||
Comment 9•11 years ago
|
||
Dan: that means that either compilation, or some test, failed on some platform, and so Ryan had to back it out. The links Ryan gave in comment 7 should point you in the right direction.
Assignee | ||
Comment 10•11 years ago
|
||
Benoit: I understand. It looked like a compilation error. I pulled latest and don't have compile errors. Here's a push to try with my latest version of patch: https://tbpl.mozilla.org/?tree=Try&rev=8fb27ff9fe21
Assignee | ||
Comment 11•11 years ago
|
||
Fixed compile error on mozilla-inbound (Non-unified build)
Carry r+=bjacob.
Attachment #8342170 -
Attachment is obsolete: true
Attachment #8343376 -
Flags: review+
Assignee | ||
Comment 12•11 years ago
|
||
Keywords: checkin-needed
Comment 13•11 years ago
|
||
Keywords: checkin-needed
Comment 14•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•