首页 文章 精选 留言 我的

精选列表

搜索[图形数据库],共10023篇文章
优秀的个人博客,低调大师

Mesa 19.2.6 发布,3D 图形库开源集合

Mesa 19.2.5在本周早些时候才刚刚发布。然而由于先前的发行版破坏了IBM POWER的构建,因此v19.2.6目前也已紧随其后发布。 据悉,Mesa 19.2.5 引入了对LLVMpipe中PowerPC 64位的支持,以便将LLVM的大代码模型用于JIT编译的着色器,因为对于诸如GNOME Shell和Firefox这样的大型进程来说,中/小代码模型可能会解决空间问题。使用较大的代码模型不会对LLVMpipe性能产生任何可衡量的影响,但是当提交被反向移植到Mesa 19.2系列时,commit 却带来了一些问题。 由于所做的更改,Mesa 19.2.5最终在PPC64LE上引入了编译错误,不过现在问题已经解决,19.2.6版本也已立即发布。 此外,Mesa 19.2.6还对Broadcom V3D进行了一些修复,并在短时间内进行了其他一些常规更改。 详细信息: https://lists.freedesktop.org/archives/mesa-dev/2019-November/223800.html https://www.phoronix.com/scan.php?page=news_item&px=Mesa-19.2.6-Released

优秀的个人博客,低调大师

Mesa 19.2.5 发布,3D 图形库开源集合

Mesa 19.2.5已正式发布。目前,在Mesa 19.3.0发布前,Mesa 19.2.5则代表了Linux桌面上该系列OpenGL和Vulkan驱动程序的最新稳定体验。 据悉,在此版本中,有许多英特尔“ ANV” Vulkan驱动程序修复程序以及AMD“ RadeonSI” OpenGL驱动程序修复程序。其中,RadeonSI的一个突出变化是由于此类bug报告之类的超时bug而禁用了GFX10 / Navi的SDMA ;另外,还有两个与RadeonSI着色器缓存有关的修复程序。 同时,Mesa 19.2.5现在还通过LLVMpipe驱动程序,EGL本机平台后备修复程序以及各种其他大多数常规更改,将大型代码模型用于JIT编译的POWER 64位着色器。 参考消息: https://lists.freedesktop.org/archives/mesa-announce/2019-November/000557.html https://www.phoronix.com/scan.php?page=news_item&px=Mesa-19.2.5-Released

优秀的个人博客,低调大师

Mesa 19.2.4 发布,3D 图形库开源集合

Mesa 19.2.4在上周以“紧急发布”的形式发布。据悉,官方此前发现了一个漏洞,该漏洞使得针对所有OpenGL驱动程序的Mesa 19.2.3版本的bug成为可能。 英特尔的Dylan Baker在Mesa 19.2.4公告中解释说:“在19.2.3版本中发现了一个严重错误,该错误导致所有mesa驱动程序的渲染不完整。此版本包含一个补丁程序来修复该错误,任何使用19.2.3的人都应立即修复。升级到19.2.4或降级到19.2.2。” 与此前的Mesa 19.2.3错误修复更新相比,Mesa 19.2.4没有其他更改。 参考消息: https://lists.freedesktop.org/archives/mesa-dev/2019-November/223773.html https://www.phoronix.com/scan.php?page=news_item&px=Mesa-19.2.4-Released

优秀的个人博客,低调大师

[雪峰磁针石博客]python tkinter图形工具样式作业

