Repo created
BIN
qt/qt_common/res/minus.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
qt/qt_common/res/plus.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
22
qt/qt_common/res/resources_common.qrc
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<RCC>
|
||||
<qresource prefix="/common">
|
||||
<file>minus.png</file>
|
||||
<file>plus.png</file>
|
||||
<file>spinner1.png</file>
|
||||
<file>spinner2.png</file>
|
||||
<file>spinner3.png</file>
|
||||
<file>spinner4.png</file>
|
||||
<file>spinner5.png</file>
|
||||
<file>spinner6.png</file>
|
||||
<file>spinner7.png</file>
|
||||
<file>spinner8.png</file>
|
||||
<file>spinner9.png</file>
|
||||
<file>spinner10.png</file>
|
||||
<file>spinner11.png</file>
|
||||
<file>spinner12.png</file>
|
||||
<file>shaders/gl_150.fsh.glsl</file>
|
||||
<file>shaders/gl_150.vsh.glsl</file>
|
||||
<file>shaders/gles_300.fsh.glsl</file>
|
||||
<file>shaders/gles_300.vsh.glsl</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
10
qt/qt_common/res/shaders/gl_150.fsh.glsl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 150 core
|
||||
|
||||
uniform sampler2D u_sampler;
|
||||
in vec2 v_texCoord;
|
||||
out vec4 v_FragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
v_FragColor = vec4(texture(u_sampler, v_texCoord).rgb, 1.0);
|
||||
}
|
||||
11
qt/qt_common/res/shaders/gl_150.vsh.glsl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 150 core
|
||||
|
||||
in vec4 a_position;
|
||||
uniform vec2 u_samplerSize;
|
||||
out vec2 v_texCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
v_texCoord = vec2(a_position.z * u_samplerSize.x, a_position.w * u_samplerSize.y);
|
||||
gl_Position = vec4(a_position.x, a_position.y, 0.0, 1.0);
|
||||
}
|
||||
16
qt/qt_common/res/shaders/gles_300.fsh.glsl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#version 300 es
|
||||
|
||||
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||
precision highp float;
|
||||
#else
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
uniform sampler2D u_sampler;
|
||||
in vec2 v_texCoord;
|
||||
out vec4 v_FragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
v_FragColor = vec4(texture(u_sampler, v_texCoord).rgb, 1.0);
|
||||
}
|
||||
17
qt/qt_common/res/shaders/gles_300.vsh.glsl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#version 300 es
|
||||
|
||||
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||
precision highp float;
|
||||
#else
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
in vec4 a_position;
|
||||
uniform vec2 u_samplerSize;
|
||||
out vec2 v_texCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
v_texCoord = vec2(a_position.z * u_samplerSize.x, a_position.w * u_samplerSize.y);
|
||||
gl_Position = vec4(a_position.x, a_position.y, 0.0, 1.0);
|
||||
}
|
||||
BIN
qt/qt_common/res/spinner1.png
Normal file
|
After Width: | Height: | Size: 488 B |
BIN
qt/qt_common/res/spinner10.png
Normal file
|
After Width: | Height: | Size: 489 B |
BIN
qt/qt_common/res/spinner11.png
Normal file
|
After Width: | Height: | Size: 488 B |
BIN
qt/qt_common/res/spinner12.png
Normal file
|
After Width: | Height: | Size: 491 B |
BIN
qt/qt_common/res/spinner2.png
Normal file
|
After Width: | Height: | Size: 488 B |
BIN
qt/qt_common/res/spinner3.png
Normal file
|
After Width: | Height: | Size: 495 B |
BIN
qt/qt_common/res/spinner4.png
Normal file
|
After Width: | Height: | Size: 486 B |
BIN
qt/qt_common/res/spinner5.png
Normal file
|
After Width: | Height: | Size: 488 B |
BIN
qt/qt_common/res/spinner6.png
Normal file
|
After Width: | Height: | Size: 492 B |
BIN
qt/qt_common/res/spinner7.png
Normal file
|
After Width: | Height: | Size: 490 B |
BIN
qt/qt_common/res/spinner8.png
Normal file
|
After Width: | Height: | Size: 487 B |
BIN
qt/qt_common/res/spinner9.png
Normal file
|
After Width: | Height: | Size: 493 B |