Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
sanbo_xyz
Gephi
提交
9dcb443e
G
Gephi
项目概览
sanbo_xyz
/
Gephi
10 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gephi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
9dcb443e
编写于
2月 15, 2023
作者:
H
Hosted Weblate
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
2011e247
82684f92
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
31 addition
and
35 deletion
+31
-35
.github/workflows/release.yml
.github/workflows/release.yml
+3
-3
modules/VisualizationImpl/pom.xml
modules/VisualizationImpl/pom.xml
+20
-23
modules/VisualizationImpl/src/main/java/org/gephi/visualization/VizController.java
.../src/main/java/org/gephi/visualization/VizController.java
+2
-7
modules/VisualizationImpl/src/main/java/org/gephi/visualization/swing/NewtGraphCanvas.java
...n/java/org/gephi/visualization/swing/NewtGraphCanvas.java
+6
-2
未找到文件。
.github/workflows/release.yml
浏览文件 @
9dcb443e
...
...
@@ -89,12 +89,12 @@ jobs:
-
task
:
create-targz
os
:
ubuntu-latest
arch
:
x64
-
task
:
create-targz
os
:
ubuntu-latest
arch
:
aarch64
-
task
:
create-exe
os
:
windows-latest
arch
:
x64
-
task
:
create-exe
os
:
windows-latest
arch
:
x32
-
task
:
create-dmg,notarize-dmg
os
:
macos-11
arch
:
x64
...
...
modules/VisualizationImpl/pom.xml
浏览文件 @
9dcb443e
...
...
@@ -16,8 +16,7 @@
<name>
VisualizationImpl
</name>
<properties>
<jogl.version>
v2.4.0-rc4
</jogl.version>
<jogl.version.jogl.all>
2.4.0-rc-20221118
</jogl.version.jogl.all>
<jogl.version>
2.4.0
</jogl.version>
</properties>
<dependencies>
...
...
@@ -113,58 +112,56 @@
</dependency>
<dependency>
<groupId>
org.jogamp.gluegen
</groupId>
<artifactId>
gluegen-rt-natives-linux-amd64
</artifactId>
<version>
${jogl.version}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.gluegen
</groupId>
<artifactId>
gluegen-rt-natives-linux-i586
</artifactId>
<artifactId>
gluegen-rt
</artifactId>
<classifier>
natives-linux-amd64
</classifier>
<version>
${jogl.version}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.gluegen
</groupId>
<artifactId>
gluegen-rt-natives-macosx-universal
</artifactId>
<artifactId>
gluegen-rt
</artifactId>
<classifier>
natives-linux-aarch64
</classifier>
<version>
${jogl.version}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.gluegen
</groupId>
<artifactId>
gluegen-rt-natives-windows-amd64
</artifactId>
<artifactId>
gluegen-rt
</artifactId>
<classifier>
natives-macosx-universal
</classifier>
<version>
${jogl.version}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.gluegen
</groupId>
<artifactId>
gluegen-rt-natives-windows-i586
</artifactId>
<artifactId>
gluegen-rt
</artifactId>
<classifier>
natives-windows-amd64
</classifier>
<version>
${jogl.version}
</version>
</dependency>
<!-- JOGL -->
<dependency>
<groupId>
org.jogamp.jogl
</groupId>
<artifactId>
jogl-all
</artifactId>
<version>
${jogl.version.jogl.all}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.jogl
</groupId>
<artifactId>
jogl-all-natives-linux-amd64
</artifactId>
<version>
${jogl.version}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.jogl
</groupId>
<artifactId>
jogl-all-natives-linux-i586
</artifactId>
<artifactId>
jogl-all
</artifactId>
<classifier>
natives-linux-amd64
</classifier>
<version>
${jogl.version}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.jogl
</groupId>
<artifactId>
jogl-all-natives-macosx-universal
</artifactId>
<artifactId>
jogl-all
</artifactId>
<classifier>
natives-linux-aarch64
</classifier>
<version>
${jogl.version}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.jogl
</groupId>
<artifactId>
jogl-all-natives-windows-amd64
</artifactId>
<artifactId>
jogl-all
</artifactId>
<classifier>
natives-macosx-universal
</classifier>
<version>
${jogl.version}
</version>
</dependency>
<dependency>
<groupId>
org.jogamp.jogl
</groupId>
<artifactId>
jogl-all-natives-windows-i586
</artifactId>
<artifactId>
jogl-all
</artifactId>
<classifier>
natives-windows-amd64
</classifier>
<version>
${jogl.version}
</version>
</dependency>
</dependencies>
...
...
@@ -206,9 +203,9 @@
</build>
<repositories>
<repository>
<id>
jogl
-jzy3d
</id>
<name>
JOGL
Jzy3d
</name>
<url>
https://
maven.jzy3d.org/releases
</url>
<id>
jogl
</id>
<name>
JOGL
</name>
<url>
https://
jogamp.org/deployment/maven/
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
...
...
modules/VisualizationImpl/src/main/java/org/gephi/visualization/VizController.java
浏览文件 @
9dcb443e
...
...
@@ -119,13 +119,8 @@ public class VizController implements VisualizationController {
currentModel
=
new
VizModel
(
true
);
selectionManager
=
new
SelectionManager
();
if
(
vizConfig
.
isUseGLJPanel
())
{
//No more supported
}
else
if
(
Utilities
.
isMac
())
{
drawable
=
createCanvas
();
}
else
{
drawable
=
createNewtCanvas
();
}
drawable
=
createNewtCanvas
();
drawable
.
initArchitecture
();
engine
.
initArchitecture
();
((
CompatibilityScheduler
)
scheduler
).
initArchitecture
();
...
...
modules/VisualizationImpl/src/main/java/org/gephi/visualization/swing/NewtGraphCanvas.java
浏览文件 @
9dcb443e
...
...
@@ -53,6 +53,7 @@ import java.awt.*;
import
javax.swing.JPopupMenu
;
import
javax.swing.ToolTipManager
;
import
org.gephi.ui.utils.UIUtils
;
import
org.openide.util.Utilities
;
/**
* @author Mathieu Bastian
...
...
@@ -67,8 +68,11 @@ public class NewtGraphCanvas extends GLAbstractListener {
protected
GLAutoDrawable
initDrawable
()
{
GLWindow
glWindow
=
GLWindow
.
create
(
getCaps
());
// glWindow.setSurfaceScale(new float[]{ScalableSurface.AUTOMAX_PIXELSCALE, ScalableSurface.AUTOMAX_PIXELSCALE});
glCanvas
=
new
HighDPIFixCanvas
(
glWindow
);
// glCanvas = new NewtCanvasAWT(glWindow);
if
(!
Utilities
.
isMac
())
{
glCanvas
=
new
HighDPIFixCanvas
(
glWindow
);
}
else
{
glCanvas
=
new
NewtCanvasAWT
(
glWindow
);
}
// glCanvas.setFocusable(true);
// glCanvas.setIgnoreRepaint(true);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录