python测试开发项目实战-目录 python工具书籍下载-持续更新 使用tkinter绘制如下窗口 参考资料 本文最新版本地址 本文涉及的python测试开发库 谢谢点赞! 本文相关海量书籍下载 https://github.com/CoderDojoSV/beginner-python 代码 #!/usr/bin/env python3 # -*- coding: utf-8 -*- # 技术支持:https://www.jianshu.com/u/69f40328d4f0 # 技术支持 https://china-testing.github.io/ # https://github.com/china-testing/python-api-tesing/blob/master/practices/tk/tk4.py # 项目实战讨论QQ群630011153 144081101 # CreateDate: 2018-12-02 import tkinter as tk root = tk.Tk() root.configure(background='#4D4D4D') #top level styling # connecting to the external styling optionDB.txt root.option_readfile('optionDB.txt') #widget specific styling text = tk.Text( root, background='#101010', foreground="#D6D6D6", borderwidth=18, relief='sunken', width=17, height=5) text.insert( tk.END, "Style is knowing who you are,what you want to say, and not giving a damn." ) text.grid(row=0, column=0, columnspan=6, padx=5, pady=5) # all the below widgets derive their styling from optionDB.txt file tk.Button(root, text='*').grid(row=1, column=1) tk.Button(root, text='^').grid(row=1, column=2) tk.Button(root, text='#').grid(row=1, column=3) tk.Button(root, text='<').grid(row=2, column=1) tk.Button( root, text='OK', cursor='target').grid( row=2, column=2) #changing cursor style tk.Button(root, text='>').grid(row=2, column=3) tk.Button(root, text='+').grid(row=3, column=1) tk.Button(root, text='v').grid(row=3, column=2) tk.Button(root, text='-').grid(row=3, column=3) for i in range(10): tk.Button( root, text=str(i)).grid( column=3 if i % 3 == 0 else (1 if i % 3 == 1 else 2), row=4 if i <= 3 else (5 if i <= 6 else 6)) root.mainloop() 可以使用十六进制颜色代码为红色(r),绿色(g)和蓝色(b)的比例指定颜色。常用的表示是#rgb(4位),#rrggbb(8位)和#rrrgggbbb(12位)。 例如,#ff是白色,#000000是黑色,#f00是红色(R = 0xf,G = 0x0,B = 0x0),#00ff00为绿色(R = 0x00,G = 0xff,B = 0x00),#000000fff为蓝色(R = 0x000,G = 0x000,B = 0xfff)。 或者,Tkinter提供标准颜色名称的映射。有关预定义命名颜色的列表,请访问http://wiki.tcl.tk/37701或http://wiki.tcl.tk/16166。

优秀的个人博客,低调大师

Android绘制(一):来用shape绘出想要的图形吧!

