2005-03-13 20:44:43 +00:00
|
|
|
#include "global.h"
|
2005-03-13 19:05:20 +00:00
|
|
|
#include "LowLevelWindow_X11.h"
|
2005-03-13 20:44:43 +00:00
|
|
|
#include "RageLog.h"
|
2005-03-13 19:05:20 +00:00
|
|
|
#include "RageException.h"
|
2005-03-13 20:44:43 +00:00
|
|
|
#include "archutils/Unix/X11Helper.h"
|
2005-11-13 19:04:07 +00:00
|
|
|
#include "PrefsManager.h" // XXX
|
2005-12-02 00:05:29 +00:00
|
|
|
#include "RageDisplay.h" // VideoModeParams
|
2005-12-02 21:17:36 +00:00
|
|
|
#include "DisplayResolutions.h"
|
2006-01-04 17:51:43 +00:00
|
|
|
#include "LocalizedString.h"
|
2005-03-13 19:05:20 +00:00
|
|
|
|
|
|
|
|
#include <stack>
|
|
|
|
|
#include <math.h> // ceil()
|
2005-03-13 21:23:58 +00:00
|
|
|
#define GLX_GLXEXT_PROTOTYPES
|
2005-03-13 19:05:20 +00:00
|
|
|
#include <GL/glx.h> // All sorts of stuff...
|
2005-12-02 21:17:36 +00:00
|
|
|
#include <X11/Xlib.h>
|
2005-03-27 11:48:46 +00:00
|
|
|
#include <X11/Xatom.h>
|
2005-12-02 21:17:36 +00:00
|
|
|
#include <X11/extensions/Xrandr.h>
|
2005-03-13 19:05:20 +00:00
|
|
|
|
2005-11-13 19:04:07 +00:00
|
|
|
#if defined(HAVE_LIBXTST)
|
|
|
|
|
#include <X11/extensions/XTest.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
2005-12-20 08:35:47 +00:00
|
|
|
static LocalizedString FAILED_CONNECTION_XSERVER( "LowLevelWindow_X11", "Failed to establish a connection with the X server'" );
|
2005-03-13 19:05:20 +00:00
|
|
|
LowLevelWindow_X11::LowLevelWindow_X11()
|
|
|
|
|
{
|
2005-05-28 03:31:18 +00:00
|
|
|
m_bWindowIsOpen = false;
|
2005-04-23 22:13:19 +00:00
|
|
|
if( !X11Helper::Go() )
|
2006-01-04 17:51:43 +00:00
|
|
|
RageException::Throw( FAILED_CONNECTION_XSERVER.GetValue() );
|
2005-11-13 18:43:22 +00:00
|
|
|
|
2005-11-13 19:05:30 +00:00
|
|
|
const int iScreen = DefaultScreen( X11Helper::Dpy );
|
2005-11-13 18:43:22 +00:00
|
|
|
|
2005-11-13 19:05:30 +00:00
|
|
|
LOG->Info( "Display: %s (screen %i)", DisplayString(X11Helper::Dpy), iScreen );
|
|
|
|
|
LOG->Info( "Direct rendering: %s", glXIsDirect( X11Helper::Dpy, glXGetCurrentContext() )? "yes":"no" );
|
2005-11-13 18:43:22 +00:00
|
|
|
|
2005-11-13 19:05:30 +00:00
|
|
|
int iXServerVersion = XVendorRelease( X11Helper::Dpy ); /* eg. 40201001 */
|
2005-11-13 18:43:22 +00:00
|
|
|
int iMajor = iXServerVersion / 10000000; iXServerVersion %= 10000000;
|
|
|
|
|
int iMinor = iXServerVersion / 100000; iXServerVersion %= 100000;
|
|
|
|
|
int iRevision = iXServerVersion / 1000; iXServerVersion %= 1000;
|
|
|
|
|
int iPatch = iXServerVersion;
|
|
|
|
|
|
2005-11-13 19:05:30 +00:00
|
|
|
LOG->Info( "X server vendor: %s [%i.%i.%i.%i]", XServerVendor( X11Helper::Dpy ), iMajor, iMinor, iRevision, iPatch );
|
|
|
|
|
LOG->Info( "Server GLX vendor: %s [%s]", glXQueryServerString( X11Helper::Dpy, iScreen, GLX_VENDOR ), glXQueryServerString( X11Helper::Dpy, iScreen, GLX_VERSION ) );
|
|
|
|
|
LOG->Info( "Client GLX vendor: %s [%s]", glXGetClientString( X11Helper::Dpy, GLX_VENDOR ), glXGetClientString( X11Helper::Dpy, GLX_VERSION ) );
|
2005-12-02 21:17:36 +00:00
|
|
|
|
|
|
|
|
m_bWasWindowed = true;
|
2005-03-13 19:05:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
LowLevelWindow_X11::~LowLevelWindow_X11()
|
|
|
|
|
{
|
2005-12-02 21:17:36 +00:00
|
|
|
// Reset the display
|
|
|
|
|
if( !m_bWasWindowed )
|
|
|
|
|
{
|
|
|
|
|
XRRScreenConfiguration *screenConfig = XRRGetScreenInfo( X11Helper::Dpy, RootWindow( X11Helper::Dpy, DefaultScreen( X11Helper::Dpy ) ) );
|
|
|
|
|
XRRSetScreenConfig( X11Helper::Dpy, screenConfig, RootWindow( X11Helper::Dpy, DefaultScreen( X11Helper::Dpy ) ), 0, 1, CurrentTime );
|
|
|
|
|
XRRFreeScreenConfigInfo( screenConfig );
|
|
|
|
|
|
|
|
|
|
XUngrabKeyboard( X11Helper::Dpy, CurrentTime );
|
|
|
|
|
}
|
2005-03-13 19:05:20 +00:00
|
|
|
X11Helper::Stop(); // Xlib cleans up the window for us
|
|
|
|
|
}
|
|
|
|
|
|
2005-04-23 22:13:19 +00:00
|
|
|
void *LowLevelWindow_X11::GetProcAddress( CString s )
|
2005-03-13 19:05:20 +00:00
|
|
|
{
|
2005-03-13 21:23:58 +00:00
|
|
|
// XXX: We should check whether glXGetProcAddress or
|
|
|
|
|
// glXGetProcAddressARB is available, and go by that, instead of
|
|
|
|
|
// assuming like this.
|
|
|
|
|
return (void*) glXGetProcAddressARB( (const GLubyte*) s.c_str() );
|
2005-03-13 19:05:20 +00:00
|
|
|
}
|
|
|
|
|
|
2005-11-26 07:22:33 +00:00
|
|
|
CString LowLevelWindow_X11::TryVideoMode( const VideoModeParams &p, bool &bNewDeviceOut )
|
2005-03-13 19:05:20 +00:00
|
|
|
{
|
2005-04-21 05:14:25 +00:00
|
|
|
#if defined(LINUX)
|
2006-01-17 02:00:27 +00:00
|
|
|
/*
|
|
|
|
|
* nVidia cards:
|
2005-04-21 05:14:25 +00:00
|
|
|
*
|
|
|
|
|
* This only works the first time we set up a window; after that, the
|
|
|
|
|
* drivers appear to cache the value, so you have to actually restart
|
2006-01-17 02:00:27 +00:00
|
|
|
* the program to change it again.
|
|
|
|
|
*/
|
2005-04-21 05:14:25 +00:00
|
|
|
static char buf[128];
|
|
|
|
|
strcpy( buf, "__GL_SYNC_TO_VBLANK=" );
|
|
|
|
|
strcat( buf, p.vsync?"1":"0" );
|
|
|
|
|
putenv( buf );
|
|
|
|
|
#endif
|
|
|
|
|
|
2005-03-13 19:05:20 +00:00
|
|
|
XSizeHints hints;
|
2005-03-16 02:23:07 +00:00
|
|
|
XEvent ev;
|
2005-03-13 19:05:20 +00:00
|
|
|
stack<XEvent> otherEvs;
|
|
|
|
|
|
2006-01-17 02:03:07 +00:00
|
|
|
hints.flags = PBaseSize;
|
|
|
|
|
hints.base_width = p.width;
|
|
|
|
|
hints.base_height = p.height;
|
2005-03-13 19:05:20 +00:00
|
|
|
|
2005-12-02 21:17:36 +00:00
|
|
|
if( !m_bWindowIsOpen || p.bpp != CurrentParams.bpp || ( m_bWasWindowed != p.windowed ) )
|
2005-03-13 19:05:20 +00:00
|
|
|
{
|
|
|
|
|
// Different depth, or we didn't make a window before. New context.
|
|
|
|
|
bNewDeviceOut = true;
|
2005-03-16 02:23:07 +00:00
|
|
|
|
2005-04-23 22:13:19 +00:00
|
|
|
int visAttribs[32];
|
|
|
|
|
int i = 0;
|
|
|
|
|
ASSERT( p.bpp == 16 || p.bpp == 32 );
|
|
|
|
|
if( p.bpp == 32 )
|
2005-03-16 02:23:07 +00:00
|
|
|
{
|
|
|
|
|
visAttribs[i++] = GLX_RED_SIZE; visAttribs[i++] = 8;
|
|
|
|
|
visAttribs[i++] = GLX_GREEN_SIZE; visAttribs[i++] = 8;
|
|
|
|
|
visAttribs[i++] = GLX_BLUE_SIZE; visAttribs[i++] = 8;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
visAttribs[i++] = GLX_RED_SIZE; visAttribs[i++] = 5;
|
|
|
|
|
visAttribs[i++] = GLX_GREEN_SIZE; visAttribs[i++] = 6;
|
|
|
|
|
visAttribs[i++] = GLX_BLUE_SIZE; visAttribs[i++] = 5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
visAttribs[i++] = GLX_DEPTH_SIZE; visAttribs[i++] = 16;
|
|
|
|
|
visAttribs[i++] = GLX_RGBA;
|
|
|
|
|
visAttribs[i++] = GLX_DOUBLEBUFFER;
|
|
|
|
|
|
|
|
|
|
visAttribs[i++] = None;
|
|
|
|
|
|
2005-04-23 22:13:19 +00:00
|
|
|
XVisualInfo *xvi = glXChooseVisual( X11Helper::Dpy, DefaultScreen(X11Helper::Dpy), visAttribs );
|
2005-03-13 19:05:20 +00:00
|
|
|
|
2005-04-23 22:13:19 +00:00
|
|
|
if( xvi == NULL )
|
2005-03-14 00:26:14 +00:00
|
|
|
{
|
|
|
|
|
return "No visual available for that depth.";
|
|
|
|
|
}
|
2005-03-13 19:05:20 +00:00
|
|
|
|
2005-06-03 18:45:03 +00:00
|
|
|
/* Enable StructureNotifyMask, so we receive a MapNotify for the following XMapWindow. */
|
|
|
|
|
X11Helper::OpenMask( StructureNotifyMask );
|
|
|
|
|
|
2005-12-02 21:17:36 +00:00
|
|
|
// I get strange behavior if I add override redirect after creating the window.
|
|
|
|
|
// So, let's recreate the window when changing that state.
|
|
|
|
|
if( !X11Helper::MakeWindow(xvi->screen, xvi->depth, xvi->visual, p.width, p.height, !p.windowed) )
|
2005-03-14 00:26:14 +00:00
|
|
|
{
|
|
|
|
|
return "Failed to create the window.";
|
|
|
|
|
}
|
2005-05-28 03:31:18 +00:00
|
|
|
m_bWindowIsOpen = true;
|
2005-03-13 19:05:20 +00:00
|
|
|
|
2005-06-03 23:27:58 +00:00
|
|
|
char *szWindowTitle = const_cast<char *>( p.sWindowTitle.c_str() );
|
2005-11-13 19:05:30 +00:00
|
|
|
XChangeProperty( X11Helper::Dpy, X11Helper::Win, XA_WM_NAME, XA_STRING, 8, PropModeReplace,
|
2005-06-03 23:27:58 +00:00
|
|
|
reinterpret_cast<unsigned char*>(szWindowTitle), strlen(szWindowTitle) );
|
2005-03-27 11:48:46 +00:00
|
|
|
|
2005-04-23 22:13:19 +00:00
|
|
|
GLXContext ctxt = glXCreateContext(X11Helper::Dpy, xvi, NULL, True);
|
2005-03-13 19:05:20 +00:00
|
|
|
|
2005-04-23 22:13:19 +00:00
|
|
|
glXMakeCurrent( X11Helper::Dpy, X11Helper::Win, ctxt );
|
2005-03-13 22:40:41 +00:00
|
|
|
|
2005-04-23 22:13:19 +00:00
|
|
|
XMapWindow( X11Helper::Dpy, X11Helper::Win );
|
2005-03-16 05:55:01 +00:00
|
|
|
|
|
|
|
|
// HACK: Wait for the MapNotify event, without spinning and
|
|
|
|
|
// eating CPU unnecessarily, and without smothering other
|
|
|
|
|
// events. Do this by grabbing all events, remembering
|
|
|
|
|
// uninteresting events, and putting them back on the queue
|
|
|
|
|
// after MapNotify arrives.
|
|
|
|
|
while(true)
|
|
|
|
|
{
|
|
|
|
|
XNextEvent(X11Helper::Dpy, &ev);
|
2005-04-23 22:13:19 +00:00
|
|
|
if( ev.type == MapNotify )
|
2005-03-16 05:55:01 +00:00
|
|
|
break;
|
2005-04-23 22:13:19 +00:00
|
|
|
|
|
|
|
|
otherEvs.push(ev);
|
2005-03-16 05:55:01 +00:00
|
|
|
}
|
2005-04-23 22:13:19 +00:00
|
|
|
|
|
|
|
|
while( !otherEvs.empty() )
|
2005-03-16 05:55:01 +00:00
|
|
|
{
|
2005-04-23 22:13:19 +00:00
|
|
|
XPutBackEvent( X11Helper::Dpy, &otherEvs.top() );
|
2005-03-16 05:55:01 +00:00
|
|
|
otherEvs.pop();
|
|
|
|
|
}
|
|
|
|
|
|
2005-04-23 22:13:19 +00:00
|
|
|
X11Helper::CloseMask( StructureNotifyMask );
|
2005-03-16 05:55:01 +00:00
|
|
|
|
2005-03-14 00:26:14 +00:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
// We're remodeling the existing window, and not touching the
|
|
|
|
|
// context.
|
|
|
|
|
bNewDeviceOut = false;
|
2005-03-16 05:55:01 +00:00
|
|
|
|
2005-03-14 00:26:14 +00:00
|
|
|
}
|
2005-12-02 21:17:36 +00:00
|
|
|
|
|
|
|
|
XRRScreenConfiguration *screenConfig = XRRGetScreenInfo( X11Helper::Dpy, RootWindow( X11Helper::Dpy, DefaultScreen( X11Helper::Dpy ) ) );
|
|
|
|
|
|
|
|
|
|
if( !p.windowed )
|
|
|
|
|
{
|
|
|
|
|
// Find a matching mode.
|
|
|
|
|
int sizesXct;
|
|
|
|
|
XRRScreenSize *sizesX = XRRSizes( X11Helper::Dpy, DefaultScreen( X11Helper::Dpy ), &sizesXct );
|
|
|
|
|
ASSERT_M( sizesXct != 0, "Couldn't get resolution list from X server" );
|
|
|
|
|
|
|
|
|
|
int sizeMatch = -1;
|
|
|
|
|
int i = 0;
|
|
|
|
|
while(i < sizesXct)
|
|
|
|
|
{
|
|
|
|
|
if(sizesX[i].width == p.width && sizesX[i].height == p.height)
|
|
|
|
|
{
|
|
|
|
|
sizeMatch = i;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
|
// Set this mode.
|
|
|
|
|
// XXX: This doesn't handle if the config has changed since we queried it (see man Xrandr)
|
|
|
|
|
XRRSetScreenConfig( X11Helper::Dpy, screenConfig, RootWindow( X11Helper::Dpy, DefaultScreen( X11Helper::Dpy ) ), sizeMatch, 1, CurrentTime );
|
|
|
|
|
|
|
|
|
|
// Move the window to the corner that the screen focuses in on.
|
|
|
|
|
XMoveWindow( X11Helper::Dpy, X11Helper::Win, 0, 0 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XRaiseWindow( X11Helper::Dpy, X11Helper::Win );
|
|
|
|
|
|
|
|
|
|
if( m_bWasWindowed )
|
|
|
|
|
{
|
|
|
|
|
// We want to prevent the WM from catching anything that comes from the keyboard.
|
|
|
|
|
XGrabKeyboard( X11Helper::Dpy, X11Helper::Win, True,
|
|
|
|
|
GrabModeAsync, GrabModeAsync, CurrentTime );
|
|
|
|
|
m_bWasWindowed = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
if( !m_bWasWindowed )
|
|
|
|
|
{
|
|
|
|
|
XRRSetScreenConfig( X11Helper::Dpy, screenConfig, RootWindow( X11Helper::Dpy, DefaultScreen( X11Helper::Dpy ) ), 0, 1, CurrentTime );
|
|
|
|
|
// In windowed mode, we actually want the WM to function normally.
|
|
|
|
|
// Release any previous grab.
|
|
|
|
|
XUngrabKeyboard( X11Helper::Dpy, CurrentTime );
|
|
|
|
|
m_bWasWindowed = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
XRRFreeScreenConfigInfo( screenConfig );
|
2005-03-14 00:26:14 +00:00
|
|
|
|
2005-03-16 05:55:01 +00:00
|
|
|
// Do this before resizing the window so that pane-style WMs (Ion,
|
|
|
|
|
// ratpoison) don't resize us back inappropriately.
|
2005-04-23 22:13:19 +00:00
|
|
|
XSetWMNormalHints( X11Helper::Dpy, X11Helper::Win, &hints );
|
2005-03-13 22:40:41 +00:00
|
|
|
|
2005-03-16 05:55:01 +00:00
|
|
|
// Do this even if we just created the window -- works around Ion2 not
|
|
|
|
|
// catching WM normal hints changes in mapped windows.
|
2005-04-23 22:13:19 +00:00
|
|
|
XResizeWindow( X11Helper::Dpy, X11Helper::Win, p.width, p.height );
|
2005-03-13 19:05:20 +00:00
|
|
|
|
2005-03-14 23:51:58 +00:00
|
|
|
CurrentParams = p;
|
|
|
|
|
|
2005-03-13 19:05:20 +00:00
|
|
|
return ""; // Success
|
|
|
|
|
}
|
|
|
|
|
|
2005-11-13 18:56:14 +00:00
|
|
|
bool LowLevelWindow_X11::IsSoftwareRenderer( CString &sError )
|
|
|
|
|
{
|
2005-11-13 19:05:30 +00:00
|
|
|
if( glXIsDirect( X11Helper::Dpy, glXGetCurrentContext() ) )
|
2005-11-13 18:56:14 +00:00
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
sError = "Direct rendering is not available.";
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
2005-03-13 19:05:20 +00:00
|
|
|
void LowLevelWindow_X11::SwapBuffers()
|
|
|
|
|
{
|
2005-04-23 22:13:19 +00:00
|
|
|
glXSwapBuffers( X11Helper::Dpy, X11Helper::Win );
|
2005-11-13 19:04:07 +00:00
|
|
|
|
|
|
|
|
if( PREFSMAN->m_bDisableScreenSaver )
|
|
|
|
|
{
|
|
|
|
|
/* Disable the screensaver. */
|
|
|
|
|
#if defined(HAVE_LIBXTST)
|
|
|
|
|
/* This causes flicker. */
|
|
|
|
|
// XForceScreenSaver( X11Helper::Dpy, ScreenSaverReset );
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Instead, send a null relative mouse motion, to trick X into thinking there has been
|
|
|
|
|
* user activity.
|
|
|
|
|
*
|
|
|
|
|
* This also handles XScreenSaver; XForceScreenSaver only handles the internal X11
|
|
|
|
|
* screen blanker.
|
|
|
|
|
*
|
|
|
|
|
* This will delay the X blanker, DPMS and XScreenSaver from activating, and will
|
|
|
|
|
* disable the blanker and XScreenSaver if they're already active (unless XSS is
|
|
|
|
|
* locked). For some reason, it doesn't un-blank DPMS if it's already active.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
XLockDisplay( X11Helper::Dpy );
|
|
|
|
|
|
|
|
|
|
int event_base, error_base, major, minor;
|
|
|
|
|
if( XTestQueryExtension( X11Helper::Dpy, &event_base, &error_base, &major, &minor ) )
|
|
|
|
|
{
|
|
|
|
|
XTestFakeRelativeMotionEvent( X11Helper::Dpy, 0, 0, 0 );
|
|
|
|
|
XSync( X11Helper::Dpy, False );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
XUnlockDisplay( X11Helper::Dpy );
|
|
|
|
|
#endif
|
|
|
|
|
}
|
2005-03-13 19:05:20 +00:00
|
|
|
}
|
|
|
|
|
|
2005-12-02 21:17:36 +00:00
|
|
|
void LowLevelWindow_X11::GetDisplayResolutions( DisplayResolutions &out ) const
|
|
|
|
|
{
|
|
|
|
|
// This _NEEDS_ Xrandr to be present, but feck, who doesn't have it?
|
|
|
|
|
|
|
|
|
|
int sizesXct;
|
|
|
|
|
XRRScreenSize *sizesX = XRRSizes( X11Helper::Dpy, DefaultScreen( X11Helper::Dpy ), &sizesXct );
|
|
|
|
|
ASSERT_M( sizesXct != 0, "Couldn't get resolution list from X server" );
|
|
|
|
|
|
|
|
|
|
int i = 0;
|
|
|
|
|
while(i < sizesXct)
|
|
|
|
|
{
|
|
|
|
|
DisplayResolution res = { sizesX[i].width, sizesX[i].height };
|
|
|
|
|
out.s.insert( res );
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2005-03-13 19:05:20 +00:00
|
|
|
/*
|
|
|
|
|
* (c) 2005 Ben Anderson
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
|
* copy of this software and associated documentation files (the
|
|
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
|
* distribute, and/or sell copies of the Software, and to permit persons to
|
|
|
|
|
* whom the Software is furnished to do so, provided that the above
|
|
|
|
|
* copyright notice(s) and this permission notice appear in all copies of
|
|
|
|
|
* the Software and that both the above copyright notice(s) and this
|
|
|
|
|
* permission notice appear in supporting documentation.
|
|
|
|
|
*
|
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
|
|
|
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
|
|
|
|
|
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
|
|
|
|
|
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
|
|
|
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
|
|
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
*/
|