Bug 205743 - [WinCairo] Fixing build after "Add a pure virtual base class for GraphicsContext3D"
Summary: [WinCairo] Fixing build after "Add a pure virtual base class for GraphicsCont...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 205636 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-03 11:57 PST by Stephan Szabo
Modified: 2020-01-05 21:46 PST (History)
15 users (show)

See Also:


Attachments
Patch (3.91 KB, patch)
2020-01-03 12:05 PST, Stephan Szabo
no flags Details | Formatted Diff | Diff
Patch (3.73 KB, patch)
2020-01-03 12:36 PST, Stephan Szabo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Szabo 2020-01-03 11:57:17 PST
Some changes were needed after https://trac.webkit.org/changeset/253939/webkit

It seems like NO_ERROR was hitting the windows define.
Some code being used on wincairo was accessing m_attrs and needed to change.
Some functions were showing up as undefined that were in an #ifdef PLATFORM(GTK) && !USE(ANGLE)
Comment 1 Stephan Szabo 2020-01-03 12:05:00 PST
Created attachment 386703 [details]
Patch

Not sure if all the changes here work for other platforms and a bit uncertain about whether the endif move was the right solution.
Comment 2 Stephan Szabo 2020-01-03 12:36:07 PST
Created attachment 386708 [details]
Patch

Updating to try to fix wpe failure on first patch. Still running build for wincairo locally but want to check wpe's behavior.
Comment 3 Don Olmstead 2020-01-03 14:36:46 PST
Comment on attachment 386708 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=386708&action=review

LGTM. Just making a note that I think we'll want to revisit some of these platform checks since they don't seem correct.

> Source/WebCore/platform/graphics/texmap/GraphicsContext3DTextureMapper.cpp:483
> +#if (PLATFORM(GTK) && !USE(ANGLE)) || PLATFORM(WIN)

I think we maybe need a bug to audit these PLATFORM checks within the GraphicsContext3D stuff. The function glMapBufferRange is just OpenGL(ES) 3+ so this feels wrong.
Comment 4 WebKit Commit Bot 2020-01-03 18:15:58 PST
Comment on attachment 386708 [details]
Patch

Clearing flags on attachment: 386708

Committed r254026: <https://trac.webkit.org/changeset/254026>
Comment 5 WebKit Commit Bot 2020-01-03 18:16:00 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2020-01-03 18:16:15 PST
<rdar://problem/58311654>
Comment 7 Yusuke Suzuki 2020-01-03 19:17:16 PST
Nice!
Comment 8 Fujii Hironori 2020-01-05 21:46:29 PST
*** Bug 205636 has been marked as a duplicate of this bug. ***