[Webkit-unassigned] [Bug 75779] [Texmap] Move surface management from TextureMapperNode to TextureMapper
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 7 19:07:01 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=75779
--- Comment #2 from Igor Trindade Oliveira <igor.oliveira at webkit.org> 2012-01-07 19:07:01 PST ---
(From update of attachment 121562)
View in context: https://bugs.webkit.org/attachment.cgi?id=121562&action=review
> Source/WebCore/platform/graphics/texmap/TextureMapper.cpp:45
> +
if i understood correctly, if (!newTexture) will be true just in the first loop iteration, so we could move this if out of for loop.
Doing something like:
RefPtr<BitmapTexture> newTexture = m_texturePool[0];
int index = 0;
for (size_t i = 1 ....)
what do you think?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list