RESOLVED FIXED 103082
[Chromium] Shared graphics context should only pushGroupMarker() once
https://bugs.webkit.org/show_bug.cgi?id=103082
Summary [Chromium] Shared graphics context should only pushGroupMarker() once
Stephen White
Reported 2012-11-22 10:03:05 PST
[Chromium] Shared graphics context should only pushGroupMarker() once
Attachments
Patch (2.98 KB, patch)
2012-11-22 10:06 PST, Stephen White
no flags
Patch for landing (2.96 KB, patch)
2012-11-26 17:25 PST, Stephen White
no flags
Stephen White
Comment 1 2012-11-22 10:06:10 PST
James Robinson
Comment 2 2012-11-25 21:45:28 PST
Comment on attachment 175691 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=175691&action=review > Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp:56 > + m_context->getExtensions()->pushGroupMarkerEXT("AcceleratedCanvasContext"); this is a bit misleading (although it was in ImageBufferSkia.cpp as well) since this context is used for things other than canvas.
Stephen White
Comment 3 2012-11-26 16:15:10 PST
Comment on attachment 175691 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=175691&action=review >> Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp:56 >> + m_context->getExtensions()->pushGroupMarkerEXT("AcceleratedCanvasContext"); > > this is a bit misleading (although it was in ImageBufferSkia.cpp as well) since this context is used for things other than canvas. Yeah, I was thinking of renaming this "SharedGraphicsContext" or something. WDYT?
James Robinson
Comment 4 2012-11-26 16:23:42 PST
SGTM!
Stephen White
Comment 5 2012-11-26 17:25:35 PST
Created attachment 176124 [details] Patch for landing
WebKit Review Bot
Comment 6 2012-11-26 20:10:33 PST
Comment on attachment 176124 [details] Patch for landing Clearing flags on attachment: 176124 Committed r135809: <http://trac.webkit.org/changeset/135809>
WebKit Review Bot
Comment 7 2012-11-26 20:10:36 PST
All reviewed patches have been landed. Closing bug.
Gregg Tavares
Comment 8 2012-11-26 20:15:00 PST
If that's that case can't you move the pushGroupEXT to the code that's creating the SharedGraphicsContext? The whole point of this is so you, at a glance from the logs, tell which part of the code is generating errors. If SharedGraphicsContext is used by more than one thing each of those things should be calling pushGroupEXT so we can tell them apart
Note You need to log in before you can comment on or make changes to this bug.