Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • Display.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Revert "Add extension EGL_ANGLE_device_d3d" · 1ea8284d
    Geoff Lang authored Apr 14, 2015
    Compile error on clang:
    src/libANGLE/Display.cpp:259:23: error: allocation of incomplete type 'egl::Device'
            mDevice = new Device(this, impl);
                          ^~~~~~
    src/libANGLE/Display.h:36:7: note: forward declaration of 'egl::Device'
    class Device;
          ^
    In file included from src/libANGLE/Display.cpp:11:
    In file included from src/libANGLE/Display.h:17:
    In file included from src/libANGLE/Error.h:80:
    In file included from src/libANGLE/Error.inl:9:
    src/common/angleutils.h:66:5: error: deleting pointer to incomplete type 'egl::Device' may cause undefined behavior [-Werror,-Wdelete-incomplete]
        delete resource;
        ^      ~~~~~~~~
    src/libANGLE/Display.cpp:209:5: note: in instantiation of function template specialization 'SafeDelete<egl::Device>' requested here
        SafeDelete(mDevice);
        ^
    src/libANGLE/Display.h:36:7: note: forward declaration of 'egl::Device'
    class Device;
          ^
    2 errors generated.
    
    This reverts commit 6dacaff4.
    
    Change-Id: Ide348e156324a5af668604362c0b249ea73b6083
    Reviewed-on: https://chromium-review.googlesource.com/265626Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    1ea8284d
Display.cpp 18.4 KB
EditWeb IDE
×

Replace Display.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.