Changeset 155358 in webkit
- Timestamp:
- Sep 9, 2013 10:16:37 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r155356 r155358 1 2013-09-09 Hugo Parente Lima <hugo.lima@openbossa.org> 2 3 Preparing WebCore to receive Nix Port 4 https://bugs.webkit.org/show_bug.cgi?id=118326 5 6 Reviewed by Eric Carlson. 7 8 Only adding the compilation directives that are Nix specific, in the 9 existent WebCore files 10 11 * loader/FrameLoader.cpp: 12 (WebCore::FrameLoader::defaultObjectContentType): 13 * platform/Cursor.h: 14 * platform/DragData.h: 15 * platform/DragImage.h: 16 * platform/FileSystem.h: 17 * platform/RunLoop.h: 18 * platform/Widget.h: 19 * platform/audio/FFTFrame.h: 20 * platform/audio/HRTFElevation.cpp: 21 * platform/cairo/WidgetBackingStore.h: 22 * platform/graphics/ANGLEWebKitBridge.h: 23 * platform/graphics/FontPlatformData.h: 24 * platform/graphics/GraphicsContext3D.cpp: 25 * platform/graphics/GraphicsContext3D.h: 26 * platform/graphics/OpenGLESShims.h: 27 * platform/graphics/OpenGLShims.cpp: 28 (WebCore::getProcAddress): 29 * platform/graphics/OpenGLShims.h: 30 * platform/graphics/PlatformLayer.h: 31 * platform/graphics/cairo/GLContext.cpp: 32 (WebCore::GLContext::createContextForWindow): 33 * platform/graphics/cairo/GraphicsContext3DPrivate.cpp: 34 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate): 35 * platform/graphics/freetype/FontPlatformDataFreeType.cpp: 36 * platform/graphics/opengl/Extensions3DOpenGL.cpp: 37 (WebCore::Extensions3DOpenGL::createVertexArrayOES): 38 (WebCore::Extensions3DOpenGL::deleteVertexArrayOES): 39 (WebCore::Extensions3DOpenGL::isVertexArrayOES): 40 (WebCore::Extensions3DOpenGL::bindVertexArrayOES): 41 (WebCore::Extensions3DOpenGL::supportsExtension): 42 * platform/graphics/opengl/Extensions3DOpenGL.h: 43 * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp: 44 * platform/graphics/opengl/Extensions3DOpenGLES.h: 45 * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: 46 * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: 47 (WebCore::GraphicsContext3D::reshape): 48 * platform/graphics/texmap/TextureMapper.h: 49 * plugins/PluginPackage.cpp: 50 * plugins/PluginView.cpp: 51 (WebCore::PluginView::PluginView): 52 * plugins/PluginView.h: 53 * plugins/PluginViewNone.cpp: 54 1 55 2013-09-08 Darin Adler <darin@apple.com> 2 56 -
trunk/Source/WebCore/loader/FrameLoader.cpp
r155300 r155358 907 907 mimeType = mimeTypeFromURL(url); 908 908 909 #if !PLATFORM(MAC) && !PLATFORM(EFL) // Mac has no PluginDatabase, nor does Chromiumor EFL909 #if !PLATFORM(MAC) && !PLATFORM(EFL) && !PLATFORM(NIX) // Mac has no PluginDatabase, nor does Nix or EFL 910 910 if (mimeType.isEmpty()) { 911 911 String decodedPath = decodeURLEscapeSequences(url.path()); … … 917 917 return ObjectContentFrame; // Go ahead and hope that we can display the content. 918 918 919 #if !PLATFORM(MAC) && !PLATFORM(EFL) // Mac has no PluginDatabase, nor does Chromiumor EFL919 #if !PLATFORM(MAC) && !PLATFORM(EFL) && !PLATFORM(NIX) // Mac has no PluginDatabase, nor does Nix or EFL 920 920 bool plugInSupportsMIMEType = PluginDatabase::installedPlugins()->isMIMETypeRegistered(mimeType); 921 921 #else -
trunk/Source/WebCore/platform/Cursor.h
r149186 r155358 57 57 58 58 // Looks like it's just PLATFORM(BLACKBERRY) still not using this? 59 #if PLATFORM(WIN) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) 59 #if PLATFORM(WIN) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(NIX) 60 60 #define WTF_USE_LAZY_NATIVE_CURSOR 1 61 61 #endif … … 80 80 #elif PLATFORM(GTK) 81 81 typedef GRefPtr<GdkCursor> PlatformCursor; 82 #elif PLATFORM(EFL) 82 #elif PLATFORM(EFL) || PLATFORM(NIX) 83 83 typedef const char* PlatformCursor; 84 84 #elif PLATFORM(QT) && !defined(QT_NO_CURSOR) -
trunk/Source/WebCore/platform/DragData.h
r154493 r155358 61 61 } 62 62 typedef WebCore::DataObjectGtk* DragDataRef; 63 #elif PLATFORM(EFL) || PLATFORM(BLACKBERRY) 63 #elif PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(NIX) 64 64 typedef void* DragDataRef; 65 65 #endif -
trunk/Source/WebCore/platform/DragImage.h
r154088 r155358 62 62 #elif PLATFORM(GTK) 63 63 typedef cairo_surface_t* DragImageRef; 64 #elif PLATFORM(EFL) || PLATFORM(BLACKBERRY) 64 #elif PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(NIX) 65 65 typedef void* DragImageRef; 66 66 #endif -
trunk/Source/WebCore/platform/FileSystem.h
r151111 r155358 62 62 #endif 63 63 64 #if PLATFORM(GTK)64 #if USE(GLIB) 65 65 typedef struct _GFileIOStream GFileIOStream; 66 66 typedef struct _GModule GModule; … … 76 76 #if OS(WINDOWS) 77 77 typedef HMODULE PlatformModule; 78 #elif PLATFORM(GTK)79 typedef GModule* PlatformModule;80 78 #elif PLATFORM(EFL) 81 79 typedef Eina_Module* PlatformModule; … … 88 86 typedef void* PlatformModule; 89 87 #endif 88 #elif USE(GLIB) 89 typedef GModule* PlatformModule; 90 90 #elif USE(CF) 91 91 typedef CFBundleRef PlatformModule; … … 121 121 typedef QFile* PlatformFileHandle; 122 122 const PlatformFileHandle invalidPlatformFileHandle = 0; 123 #elif PLATFORM(GTK)123 #elif USE(GLIB) && !PLATFORM(EFL) 124 124 typedef GFileIOStream* PlatformFileHandle; 125 125 const PlatformFileHandle invalidPlatformFileHandle = 0; … … 213 213 #endif 214 214 215 #if PLATFORM(GTK) 215 #if PLATFORM(GTK) || PLATFORM(NIX) 216 216 String filenameToString(const char*); 217 217 String filenameForDisplay(const String&); -
trunk/Source/WebCore/platform/RunLoop.h
r149444 r155358 37 37 #include <wtf/Threading.h> 38 38 39 #if PLATFORM(GTK)39 #if USE(GLIB) 40 40 #include <wtf/gobject/GRefPtr.h> 41 41 #endif … … 100 100 int m_ID; 101 101 bool m_isRepeating; 102 #elif PLATFORM(GTK) 102 #elif PLATFORM(EFL) 103 static bool timerFired(void* data); 104 Ecore_Timer* m_timer; 105 bool m_isRepeating; 106 #elif USE(GLIB) 103 107 static gboolean timerFiredCallback(RunLoop::TimerBase*); 104 108 gboolean isRepeating() const { return m_isRepeating; } … … 106 110 GRefPtr<GSource> m_timerSource; 107 111 gboolean m_isRepeating; 108 #elif PLATFORM(EFL)109 static bool timerFired(void* data);110 Ecore_Timer* m_timer;111 bool m_isRepeating;112 112 #endif 113 113 }; … … 160 160 class TimerObject; 161 161 TimerObject* m_timerObject; 162 #elif PLATFORM(GTK)163 public:164 static gboolean queueWork(RunLoop*);165 GMainLoop* innermostLoop();166 void pushNestedMainLoop(GMainLoop*);167 void popNestedMainLoop();168 private:169 GRefPtr<GMainContext> m_runLoopContext;170 Vector<GRefPtr<GMainLoop> > m_runLoopMainLoops;171 162 #elif PLATFORM(EFL) 172 163 bool m_initEfl; … … 179 170 180 171 static void wakeUpEvent(void* data, void*, unsigned int); 172 #elif USE(GLIB) 173 public: 174 static gboolean queueWork(RunLoop*); 175 GMainLoop* innermostLoop(); 176 void pushNestedMainLoop(GMainLoop*); 177 void popNestedMainLoop(); 178 private: 179 GRefPtr<GMainContext> m_runLoopContext; 180 Vector<GRefPtr<GMainLoop> > m_runLoopMainLoops; 181 181 #endif 182 182 }; -
trunk/Source/WebCore/platform/Widget.h
r152757 r155358 66 66 #endif 67 67 68 #if PLATFORM(BLACKBERRY) 68 #if PLATFORM(BLACKBERRY) || PLATFORM(NIX) 69 69 typedef void* PlatformWidget; 70 70 #endif -
trunk/Source/WebCore/platform/audio/FFTFrame.h
r155262 r155358 68 68 #endif // USE(WEBAUDIO_IPP) 69 69 70 #if PLATFORM(NIX) 71 #include <public/FFTFrame.h> 72 #endif 73 70 74 #include <wtf/Forward.h> 71 75 #include <wtf/PassOwnPtr.h> … … 179 183 #endif // USE(WEBAUDIO_IPP) 180 184 185 #if PLATFORM(NIX) 186 void scalePlanarData(float scale); 187 OwnPtr<Nix::FFTFrame> m_fftFrame; 188 #endif // PLATFORM(NIX) 189 181 190 #if USE(WEBAUDIO_OPENMAX_DL_FFT) 182 191 static OMXFFTSpec_R_F32* contextForSize(unsigned log2FFTSize); -
trunk/Source/WebCore/platform/audio/HRTFElevation.cpp
r149778 r155358 62 62 const float ResponseSampleRate = 44100; 63 63 64 #if PLATFORM(MAC) || USE(WEBAUDIO_GSTREAMER) 64 #if PLATFORM(MAC) || USE(WEBAUDIO_GSTREAMER) || PLATFORM(NIX) 65 65 #define USE_CONCATENATED_IMPULSE_RESPONSES 66 66 #endif -
trunk/Source/WebCore/platform/cairo/WidgetBackingStore.h
r155251 r155358 40 40 #elif PLATFORM(EFL) 41 41 typedef Evas_Object* PlatformWidget; 42 #elif PLATFORM(NIX) 43 typedef void* PlatformWidget; 42 44 #endif 43 45 -
trunk/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h
r151854 r155358 30 30 #include <wtf/text/WTFString.h> 31 31 32 #if !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(BLACKBERRY) && !PLATFORM(QT) && !PLATFORM(WIN) 32 #if !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(BLACKBERRY) && !PLATFORM(QT) && !PLATFORM(WIN) && !PLATFORM(NIX) 33 33 #include "ANGLE/ShaderLang.h" 34 34 #elif PLATFORM(WIN) -
trunk/Source/WebCore/platform/graphics/FontPlatformData.h
r151743 r155358 30 30 #elif USE(WINGDI) 31 31 #include "wince/FontPlatformData.h" 32 #elif PLATFORM(EFL) || PLATFORM(GTK) 32 #elif PLATFORM(EFL) || PLATFORM(GTK) || PLATFORM(NIX) 33 33 #include "freetype/FontPlatformData.h" 34 34 #else -
trunk/Source/WebCore/platform/graphics/GLContext.cpp
r153492 r155358 20 20 #include "GLContext.h" 21 21 22 #if USE(OPENGL) 22 #if USE(OPENGL) || (PLATFORM(NIX) && USE(OPENGL_ES_2)) 23 23 24 24 #if USE(EGL) … … 160 160 #endif 161 161 162 #if !PLATFORM(NIX) 162 163 #if USE(GLX) 163 164 if (OwnPtr<GLContext> glxContext = GLContextGLX::createContext(windowHandle, sharingContext)) … … 168 169 return eglContext.release(); 169 170 #endif 171 #endif 170 172 return nullptr; 171 173 } -
trunk/Source/WebCore/platform/graphics/GraphicsContext3D.cpp
r155262 r155358 1472 1472 } 1473 1473 1474 #if !PLATFORM(BLACKBERRY) && !PLATFORM(QT) && !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(MAC) && !PLATFORM(WIN) 1474 #if !PLATFORM(BLACKBERRY) && !PLATFORM(QT) && !PLATFORM(GTK) && !PLATFORM(EFL) && !PLATFORM(MAC) && !PLATFORM(WIN) && !PLATFORM(NIX) 1475 1475 PlatformGraphicsContext3D GraphicsContext3D::platformGraphicsContext3D() const 1476 1476 { -
trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h
r155262 r155358 50 50 #endif 51 51 52 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) 52 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) || PLATFORM(NIX) 53 53 #include "ANGLEWebKitBridge.h" 54 54 #endif … … 65 65 class QSurface; 66 66 QT_END_NAMESPACE 67 #elif PLATFORM(GTK) || PLATFORM(EFL) 67 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(NIX) 68 68 typedef unsigned int GLuint; 69 69 #endif … … 498 498 bool makeContextCurrent(); 499 499 500 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) 500 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) || PLATFORM(NIX) 501 501 // With multisampling on, blit from multisampleFBO to regular FBO. 502 502 void prepareTexture(); … … 926 926 static bool packPixels(const uint8_t* sourceData, DataFormat sourceDataFormat, unsigned width, unsigned height, unsigned sourceUnpackAlignment, unsigned destinationFormat, unsigned destinationType, AlphaOp, void* destinationData, bool flipY); 927 927 928 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) 928 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) || PLATFORM(NIX) 929 929 // Take into account the user's requested context creation attributes, 930 930 // in particular stencil and antialias, and determine which could or … … 947 947 bool reshapeFBOs(const IntSize&); 948 948 void resolveMultisamplingIfNecessary(const IntRect& = IntRect()); 949 #if (PLATFORM(QT) || PLATFORM(EFL) ) && USE(GRAPHICS_SURFACE)949 #if (PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(NIX)) && USE(GRAPHICS_SURFACE) 950 950 void createGraphicsSurfaces(const IntSize&); 951 951 #endif … … 966 966 #endif 967 967 968 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) 968 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) || PLATFORM(NIX) 969 969 struct SymbolInfo { 970 970 SymbolInfo() -
trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp
r153843 r155358 26 26 #include "NotImplemented.h" 27 27 #include <wtf/OwnArrayPtr.h> 28 29 #if PLATFORM(NIX) && USE(EGL) 30 #include "GLContextFromCurrentEGL.h" 31 #endif 28 32 29 33 #if USE(CAIRO) … … 60 64 break; 61 65 case GraphicsContext3D::RenderToCurrentGLContext: 66 #if PLATFORM(NIX) && USE(EGL) 67 m_glContext = GLContextFromCurrentEGL::createFromCurrentGLContext(); 68 #endif 62 69 break; 63 70 case GraphicsContext3D::RenderDirectlyToHostWindow: -
trunk/Source/WebCore/platform/graphics/OpenGLESShims.h
r151805 r155358 27 27 #define OpenGLESShims_h 28 28 29 #if PLATFORM(BLACKBERRY) || PLATFORM(QT) || PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) 29 #if PLATFORM(BLACKBERRY) || PLATFORM(QT) || PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX) 30 30 #define glBindFramebufferEXT glBindFramebuffer 31 31 #define glFramebufferTexture2DEXT glFramebufferTexture2D -
trunk/Source/WebCore/platform/graphics/OpenGLShims.cpp
r152325 r155358 27 27 #endif 28 28 29 #if PLATFORM(NIX) && USE(EGL) 30 #include <EGL/egl.h> 31 #endif 32 29 33 #include <wtf/text/CString.h> 30 34 #include <wtf/text/WTFString.h> … … 49 53 { 50 54 return GetProcAddress(GetModuleHandleA("libGLESv2"), procName); 55 } 56 #elif PLATFORM(NIX) && USE(EGL) 57 static void* getProcAddress(const char* procName) 58 { 59 return reinterpret_cast<void*>(eglGetProcAddress(procName)); 51 60 } 52 61 #else … … 107 116 } 108 117 109 #if PLATFORM(QT) && defined(QT_OPENGL_ES_2)118 #if (PLATFORM(QT) && defined(QT_OPENGL_ES_2)) || (PLATFORM(NIX) && USE(OPENGL_ES_2)) 110 119 111 120 // With Angle only EGL/GLES2 extensions are available through eglGetProcAddress, not the regular standardized functions. -
trunk/Source/WebCore/platform/graphics/OpenGLShims.h
r151854 r155358 26 26 #include <QOpenGLContext> 27 27 #include <QSurface> 28 #elif PLATFORM(NIX) && USE(OPENGL_ES_2) 29 #include <GLES2/gl2.h> 28 30 #else 29 31 #include <GL/gl.h> -
trunk/Source/WebCore/platform/graphics/PlatformLayer.h
r152275 r155358 46 46 }; 47 47 #endif 48 #elif PLATFORM(EFL) 48 #elif PLATFORM(EFL) || PLATFORM(NIX) 49 49 #if USE(TEXTURE_MAPPER) 50 50 namespace WebCore { -
trunk/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp
r141291 r155358 32 32 #include <wtf/text/WTFString.h> 33 33 34 #if !PLATFORM(EFL) 34 #if !PLATFORM(EFL) && !PLATFORM(NIX) 35 35 #include <gdk/gdk.h> 36 36 #endif -
trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.cpp
r151966 r155358 36 36 #include "ANGLE/ShaderLang.h" 37 37 #include <OpenGL/gl.h> 38 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(QT) || PLATFORM(WIN) 38 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(QT) || PLATFORM(WIN) || PLATFORM(NIX) 39 39 #include "OpenGLShims.h" 40 40 #endif … … 66 66 m_context->makeContextCurrent(); 67 67 GLuint array = 0; 68 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) ) || PLATFORM(WIN)68 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)) 69 69 if (isVertexArrayObjectSupported()) 70 70 glGenVertexArrays(1, &array); … … 81 81 82 82 m_context->makeContextCurrent(); 83 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) )83 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)) 84 84 if (isVertexArrayObjectSupported()) 85 85 glDeleteVertexArrays(1, &array); … … 95 95 96 96 m_context->makeContextCurrent(); 97 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) )97 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)) 98 98 if (isVertexArrayObjectSupported()) 99 99 return glIsVertexArray(array); … … 107 107 { 108 108 m_context->makeContextCurrent(); 109 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) )109 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)) 110 110 if (isVertexArrayObjectSupported()) 111 111 glBindVertexArray(array); … … 161 161 // GL_OES_vertex_array_object 162 162 if (name == "GL_OES_vertex_array_object") { 163 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) )163 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(NIX)) 164 164 return m_availableExtensions.contains("GL_ARB_vertex_array_object"); 165 165 #else … … 206 206 } 207 207 208 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) )208 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)) 209 209 bool Extensions3DOpenGL::isVertexArrayObjectSupported() 210 210 { -
trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h
r151966 r155358 61 61 virtual bool supportsExtension(const WTF::String&); 62 62 virtual String getExtensions(); 63 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) )63 #if (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(WIN) || PLATFORM(NIX)) 64 64 private: 65 65 bool isVertexArrayObjectSupported(); -
trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
r151966 r155358 43 43 #elif PLATFORM(MAC) 44 44 #include <OpenGL/gl.h> 45 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(QT) || PLATFORM(WIN) 45 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(QT) || PLATFORM(WIN) || PLATFORM(NIX) 46 46 #include "OpenGLShims.h" 47 47 #endif -
trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h
r144358 r155358 70 70 #endif 71 71 72 #if PLATFORM(NIX) && USE(OPENGL_ES_2) && !GL_IMG_multisampled_render_to_texture 73 // on rPi, PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG is called PFNGLCLIPPLANEXIMG. 74 typedef PFNGLCLIPPLANEXIMG PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG; 75 #endif 76 72 77 namespace WebCore { 73 78 -
trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
r151966 r155358 43 43 #if PLATFORM(MAC) 44 44 #include <OpenGL/gl.h> 45 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(QT) || PLATFORM(WIN) 45 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(QT) || PLATFORM(WIN) || PLATFORM(NIX) 46 46 #include "OpenGLShims.h" 47 47 #endif -
trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
r153728 r155358 58 58 #elif PLATFORM(MAC) 59 59 #include <OpenGL/gl.h> 60 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(QT) || PLATFORM(WIN) 60 #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(QT) || PLATFORM(WIN) || PLATFORM(NIX) 61 61 #include "OpenGLShims.h" 62 62 #endif … … 220 220 return; 221 221 222 #if (PLATFORM(QT) || PLATFORM(EFL) ) && USE(GRAPHICS_SURFACE)222 #if (PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(NIX)) && USE(GRAPHICS_SURFACE) 223 223 ::glFlush(); // Make sure all GL calls have been committed before resizing. 224 224 createGraphicsSurfaces(IntSize(width, height)); -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapper.h
r149980 r155358 29 29 #endif 30 30 #endif 31 #if (PLATFORM(GTK) || PLATFORM(EFL) ) && USE(OPENGL_ES_2)31 #if (PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(NIX)) && USE(OPENGL_ES_2) 32 32 #define TEXMAP_OPENGL_ES_2 33 33 #endif -
trunk/Source/WebCore/plugins/PluginPackage.cpp
r144191 r155358 178 178 #endif 179 179 180 #if defined(XP_UNIX) 180 #if defined(XP_UNIX) && !PLATFORM(NIX) 181 181 void PluginPackage::determineQuirks(const String& mimeType) 182 182 { -
trunk/Source/WebCore/plugins/PluginView.cpp
r155321 r155358 831 831 , m_haveUpdatedPluginWidget(false) 832 832 #endif 833 #if (PLATFORM(QT) && OS(WINDOWS)) || PLATFORM(EFL) 833 #if (PLATFORM(QT) && OS(WINDOWS)) || PLATFORM(EFL) || PLATFORM(NIX) 834 834 , m_window(0) 835 835 #endif -
trunk/Source/WebCore/plugins/PluginView.h
r154385 r155358 370 370 #endif 371 371 372 #if ((PLATFORM(GTK) || PLATFORM(QT)) && OS(WINDOWS)) || PLATFORM(EFL) 372 #if ((PLATFORM(GTK) || PLATFORM(QT)) && OS(WINDOWS)) || PLATFORM(EFL) || PLATFORM(NIX) 373 373 // On Mac OSX and Qt/Windows the plugin does not have its own native widget, 374 374 // but is using the containing window as its reference for positioning/painting. -
trunk/Source/WebCore/plugins/PluginViewNone.cpp
r147888 r155358 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(QT)) || (PLATFORM(QT) && !OS(WINCE)) 135 #if PLATFORM(MAC) || PLATFORM(EFL) || (OS(WINCE) && !PLATFORM(QT)) || (PLATFORM(QT) && !OS(WINCE)) || PLATFORM(NIX) 136 136 #if ENABLE(NETSCAPE_PLUGIN_API) 137 137 void PluginView::keepAlive(NPP)
Note: See TracChangeset
for help on using the changeset viewer.