目录 前言 shape绘制 矩形 椭圆 线 环 用shape绘制SeekBar 最后 前言 在没有UI设计师的时候, 或者是想简单看下效果的时候, 用shape进行快速绘制是极好的! 官方文档. shape绘制 一共有四种shape: rectangle, oval, line, ring. 矩形 我们一个一个来看, 首先是矩形: 矩形例子 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <!-- 尺寸 --> <size android:width="160dp" android:height="80dp" /> <!-- 颜色 --> <!--<solid android:color="@color/colorPrimary" />--> <!-- 内间距 --> <padding android:bottom="8dp" android:left="8dp" android:right="8dp" android:top="8dp" /> <!-- 渐变 --> <gradient android:angle="45" android:endColor="@color/colorPrimary" android:startColor="@color/colorAccent" android:type="linear" /> <!-- 圆角 --> <!--<corners android:radius="200dp" />--> <!-- 圆角单独设置 --> <corners android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" android:topLeftRadius="40dp" android:topRightRadius="40dp" /> <!-- 描边 --> <stroke android:width="2dp" android:color="#666" android:dashGap="4dp" android:dashWidth="4dp" /> </shape> 渐变gradient是会覆盖颜色的, 如果你想要纯色, 直接设置颜色值即可, 就是设置solid中的color. 顺带一提, solid只有color一个参数. 如果你没有渐变gradient, 也不写solid, 那么将会是空心的. 渐变gradient的type参数有3个: linear 线性渐变 sweep 扫描渐变 radial 放射渐变, 需要配合参数gradientRadius 圆角corners可以直接设置radius, 也可以一个一个指定. 描边stroke的话不写dashGap, dashWidth就会是实线, dashWidth代表虚线宽度, dashGap代表虚线间隔. 内间距padding和尺寸size就不提了, 大家都懂的. 椭圆 椭圆例子 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <!-- 尺寸 --> <size android:width="160dp" android:height="80dp" /> <!-- 颜色 --> <!--<solid android:color="@color/colorPrimary" />--> <!-- 内间距 --> <padding android:bottom="8dp" android:left="8dp" android:right="8dp" android:top="8dp" /> <!-- 渐变 --> <gradient android:centerColor="@color/colorPrimary" android:endColor="@color/colorPrimaryDark" android:startColor="@color/colorAccent" android:type="sweep" /> <!-- 描边 --> <stroke android:width="1dp" android:color="#333" /> </shape> 渐变是最多可以设置三种颜色, 意思一看便知了: startColor centerColor endColor 一般椭圆都会用来绘制实心的小圆点. 线 线就很简单了: 线例子 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <!-- 描边 --> <stroke android:width="8dp" android:color="@color/colorPrimary" android:dashGap="8dp" android:dashWidth="6dp" /> </shape> 环 最后来看环, 它有些特有属性: 环例子B <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:innerRadiusRatio="4" android:shape="ring" android:thicknessRatio="100" android:useLevel="false"> <!-- 尺寸 --> <size android:width="200dp" android:height="200dp" /> <!-- 渐变 --> <gradient android:angle="0" android:centerColor="@color/colorPrimaryDark" android:endColor="@color/colorPrimary" android:startColor="@color/colorAccent" android:type="sweep" /> <!-- 描边 --> <stroke android:width="1dp" android:color="#777" android:dashGap="4dp" android:dashWidth="4dp" /> </shape> thicknessRatio 指的是环厚度百分比, 默认是9, 比如说这里宽度是200dp, thicknessRatio是100, 环厚度就是200dp / 100 = 2dp. 当然, 你可以直接用thickness设置厚度. innerRadiusRatio 是内环百分比, 默认是3, 就是指用宽度 / 百分比得到的值就是内环半径. 同样可以用innerRadius直接设置. 用shape绘制SeekBar 我知道有很多非常好看的自定义进度条, 但是我写这个SeekBar是想补充下shape的使用, 用非常少量的代码实现自定义进度条. 来看看效果图: 用shape绘制SeekBar 实现 <SeekBar android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/eight_dp" android:max="200" android:maxHeight="@dimen/eight_dp" android:minHeight="@dimen/eight_dp" android:progressDrawable="@drawable/layout_progress" android:thumb="@drawable/shape_circle" /> 简单解释下几个要点属性: max代表进度条最大的值. maxHeight, minHeight可以设置进度条宽度, 我喜欢稍微宽一点的. thumb设置滑块, 可以是图片, 可以是shape写的设置. progressDrawable代表进度条的外观, 可以是图片, 可以是shape写的设置. 再来看看滑块和进度条外观具体代码, 进度条可以设置背景, 进度, 和第二进度. 滑块的话, 你想画成什么样都行. <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@android:id/background"> <shape> <corners android:radius="@dimen/four_dp" /> <solid android:color="@android:color/darker_gray" /> </shape> </item> <item android:id="@android:id/secondaryProgress"> <clip> <shape> <corners android:radius="@dimen/four_dp" /> <solid android:color="@color/colorAccent" /> </shape> </clip> </item> <item android:id="@android:id/progress"> <clip> <shape> <corners android:radius="@dimen/four_dp" /> <solid android:color="@android:color/holo_blue_light" /> </shape> </clip> </item> </layer-list> <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <solid android:color="@android:color/holo_blue_light" /> <stroke android:width="@dimen/one_dp" android:color="@android:color/holo_blue_light" /> <size android:width="@dimen/sixteen_dp" android:height="@dimen/sixteen_dp" /> </shape> java部分的话, 用Handler实例postDelayed方法让进度条跑起来就可以看到效果了. 这里设定50ms发一次消息. findViewById(R.id.cv_start).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if (mRunnable == null) { mRunnable = new MyRunnable(); mHandler.postDelayed(mRunnable, 0); } } }); findViewById(R.id.cv_stop).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { mHandler.removeCallbacks(mRunnable); mRunnable = null; } }); private class MyRunnable implements Runnable { @Override public void run() { int progress = mSbTest.getProgress(); mTvProgress.setText(String.valueOf(progress)); mSbTest.setProgress(++progress); mSbTest.setSecondaryProgress(progress + 10); int progress2 = mSbTest2.getProgress(); mTvProgress2.setText(String.valueOf(progress2)); mSbTest2.setProgress(++progress2); mSbTest2.setSecondaryProgress(progress2 + 20); mHandler.postDelayed(this, 50); } } 最后 我个人还是偏向用shape绘制的, 图片一出理不好就是内存溢出啊, 形变啊, 还要注意分辨率, 真心头大. 喜欢记得点赞哦, 暗中关注我也是可以的~

优秀的个人博客,低调大师

开源 MQTT 图形客户端 MqttInsight 发布 v1.0.3

本次发布重点是新增了消息数量、消息负载、消息内容提取等统计图表的功能,可以灵活的从主题和消息内容中通过通配符、正则表达式、JsonPath、XPath来匹配和提取需要的内容生成相应的图表。 本次详细更新信息如下: 新增 ✨ 新增消息数量、消息负载、消息内容等统计图表 消息时间显示格式可在选项中设置 发布历史记忆(相同主题的保留最后发送的载荷) 增加消息导出为CSV格式文件 优化 🙌 退出时清除临时文件夹 优化消息导出 优化消息发布面板高亮语法支持 优化菜单,屏蔽被非鼠标左键点击执行 允许未订阅而收到的消息 变更已收藏的订阅的格式时可自动保存订阅的格式 修复 🐛 修复与Broker断开后不能重连的问题 修复通过脚本订阅的主题未出现在订阅面板的问题 修复日志标签页关闭后不再输出日志的问题 修复发布QoS>0的消息时如果Broker未回复PUBACK导致卡死的问题 修复关闭订阅后列表未及时刷新的问题 修复取色下拉面板布局错乱的问题 修复订阅列表不能及时刷新的问题 修复消息搜索栏输入搜索文本后直接点击过滤按钮不能启动搜索和过滤的问题

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册