RESOLVED FIXED 115568
Simplify the #ifdefs in GraphicsContext3D.h
https://bugs.webkit.org/show_bug.cgi?id=115568
Summary Simplify the #ifdefs in GraphicsContext3D.h
Martin Robinson
Reported 2013-05-03 11:58:47 PDT
The #ifdefs in the header are overwhelming on first glance and befuddling on the second.
Attachments
Patch (4.71 KB, patch)
2013-05-03 12:03 PDT, Martin Robinson
no flags
Move the no-op implementations to GraphicsContext3D.h (5.56 KB, patch)
2013-05-03 12:19 PDT, Martin Robinson
no flags
Move the no-op implementations to GraphicsContext3D.h (5.44 KB, patch)
2013-05-03 12:21 PDT, Martin Robinson
benjamin: review+
Martin Robinson
Comment 1 2013-05-03 12:03:47 PDT
Martin Robinson
Comment 2 2013-05-03 12:19:24 PDT
Created attachment 200456 [details] Move the no-op implementations to GraphicsContext3D.h
Martin Robinson
Comment 3 2013-05-03 12:21:05 PDT
Created attachment 200457 [details] Move the no-op implementations to GraphicsContext3D.h
Benjamin Poulain
Comment 4 2013-05-03 15:57:10 PDT
Comment on attachment 200457 [details] Move the no-op implementations to GraphicsContext3D.h View in context: https://bugs.webkit.org/attachment.cgi?id=200457&action=review > Source/WebCore/platform/graphics/GraphicsContext3D.cpp:1474 > +#if !PLATFORM(BLACKBERRY) && !PLATFORM(QT) && !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(MAC) Isn't this just PLATFORM(WINDOWS)?
Martin Robinson
Comment 5 2013-05-03 17:08:38 PDT
(In reply to comment #4) > (From update of attachment 200457 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=200457&action=review > > > Source/WebCore/platform/graphics/GraphicsContext3D.cpp:1474 > > +#if !PLATFORM(BLACKBERRY) && !PLATFORM(QT) && !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(MAC) > > Isn't this just PLATFORM(WINDOWS)? Sorry. Just saw this comment. Now that Chromium is gone we can probably simplify all these #ifdefs to PLATFORM(WINDOWS). I'll try to submit another patch and put it up against the EWS.
Martin Robinson
Comment 6 2013-05-03 17:11:04 PDT
Note You need to log in before you can comment on or make changes to this bug.