projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f08928
)
[Tizen] Disable pixel alignment in TextVisual
author
Jiyun Yang
<ji.yang@samsung.com>
Thu, 22 Nov 2018 06:12:53 +0000
(15:12 +0900)
committer
Jiyun Yang
<ji.yang@samsung.com>
Thu, 22 Nov 2018 06:14:26 +0000
(15:14 +0900)
This reverts commit
70501c4219f63ba7ee81e2ecaf5e4b9fd8503079
.
Change-Id: I6c35c90319191e98e134c65ba1a94f607090e684
dali-toolkit/internal/visuals/text/text-visual.cpp
patch
|
blob
|
history
diff --git
a/dali-toolkit/internal/visuals/text/text-visual.cpp
b/dali-toolkit/internal/visuals/text/text-visual.cpp
index 4b3176cc4034cbee95b9e02d52755594e7a0feb4..b4c44bd8deb2590f3d3a7f18674918075af9ba96 100755
(executable)
--- a/
dali-toolkit/internal/visuals/text/text-visual.cpp
+++ b/
dali-toolkit/internal/visuals/text/text-visual.cpp
@@
-94,9
+94,7
@@
const char* VERTEX_SHADER = DALI_COMPOSE_SHADER(
void main()\n
{\n
- mediump vec4 nonAlignedVertex = uViewMatrix*uModelMatrix*ComputeVertexPosition();\n
- mediump vec4 pixelAlignedVertex = vec4 ( floor(nonAlignedVertex.xyz), 1.0 );\n
- mediump vec4 vertexPosition = uProjection*pixelAlignedVertex;\n
+ mediump vec4 vertexPosition = uProjection*uViewMatrix*uModelMatrix*ComputeVertexPosition();\n
vTexCoord = pixelArea.xy+pixelArea.zw*(aPosition + vec2(0.5) );\n
gl_Position = vertexPosition;\n