[Webkit-unassigned] [Bug 119235] New: EGLNativeWindowType/uint64_t compile error in GLContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 00:06:05 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119235

           Summary: EGLNativeWindowType/uint64_t compile error in
                    GLContext
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: achristensen at apple.com
                CC: mrobinson at webkit.org


r117612 introduced using uint64_t as a native pointer type in Source/WebCore/platform/graphics/cairo/GLContext.h which is now Source/WebCore/platform/graphics/GLContext.h.  This causes a compiler error on Windows because it can't convert from uint64_t to a 32-bit EGLNativeWindowType (which is a HWND which is a void*) without a reinterpret_cast.  To avoid the evil that is reinterpret_cast, I propose a new typedef, GLNativeWindowType, which will be the same as EGLNativeWindowType if we're using EGL and it will be a uint64_t to not change any current behaviour.

-- 
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