diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llrender/llrender.cpp | 49 | ||||
| -rw-r--r-- | indra/media_plugins/cef/media_plugin_cef.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/llappviewer.cpp | 7 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/strings.xml | 2 | ||||
| -rwxr-xr-x | indra/newview/viewer_manifest.py | 12 | 
5 files changed, 24 insertions, 49 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 77c5921c9c..76f28bb43f 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -1829,48 +1829,6 @@ void LLRender::flush()  {  	if (mCount > 0)  	{ -#if 0 -		if (!glIsEnabled(GL_VERTEX_ARRAY)) -		{ -			LL_ERRS() << "foo 1" << LL_ENDL; -		} - -		if (!glIsEnabled(GL_COLOR_ARRAY)) -		{ -			LL_ERRS() << "foo 2" << LL_ENDL; -		} - -		if (!glIsEnabled(GL_TEXTURE_COORD_ARRAY)) -		{ -			LL_ERRS() << "foo 3" << LL_ENDL; -		} - -		if (glIsEnabled(GL_NORMAL_ARRAY)) -		{ -			LL_ERRS() << "foo 7" << LL_ENDL; -		} - -		GLvoid* pointer; - -		glGetPointerv(GL_VERTEX_ARRAY_POINTER, &pointer); -		if (pointer != &(mBuffer[0].v)) -		{ -			LL_ERRS() << "foo 4" << LL_ENDL; -		} - -		glGetPointerv(GL_COLOR_ARRAY_POINTER, &pointer); -		if (pointer != &(mBuffer[0].c)) -		{ -			LL_ERRS() << "foo 5" << LL_ENDL; -		} - -		glGetPointerv(GL_TEXTURE_COORD_ARRAY_POINTER, &pointer); -		if (pointer != &(mBuffer[0].uv)) -		{ -			LL_ERRS() << "foo 6" << LL_ENDL; -		} -#endif -				  		if (!mUIOffset.empty())  		{  			sUICalls++; @@ -2104,8 +2062,11 @@ void LLRender::vertexBatchPreTransformed(LLVector3* verts, LLVector2* uvs, S32 v  		}  	} -	mVerticesp[mCount] = mVerticesp[mCount-1]; -	mTexcoordsp[mCount] = mTexcoordsp[mCount-1]; +	if (mCount > 0) +	{ +		mVerticesp[mCount] = mVerticesp[mCount - 1]; +		mTexcoordsp[mCount] = mTexcoordsp[mCount - 1]; +	}  }  void LLRender::vertexBatchPreTransformed(LLVector3* verts, LLVector2* uvs, LLColor4U* colors, S32 vert_count) diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp index 90bdeb082c..906a5ff6e7 100644 --- a/indra/media_plugins/cef/media_plugin_cef.cpp +++ b/indra/media_plugins/cef/media_plugin_cef.cpp @@ -512,6 +512,9 @@ void MediaPluginCEF::receiveMessage(const char* message_string)  				settings.user_agent_substring = mCEFLib->makeCompatibleUserAgentString(mUserAgentSubtring);  				settings.webgl_enabled = true; +				std::vector<std::string> custom_schemes(1, "secondlife"); +				mCEFLib->setCustomSchemes(custom_schemes); +  				bool result = mCEFLib->init(settings);  				if (!result)  				{ diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index b4cb094877..5e1658590d 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -3158,8 +3158,13 @@ LLSD LLAppViewer::getViewerInfo() const  	cef_ver_codec << DULLAHAN_VERSION_MINOR;  	cef_ver_codec << ".";  	cef_ver_codec << DULLAHAN_VERSION_BUILD; -	cef_ver_codec << " - CEF: "; + +	cef_ver_codec << " / CEF: ";  	cef_ver_codec << CEF_VERSION; + +	cef_ver_codec << " / Chrome: "; +	cef_ver_codec << CHROME_VERSION_MAJOR; +  	info["LIBCEF_VERSION"] = cef_ver_codec.str();  #else  	info["LIBCEF_VERSION"] = "Undefined"; diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 2ae78901f6..9533407c51 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -61,7 +61,7 @@ VFS (cache) creation time: [VFS_TIME]  	<string name="AboutLibs">  J2C Decoder Version: [J2C_VERSION]  Audio Driver Version: [AUDIO_DRIVER_VERSION] -CEF Version: [LIBCEF_VERSION] +[LIBCEF_VERSION]  LibVLC Version: [LIBVLC_VERSION]  Voice Server Version: [VOICE_VERSION]  	</string> diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 859ca8f9d6..af97bb4728 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -468,6 +468,7 @@ class WindowsManifest(ViewerManifest):          # CEF runtime files - debug          if self.args['configuration'].lower() == 'debug':              if self.prefix(src=os.path.join(os.pardir, 'packages', 'bin', 'debug'), dst="llplugin"): +                self.path("chrome_elf.dll")                  self.path("d3dcompiler_43.dll")                  self.path("d3dcompiler_47.dll")                  self.path("libcef.dll") @@ -481,6 +482,7 @@ class WindowsManifest(ViewerManifest):          else:          # CEF runtime files - not debug (release, relwithdebinfo etc.)              if self.prefix(src=os.path.join(os.pardir, 'packages', 'bin', 'release'), dst="llplugin"): +                self.path("chrome_elf.dll")                  self.path("d3dcompiler_43.dll")                  self.path("d3dcompiler_47.dll")                  self.path("libcef.dll") @@ -919,11 +921,9 @@ class DarwinManifest(ViewerManifest):                      self.end_prefix() -                    # the helper app needs to have it's @executable_path modified to point to the  -                    # same location we drop the CEF framework shortcut                      helperexecutablepath = self.dst_path_of('SLPlugin.app/Contents/Frameworks/DullahanHelper.app/Contents/MacOS/DullahanHelper')                      self.run_command('install_name_tool -change ' -                                     '"@executable_path/Chromium Embedded Framework" ' +                                     '"@rpath/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" '                                       '"@executable_path/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" "%s"' % helperexecutablepath)                  # SLPlugin plugins @@ -948,6 +948,12 @@ class DarwinManifest(ViewerManifest):                      self.end_prefix("llplugin") +                    # do this install_name_tool *after* media plugin is copied over +                    dylibexecutablepath = self.dst_path_of('llplugin/media_plugin_cef.dylib') +                    self.run_command('install_name_tool -change ' +                                     '"@rpath/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" ' +                                     '"@executable_path/../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" "%s"' % dylibexecutablepath) +                  self.end_prefix("Resources")                  # CEF framework goes inside Second Life.app/Contents/Frameworks  | 
