Closed Bug 1388531 Opened 8 years ago Closed 8 years ago

Remove stubbed out B2G only functions from gfx/gl/GLLibraryEGL.h

Categories

(Core :: Graphics, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: erahm, Assigned: ami.bugzilla)

References

Details

(Whiteboard: gfx-noted)

Attachments

(1 file, 1 obsolete file)

Bug 1386825 is removing MOZ_B2G and makes the stubs in gfx/gl/GLLibraryEGL.h [1] effectively dead code. We should remove them and update any callers. [1] http://searchfox.org/mozilla-central/rev/0f16d437cce97733c6678d29982a6bcad49f817b/gfx/gl/GLLibraryEGL.h#489-514
Priority: -- → P5
Whiteboard: gfx-noted
Hi Jeff, I've already removed the code suggested by Eric, could you please review it? Thank you very much.
Attachment #8895210 - Flags: review?(jgilbert)
Comment on attachment 8895210 [details] [diff] [review] Remove stubbed out B2G only functions Review of attachment 8895210 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/gl/GLContextProviderEGL.cpp @@ +345,5 @@ > // Assume that EGL has the same problem as WGL does, > // where MakeCurrent with an already-current context is > // still expensive. > bool hasDifferentContext = false; > + if (mContext) { mContext is always truthy. Since we don't need to check this anymore, we should simplify this logic. This should be written as: bool needsMakeCurrent; if (aForce) { needsMakeCurrent = true; } else { needsMakeCurrent = (sEGLLibrary.fGetCurrentContext() != mContext); } if (needsMakeCurrent) { EGLSurface...
Attachment #8895210 - Flags: review?(jgilbert) → review-
Hi Jeff, I modified the patch according to your comment, would you please review again? Thank you.
Attachment #8895210 - Attachment is obsolete: true
Attachment #8896844 - Flags: review?(jgilbert)
Attachment #8896844 - Flags: review?(jgilbert) → review+
Hello, I don't why I cannot add the checkin-need keyword to this bug. Can anyone help me please?
Assignee: nobody → ami.bugzilla
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c7398e1677a1 Remove stubbed out B2G only functions. r=jgilbert
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: