Changeset 162451 in webkit
- Timestamp:
- Jan 21, 2014 10:46:51 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 42 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r162450 r162451 1 2014-01-21 Lauro Neto <lauro.neto@openbossa.org> 2 3 Remove PLATFORM(NIX) from WebCore 4 https://bugs.webkit.org/show_bug.cgi?id=127299 5 6 Reviewed by Anders Carlsson. 7 8 * editing/Editor.cpp: 9 (WebCore::Editor::cut): 10 (WebCore::Editor::copy): 11 (WebCore::Editor::copyImage): 12 * editing/Editor.h: 13 * html/HTMLCanvasElement.h: 14 * loader/EmptyClients.h: 15 * loader/FrameLoader.cpp: 16 (WebCore::FrameLoader::defaultObjectContentType): 17 * page/ChromeClient.h: 18 * page/DragController.cpp: 19 (WebCore::DragController::startDrag): 20 * platform/Cursor.h: 21 * platform/DragData.h: 22 * platform/DragImage.h: 23 * platform/FileSystem.h: 24 * platform/LocalizedStrings.h: 25 * platform/Widget.h: 26 * platform/audio/FFTFrame.h: 27 * platform/audio/HRTFElevation.cpp: 28 * platform/cairo/WidgetBackingStore.h: 29 * platform/graphics/ANGLEWebKitBridge.h: 30 * platform/graphics/FontPlatformData.h: 31 * platform/graphics/GLContext.cpp: 32 (WebCore::GLContext::createContextForWindow): 33 * platform/graphics/GLContext.h: 34 * platform/graphics/GraphicsContext3D.h: 35 * platform/graphics/GraphicsContext3DPrivate.cpp: 36 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate): 37 * platform/graphics/OpenGLESShims.h: 38 * platform/graphics/OpenGLShims.cpp: 39 (WebCore::getProcAddress): 40 * platform/graphics/OpenGLShims.h: 41 * platform/graphics/PlatformLayer.h: 42 * platform/graphics/freetype/FontPlatformDataFreeType.cpp: 43 * platform/graphics/opengl/Extensions3DOpenGL.cpp: 44 (WebCore::Extensions3DOpenGL::createVertexArrayOES): 45 (WebCore::Extensions3DOpenGL::deleteVertexArrayOES): 46 (WebCore::Extensions3DOpenGL::isVertexArrayOES): 47 (WebCore::Extensions3DOpenGL::bindVertexArrayOES): 48 (WebCore::Extensions3DOpenGL::supportsExtension): 49 * platform/graphics/opengl/Extensions3DOpenGL.h: 50 * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp: 51 * platform/graphics/opengl/Extensions3DOpenGLES.h: 52 * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: 53 * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: 54 (WebCore::GraphicsContext3D::reshape): 55 * platform/graphics/opengl/TemporaryOpenGLSetting.cpp: 56 * platform/graphics/texmap/TextureMapper.h: 57 * platform/network/ResourceHandle.h: 58 * plugins/PluginPackage.cpp: 59 * plugins/PluginView.cpp: 60 (WebCore::PluginView::PluginView): 61 * plugins/PluginView.h: 62 * plugins/PluginViewNone.cpp: 63 * rendering/SimpleLineLayout.cpp: 64 (WebCore::SimpleLineLayout::canUseFor): 65 1 66 2014-01-21 Eric Carlson <eric.carlson@apple.com> 2 67 -
trunk/Source/WebCore/editing/Editor.cpp
r161851 r162451 564 564 #endif 565 565 566 #if !PLATFORM(MAC) && !PLATFORM(EFL) && !PLATFORM(NIX)566 #if !PLATFORM(MAC) && !PLATFORM(EFL) 567 567 void Editor::pasteWithPasteboard(Pasteboard* pasteboard, bool allowPlainText) 568 568 { … … 1284 1284 Pasteboard::createForCopyAndPaste()->writePlainText(selectedTextForClipboard(), canSmartCopyOrDelete() ? Pasteboard::CanSmartReplace : Pasteboard::CannotSmartReplace); 1285 1285 else { 1286 #if PLATFORM(MAC) || PLATFORM(EFL) || PLATFORM(NIX)1286 #if PLATFORM(MAC) || PLATFORM(EFL) 1287 1287 writeSelectionToPasteboard(*Pasteboard::createForCopyAndPaste()); 1288 1288 #else … … 1311 1311 } else { 1312 1312 if (HTMLImageElement* imageElement = imageElementFromImageDocument(document())) { 1313 #if PLATFORM(MAC) || PLATFORM(EFL) || PLATFORM(NIX)1313 #if PLATFORM(MAC) || PLATFORM(EFL) 1314 1314 writeImageToPasteboard(*Pasteboard::createForCopyAndPaste(), *imageElement, document().url(), document().title()); 1315 1315 #else … … 1317 1317 #endif 1318 1318 } else { 1319 #if PLATFORM(MAC) || PLATFORM(EFL) || PLATFORM(NIX)1319 #if PLATFORM(MAC) || PLATFORM(EFL) 1320 1320 writeSelectionToPasteboard(*Pasteboard::createForCopyAndPaste()); 1321 1321 #else … … 1421 1421 url = result.absoluteImageURL(); 1422 1422 1423 #if PLATFORM(MAC) || PLATFORM(EFL) || PLATFORM(NIX)1423 #if PLATFORM(MAC) || PLATFORM(EFL) 1424 1424 writeImageToPasteboard(*Pasteboard::createForCopyAndPaste(), *element, url, result.altDisplayString()); 1425 1425 #else -
trunk/Source/WebCore/editing/Editor.h
r161638 r162451 435 435 #endif 436 436 437 #if PLATFORM(MAC) || PLATFORM(EFL) || PLATFORM(NIX)437 #if PLATFORM(MAC) || PLATFORM(EFL) 438 438 void writeSelectionToPasteboard(Pasteboard&); 439 439 void writeImageToPasteboard(Pasteboard&, Element& imageElement, const URL&, const String& title); -
trunk/Source/WebCore/html/HTMLCanvasElement.h
r162158 r162451 34 34 #include <wtf/Forward.h> 35 35 36 #if USE(CG) || PLATFORM(NIX)36 #if USE(CG) 37 37 #define DefaultInterpolationQuality InterpolationLow 38 38 #else -
trunk/Source/WebCore/loader/EmptyClients.h
r162227 r162451 196 196 #endif 197 197 198 #if PLATFORM(NIX)199 virtual FloatRect screenRect() const override { return FloatRect(); }200 #endif201 202 198 #if PLATFORM(IOS) 203 199 #if ENABLE(TOUCH_EVENTS) -
trunk/Source/WebCore/loader/FrameLoader.cpp
r162264 r162451 955 955 mimeType = mimeTypeFromURL(url); 956 956 957 #if !PLATFORM(MAC) && !PLATFORM(EFL) && !PLATFORM(NIX) // Mac has no PluginDatabase, nor does Nix orEFL957 #if !PLATFORM(MAC) && !PLATFORM(EFL) // Mac has no PluginDatabase, nor does EFL 958 958 if (mimeType.isEmpty()) { 959 959 String decodedPath = decodeURLEscapeSequences(url.path()); … … 965 965 return ObjectContentFrame; // Go ahead and hope that we can display the content. 966 966 967 #if !PLATFORM(MAC) && !PLATFORM(EFL) && !PLATFORM(NIX) // Mac has no PluginDatabase, nor does Nix orEFL967 #if !PLATFORM(MAC) && !PLATFORM(EFL) // Mac has no PluginDatabase, nor does EFL 968 968 bool plugInSupportsMIMEType = PluginDatabase::installedPlugins()->isMIMETypeRegistered(mimeType); 969 969 #else -
trunk/Source/WebCore/page/ChromeClient.h
r162099 r162451 367 367 #endif 368 368 369 #if PLATFORM(NIX)370 virtual FloatRect screenRect() const = 0;371 #endif372 373 369 #if ENABLE(TOUCH_EVENTS) 374 370 virtual void needTouchEvents(bool) = 0; -
trunk/Source/WebCore/page/DragController.cpp
r161577 r162451 769 769 clipboard.pasteboard().writePlainText(src.editor().selectedTextForClipboard(), Pasteboard::CannotSmartReplace); 770 770 else { 771 #if PLATFORM(MAC) || PLATFORM(EFL) || PLATFORM(NIX)771 #if PLATFORM(MAC) || PLATFORM(EFL) 772 772 src.editor().writeSelectionToPasteboard(clipboard.pasteboard()); 773 773 #else -
trunk/Source/WebCore/platform/Cursor.h
r161662 r162451 73 73 #elif PLATFORM(EFL) 74 74 typedef const char* PlatformCursor; 75 #elif PLATFORM(NIX)76 typedef unsigned PlatformCursor;77 75 #else 78 76 typedef void* PlatformCursor; -
trunk/Source/WebCore/platform/DragData.h
r161944 r162451 55 55 } 56 56 typedef WebCore::DataObjectGtk* DragDataRef; 57 #elif PLATFORM(EFL) || PLATFORM( NIX) || PLATFORM(IOS)57 #elif PLATFORM(EFL) || PLATFORM(IOS) 58 58 typedef void* DragDataRef; 59 59 #endif -
trunk/Source/WebCore/platform/DragImage.h
r161729 r162451 42 42 #elif PLATFORM(WIN) 43 43 typedef struct HBITMAP__* HBITMAP; 44 #elif PLATFORM(GTK) || PLATFORM(NIX)44 #elif PLATFORM(GTK) 45 45 typedef struct _cairo_surface cairo_surface_t; 46 46 #endif … … 64 64 #elif PLATFORM(WIN) 65 65 typedef HBITMAP DragImageRef; 66 #elif PLATFORM(GTK) || PLATFORM(NIX)66 #elif PLATFORM(GTK) 67 67 typedef cairo_surface_t* DragImageRef; 68 68 #elif PLATFORM(EFL) -
trunk/Source/WebCore/platform/FileSystem.h
r161589 r162451 192 192 #endif 193 193 194 #if PLATFORM(GTK) || PLATFORM(NIX)194 #if PLATFORM(GTK) 195 195 String filenameToString(const char*); 196 196 String filenameForDisplay(const String&); -
trunk/Source/WebCore/platform/LocalizedStrings.h
r161589 r162451 55 55 String contextMenuItemTagDownloadImageToDisk(); 56 56 String contextMenuItemTagCopyImageToClipboard(); 57 #if PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(NIX)57 #if PLATFORM(GTK) || PLATFORM(EFL) 58 58 String contextMenuItemTagCopyImageUrlToClipboard(); 59 59 #endif … … 81 81 String contextMenuItemTagUnicodeInsertZWNJMark(); 82 82 #endif 83 #if PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(NIX)83 #if PLATFORM(GTK) || PLATFORM(EFL) 84 84 String contextMenuItemTagSelectAll(); 85 85 #endif -
trunk/Source/WebCore/platform/Widget.h
r161680 r162451 60 60 #endif 61 61 62 #if PLATFORM(NIX)63 typedef void* PlatformWidget;64 #endif65 66 62 #if PLATFORM(EFL) 67 63 #if USE(EO) -
trunk/Source/WebCore/platform/audio/FFTFrame.h
r162368 r162451 67 67 #include <ipps.h> 68 68 #endif // USE(WEBAUDIO_IPP) 69 70 #if PLATFORM(NIX)71 #include <public/FFTFrame.h>72 #endif73 69 74 70 #include <memory> … … 183 179 #endif // USE(WEBAUDIO_IPP) 184 180 185 #if PLATFORM(NIX)186 OwnPtr<Nix::FFTFrame> m_fftFrame;187 #endif // PLATFORM(NIX)188 189 181 #if USE(WEBAUDIO_OPENMAX_DL_FFT) 190 182 static OMXFFTSpec_R_F32* contextForSize(unsigned log2FFTSize); -
trunk/Source/WebCore/platform/audio/HRTFElevation.cpp
r162368 r162451 59 59 const float ResponseSampleRate = 44100; 60 60 61 #if PLATFORM(MAC) || USE(WEBAUDIO_GSTREAMER) || PLATFORM(NIX)61 #if PLATFORM(MAC) || USE(WEBAUDIO_GSTREAMER) 62 62 #define USE_CONCATENATED_IMPULSE_RESPONSES 63 63 #endif -
trunk/Source/WebCore/platform/cairo/WidgetBackingStore.h
r155358 r162451 40 40 #elif PLATFORM(EFL) 41 41 typedef Evas_Object* PlatformWidget; 42 #elif PLATFORM(NIX)43 typedef void* PlatformWidget;44 42 #endif 45 43 -
trunk/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h
r161680 r162451 30 30 #include <wtf/text/WTFString.h> 31 31 32 #if !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(WIN) && !PLATFORM(NIX)32 #if !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(WIN) 33 33 #include "ANGLE/ShaderLang.h" 34 34 #elif PLATFORM(WIN) -
trunk/Source/WebCore/platform/graphics/FontPlatformData.h
r161680 r162451 26 26 #if USE(WINGDI) 27 27 #include "wince/FontPlatformData.h" 28 #elif PLATFORM(EFL) || PLATFORM(GTK) || PLATFORM(NIX)28 #elif PLATFORM(EFL) || PLATFORM(GTK) 29 29 #include "freetype/FontPlatformData.h" 30 30 #else -
trunk/Source/WebCore/platform/graphics/GLContext.cpp
r160997 r162451 20 20 #include "GLContext.h" 21 21 22 #if USE(OPENGL) || (PLATFORM(NIX) && USE(OPENGL_ES_2))22 #if USE(OPENGL) 23 23 24 24 #if USE(EGL) … … 155 155 #endif 156 156 157 #if !PLATFORM(NIX)158 157 #if USE(GLX) 159 158 if (OwnPtr<GLContext> glxContext = GLContextGLX::createContext(windowHandle, sharingContext)) … … 164 163 return eglContext.release(); 165 164 #endif 166 #endif167 165 return nullptr; 168 166 } -
trunk/Source/WebCore/platform/graphics/GLContext.h
r160045 r162451 26 26 #include <wtf/PassOwnPtr.h> 27 27 28 #if USE(EGL) && !PLATFORM(GTK) && !PLATFORM(NIX)28 #if USE(EGL) && !PLATFORM(GTK) 29 29 #include "eglplatform.h" 30 30 typedef EGLNativeWindowType GLNativeWindowType; -
trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h
r161889 r162451 61 61 OBJC_CLASS CALayer; 62 62 OBJC_CLASS WebGLLayer; 63 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(NIX)63 #elif PLATFORM(GTK) || PLATFORM(EFL) 64 64 typedef unsigned int GLuint; 65 65 #endif … … 988 988 bool reshapeFBOs(const IntSize&); 989 989 void resolveMultisamplingIfNecessary(const IntRect& = IntRect()); 990 #if (PLATFORM(EFL) || PLATFORM(NIX)) && USE(GRAPHICS_SURFACE)990 #if PLATFORM(EFL) && USE(GRAPHICS_SURFACE) 991 991 void createGraphicsSurfaces(const IntSize&); 992 992 #endif … … 1093 1093 OwnPtr<ShaderNameHash> nameHashMapForShaders; 1094 1094 1095 #if ((PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)) && USE(OPENGL_ES_2))1095 #if ((PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN)) && USE(OPENGL_ES_2)) 1096 1096 friend class Extensions3DOpenGLES; 1097 1097 OwnPtr<Extensions3DOpenGLES> m_extensions; -
trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp
r156336 r162451 26 26 #include "NotImplemented.h" 27 27 #include <wtf/StdLibExtras.h> 28 29 #if PLATFORM(NIX) && USE(EGL)30 #include "GLContextFromCurrentEGL.h"31 #endif32 28 33 29 #if USE(CAIRO) … … 64 60 break; 65 61 case GraphicsContext3D::RenderToCurrentGLContext: 66 #if PLATFORM(NIX) && USE(EGL)67 m_glContext = GLContextFromCurrentEGL::createFromCurrentGLContext();68 #endif69 62 break; 70 63 case GraphicsContext3D::RenderDirectlyToHostWindow: -
trunk/Source/WebCore/platform/graphics/OpenGLESShims.h
r161699 r162451 27 27 #define OpenGLESShims_h 28 28 29 #if PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)29 #if PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) 30 30 #define glBindFramebufferEXT glBindFramebuffer 31 31 #define glFramebufferTexture2DEXT glFramebufferTexture2D -
trunk/Source/WebCore/platform/graphics/OpenGLShims.cpp
r156795 r162451 27 27 #endif 28 28 29 #if PLATFORM(NIX) && USE(EGL)30 #include <EGL/egl.h>31 #endif32 33 29 #include <wtf/text/CString.h> 34 30 #include <wtf/text/WTFString.h> … … 46 42 { 47 43 return GetProcAddress(GetModuleHandleA("libGLESv2"), procName); 48 }49 #elif PLATFORM(NIX) && USE(EGL)50 static void* getProcAddress(const char* procName)51 {52 return reinterpret_cast<void*>(eglGetProcAddress(procName));53 44 } 54 45 #else … … 109 100 } 110 101 111 #if PLATFORM(NIX) && USE(OPENGL_ES_2)112 113 // With Angle only EGL/GLES2 extensions are available through eglGetProcAddress, not the regular standardized functions.114 #define ASSIGN_FUNCTION_TABLE_ENTRY(FunctionName, success) \115 openGLFunctionTable()->FunctionName = reinterpret_cast<FunctionName##Type>(::FunctionName)116 117 #else118 119 102 #define ASSIGN_FUNCTION_TABLE_ENTRY(FunctionName, success) \ 120 103 openGLFunctionTable()->FunctionName = reinterpret_cast<FunctionName##Type>(lookupOpenGLFunctionAddress(#FunctionName, &success)) 121 122 #endif123 104 124 105 #define ASSIGN_FUNCTION_TABLE_ENTRY_EXT(FunctionName) \ -
trunk/Source/WebCore/platform/graphics/OpenGLShims.h
r156795 r162451 21 21 #define OpenGLShims_h 22 22 23 #if PLATFORM(NIX) && USE(OPENGL_ES_2)24 #include <GLES2/gl2.h>25 #else26 23 #include <GL/gl.h> 27 24 #include <GL/glext.h> 28 #endif29 25 30 26 #if defined(GL_ES_VERSION_2_0) -
trunk/Source/WebCore/platform/graphics/PlatformLayer.h
r161699 r162451 46 46 }; 47 47 #endif 48 #elif PLATFORM(EFL) || PLATFORM(NIX)48 #elif PLATFORM(EFL) 49 49 #if USE(TEXTURE_MAPPER) 50 50 namespace WebCore { -
trunk/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp
r159939 r162451 34 34 #include <wtf/text/WTFString.h> 35 35 36 #if !PLATFORM(EFL) && !PLATFORM(NIX)36 #if !PLATFORM(EFL) 37 37 #include <gdk/gdk.h> 38 38 #endif -
trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.cpp
r161688 r162451 39 39 #include "ANGLE/ShaderLang.h" 40 40 #include <OpenGL/gl.h> 41 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)41 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) 42 42 #include "OpenGLShims.h" 43 43 #endif … … 87 87 m_context->makeContextCurrent(); 88 88 GLuint array = 0; 89 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX))89 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN)) 90 90 if (isVertexArrayObjectSupported()) 91 91 glGenVertexArrays(1, &array); … … 102 102 103 103 m_context->makeContextCurrent(); 104 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX))104 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN)) 105 105 if (isVertexArrayObjectSupported()) 106 106 glDeleteVertexArrays(1, &array); … … 116 116 117 117 m_context->makeContextCurrent(); 118 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX))118 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN)) 119 119 if (isVertexArrayObjectSupported()) 120 120 return glIsVertexArray(array); … … 132 132 133 133 m_context->makeContextCurrent(); 134 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX))134 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN)) 135 135 if (isVertexArrayObjectSupported()) 136 136 glBindVertexArray(array); … … 186 186 // GL_OES_vertex_array_object 187 187 if (name == "GL_OES_vertex_array_object") { 188 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(NIX))188 #if (PLATFORM(GTK) || PLATFORM(EFL)) 189 189 return m_availableExtensions.contains("GL_ARB_vertex_array_object"); 190 190 #else … … 237 237 } 238 238 239 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX))239 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN)) 240 240 bool Extensions3DOpenGL::isVertexArrayObjectSupported() 241 241 { -
trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h
r156795 r162451 61 61 virtual bool supportsExtension(const WTF::String&); 62 62 virtual String getExtensions(); 63 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX))63 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN)) 64 64 private: 65 65 bool isVertexArrayObjectSupported(); -
trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
r161699 r162451 42 42 #elif PLATFORM(MAC) 43 43 #include <OpenGL/gl.h> 44 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)44 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) 45 45 #include "OpenGLShims.h" 46 46 #endif -
trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h
r161699 r162451 56 56 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GC3Dsizei bufSize, float *params); 57 57 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GC3Dsizei bufSize, GLint *params); 58 #endif59 60 #if PLATFORM(NIX) && USE(OPENGL_ES_2) && !GL_IMG_multisampled_render_to_texture61 // on rPi, PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG is called PFNGLCLIPPLANEXIMG.62 typedef PFNGLCLIPPLANEXIMG PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG;63 58 #endif 64 59 -
trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
r162105 r162451 52 52 #elif PLATFORM(MAC) 53 53 #include <OpenGL/gl.h> 54 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)54 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) 55 55 #include "OpenGLShims.h" 56 56 #endif -
trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
r162105 r162451 69 69 #elif PLATFORM(MAC) 70 70 #include <OpenGL/gl.h> 71 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)71 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) 72 72 #include "OpenGLShims.h" 73 73 #endif … … 272 272 markContextChanged(); 273 273 274 #if (PLATFORM(EFL) || PLATFORM(NIX)) && USE(GRAPHICS_SURFACE)274 #if PLATFORM(EFL) && USE(GRAPHICS_SURFACE) 275 275 ::glFlush(); // Make sure all GL calls have been committed before resizing. 276 276 createGraphicsSurfaces(IntSize(width, height)); -
trunk/Source/WebCore/platform/graphics/opengl/TemporaryOpenGLSetting.cpp
r161693 r162451 37 37 #elif PLATFORM(MAC) 38 38 #include <OpenGL/gl.h> 39 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)39 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) 40 40 #include "OpenGLShims.h" 41 41 #endif -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapper.h
r156795 r162451 23 23 #if USE(ACCELERATED_COMPOSITING) && USE(TEXTURE_MAPPER) 24 24 25 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(NIX)) && USE(OPENGL_ES_2)25 #if (PLATFORM(GTK) || PLATFORM(EFL)) && USE(OPENGL_ES_2) 26 26 #define TEXMAP_OPENGL_ES_2 27 27 #endif -
trunk/Source/WebCore/platform/network/ResourceHandle.h
r162139 r162451 151 151 #endif // USE(CFNETWORK) 152 152 153 #if (PLATFORM(WIN) || PLATFORM(NIX)) && USE(CURL)153 #if PLATFORM(WIN) && USE(CURL) 154 154 static void setHostAllowsAnyHTTPSCertificate(const String&); 155 155 #endif -
trunk/Source/WebCore/plugins/PluginPackage.cpp
r156813 r162451 177 177 #endif 178 178 179 #if defined(XP_UNIX) && !PLATFORM(NIX)179 #if defined(XP_UNIX) 180 180 void PluginPackage::determineQuirks(const String& mimeType) 181 181 { -
trunk/Source/WebCore/plugins/PluginView.cpp
r160457 r162451 834 834 , m_haveUpdatedPluginWidget(false) 835 835 #endif 836 #if PLATFORM(EFL) || PLATFORM(NIX)836 #if PLATFORM(EFL) 837 837 , m_window(0) 838 838 #endif -
trunk/Source/WebCore/plugins/PluginView.h
r162139 r162451 355 355 #endif 356 356 357 #if (PLATFORM(GTK) && OS(WINDOWS)) || PLATFORM(EFL) || PLATFORM(NIX)357 #if (PLATFORM(GTK) && OS(WINDOWS)) || PLATFORM(EFL) 358 358 // On Mac OSX and Qt/Windows the plugin does not have its own native widget, 359 359 // but is using the containing window as its reference for positioning/painting. -
trunk/Source/WebCore/plugins/PluginViewNone.cpp
r156813 r162451 133 133 // added, please make sure they have the proper platform #ifs so that changes 134 134 // do not break ports who compile both this file and PluginView.cpp. 135 #if PLATFORM(MAC) || PLATFORM(EFL) || OS(WINCE) || PLATFORM(NIX)135 #if PLATFORM(MAC) || PLATFORM(EFL) || OS(WINCE) 136 136 #if ENABLE(NETSCAPE_PLUGIN_API) 137 137 void PluginView::keepAlive(NPP) -
trunk/Source/WebCore/rendering/SimpleLineLayout.cpp
r161696 r162451 91 91 bool canUseFor(const RenderBlockFlow& flow) 92 92 { 93 #if !PLATFORM(MAC) && !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(NIX)93 #if !PLATFORM(MAC) && !PLATFORM(GTK) && !PLATFORM(EFL) 94 94 // FIXME: Non-mac platforms are hitting ASSERT(run.charactersLength() >= run.length()) 95 95 // https://bugs.webkit.org/show_bug.cgi?id=123338
Note: See TracChangeset
for help on using the changeset viewer.