[TexMap] Group GL header file inclusions in a single header file
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Aug 2017 08:36:38 +0000 (08:36 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Aug 2017 08:36:38 +0000 (08:36 +0000)
commit7a7853fca8a36158f8d87b04b4775ed3688abafb
treefef900e51d1621ec2b0dc8eb30b7eaae161670ec
parent763b156788a49047d98afc71be65e09e0e207f42
[TexMap] Group GL header file inclusions in a single header file
https://bugs.webkit.org/show_bug.cgi?id=175313

Reviewed by Carlos Garcia Campos.

Add a helper header file to the TextureMapper subsystem that includes
the OpenGL headers, properly addressing the build configuration to
include headers as provided by either libepoxy, the OpenGL ES library,
or the OpenGL library.

TextureMapperContextAttributes implementation file is the only one
that can leverage the header at the moment, but more will follow.

* platform/graphics/texmap/TextureMapperContextAttributes.cpp:
* platform/graphics/texmap/TextureMapperGLHeaders.h: Copied from Source/WebCore/platform/graphics/texmap/TextureMapperContextAttributes.cpp.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@220395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/texmap/TextureMapperContextAttributes.cpp
Source/WebCore/platform/graphics/texmap/TextureMapperGLHeaders.h [new file with mode: 0644]