WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
155927
[TexMap] Trim redundant guards
https://bugs.webkit.org/show_bug.cgi?id=155927
Summary
[TexMap] Trim redundant guards
Emanuele Aina
Reported
2016-03-26 18:48:07 PDT
[TexMap] Trim redundant guards
Attachments
Patch
(1.67 KB, patch)
2016-03-26 18:50 PDT
,
Emanuele Aina
no flags
Details
Formatted Diff
Diff
Patch
(1.69 KB, patch)
2016-04-01 11:28 PDT
,
Emanuele Aina
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Emanuele Aina
Comment 1
2016-03-26 18:50:54 PDT
Created
attachment 274993
[details]
Patch
WebKit Commit Bot
Comment 2
2016-03-26 18:53:21 PDT
Attachment 274993
[details]
did not pass style-queue: ERROR: Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gyuyoung Kim
Comment 3
2016-03-27 22:43:48 PDT
Comment on
attachment 274993
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=274993&action=review
r- because of missing bug url in ChangeLog.
> Source/WebCore/ChangeLog:4 > + Need the bug URL (OOPS!).
Missing bug number.
> Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:-114 > -#elif USE(TEXTURE_MAPPER) && !USE(COORDINATED_GRAPHICS_THREADED)
It seems to me that TEXTIRE_MAPPER is always on, but COORDINATED_GRAPHICS_THREADED is able to be enabled only when ENABLE_OPENGL is on. So I wonder if this !USE(COORDINATED_GRAPHICS_THREADED) guard can be removed.
Emanuele Aina
Comment 4
2016-04-01 11:25:59 PDT
Comment on
attachment 274993
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=274993&action=review
>> Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:-114 >> -#elif USE(TEXTURE_MAPPER) && !USE(COORDINATED_GRAPHICS_THREADED) > > It seems to me that TEXTIRE_MAPPER is always on, but COORDINATED_GRAPHICS_THREADED is able to be enabled only when ENABLE_OPENGL is on. So I wonder if this !USE(COORDINATED_GRAPHICS_THREADED) guard can be removed.
Indeed it seem there's no relation in the buildsystem between those two variable. That said, CoordinatedGraphicsState.h uses TextureMapperPlatformLayerProxy if COORDINATED_GRAPHICS_THREADED is enabled without checking for TEXTURE_MAPPER, which seems to support my assumption that COORDINATED_GRAPHICS_THREADED implies TEXTURE_MAPPER. Now that I'm looking at CoordinatedGraphicsScene.cpp it seems that COORDINATED_GRAPHICS even unconditionally depends on TEXTURE_MAPPER_GL as the TextureMapperGL type is used unguarded...
Emanuele Aina
Comment 5
2016-04-01 11:28:15 PDT
Created
attachment 275422
[details]
Patch
Emanuele Aina
Comment 6
2016-04-01 11:30:49 PDT
I've reuploaded after adding the missing bug reference in the ChangeLog. Sorry, I was assuming that using webkit-patch to open the bug and uploading the patch in a single step would have taken care of that (or I may just have missed the right option).
Zan Dobersek
Comment 7
2016-04-01 13:42:42 PDT
Comment on
attachment 275422
[details]
Patch Looks good.
WebKit Commit Bot
Comment 8
2016-04-04 02:33:46 PDT
Comment on
attachment 275422
[details]
Patch Rejecting
attachment 275422
[details]
from commit-queue.
emanuele.aina@collabora.com
does not have committer permissions according to
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json
. - If you do not have committer rights please read
http://webkit.org/coding/contributing.html
for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
WebKit Commit Bot
Comment 9
2016-04-04 03:26:19 PDT
Comment on
attachment 275422
[details]
Patch Clearing flags on attachment: 275422 Committed
r199001
: <
http://trac.webkit.org/changeset/199001
>
WebKit Commit Bot
Comment 10
2016-04-04 03:26:25 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug