Changeset 220395 in webkit
- Timestamp:
- Aug 8, 2017 1:36:38 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r220393 r220395 1 2017-08-08 Zan Dobersek <zdobersek@igalia.com> 2 3 [TexMap] Group GL header file inclusions in a single header file 4 https://bugs.webkit.org/show_bug.cgi?id=175313 5 6 Reviewed by Carlos Garcia Campos. 7 8 Add a helper header file to the TextureMapper subsystem that includes 9 the OpenGL headers, properly addressing the build configuration to 10 include headers as provided by either libepoxy, the OpenGL ES library, 11 or the OpenGL library. 12 13 TextureMapperContextAttributes implementation file is the only one 14 that can leverage the header at the moment, but more will follow. 15 16 * platform/graphics/texmap/TextureMapperContextAttributes.cpp: 17 * platform/graphics/texmap/TextureMapperGLHeaders.h: Copied from Source/WebCore/platform/graphics/texmap/TextureMapperContextAttributes.cpp. 18 1 19 2017-08-08 Wenson Hsieh <wenson_hsieh@apple.com> 2 20 -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperContextAttributes.cpp
r220392 r220395 29 29 #if USE(TEXTURE_MAPPER_GL) 30 30 31 #include "TextureMapperGLHeaders.h" 31 32 #include <wtf/text/WTFString.h> 32 33 #if USE(LIBEPOXY)34 #include <epoxy/gl.h>35 #elif USE(OPENGL_ES_2)36 #include <GLES2/gl2.h>37 #else38 #include "OpenGLShims.h"39 #endif40 33 41 34 namespace WebCore {
Note: See TracChangeset
for help on using the changeset viewer.