forked from enlightenment/efl
evas: Fix texture size issues when the image has nv12 format
Patch from Sohyun Kim <anna1014.kim@samsung.com>. SVN revision: 77854
This commit is contained in:
parent
371b00dae2
commit
df36a0cd3b
|
@ -38,3 +38,4 @@ Rafael Antognolli <antognolli@profusion.mobi>
|
|||
Daniel Zaoui <daniel.zaoui@samsung.com>
|
||||
Christophe Sadoine <chris@indefini.org>
|
||||
Igor Murzov <e-mail@date.by>
|
||||
Sohyun Kim <anna1014.kim@samsung.com>
|
||||
|
|
|
@ -1091,3 +1091,8 @@
|
|||
* Fix font sizing issues when size scaling happens to down down
|
||||
when it should round up. happens in rare sizing situations and fonts.
|
||||
|
||||
2012-10-11 Sohyun Kim
|
||||
|
||||
* Fix texture size issues when the image has nv12 format
|
||||
|
||||
|
||||
|
|
|
@ -215,6 +215,7 @@ Fixes:
|
|||
* evas_object_image_data_convert
|
||||
* TGA loader detects false positives less and handles alpha TGAs better
|
||||
* repeat event flag not inherited from parent smart like pass events
|
||||
* texture size for nv12 format
|
||||
|
||||
Improvements:
|
||||
|
||||
|
|
|
@ -1512,7 +1512,7 @@ evas_gl_common_texture_nv12tiled_update(Evas_GL_Texture *tex, DATA8 **rows, unsi
|
|||
mb_h = (mb_h / 32 + (mb_h % 32 ? 1 : 0));
|
||||
|
||||
mb_w = w / 2;
|
||||
mb_w = (mb_w / 32 + (mb_w % 32 ? 1 : 0));
|
||||
mb_w = (mb_w / 64 + (mb_w % 64 ? 1 : 0));
|
||||
|
||||
for (mb_y = 0; mb_y < (mb_h >> 1); mb_y++)
|
||||
{
|
||||
|
|
|
@ -10,5 +10,5 @@
|
|||
"{\n"
|
||||
" gl_Position = mvp * vertex;\n"
|
||||
" tex_c = tex_coord;\n"
|
||||
" tex_cuv = tex_coord2 * 0.25;\n"
|
||||
" tex_cuv = tex_coord2 * 0.5;\n"
|
||||
"}\n"
|
||||
|
|
|
@ -10,5 +10,5 @@ void main()
|
|||
{
|
||||
gl_Position = mvp * vertex;
|
||||
tex_c = tex_coord;
|
||||
tex_cuv = tex_coord2 * 0.25;
|
||||
tex_cuv = tex_coord2 * 0.5;
|
||||
}
|
||||
|
|
|
@ -12,5 +12,5 @@
|
|||
" gl_Position = mvp * vertex;\n"
|
||||
" col = color;\n"
|
||||
" tex_c = tex_coord;\n"
|
||||
" tex_cuv = tex_coord2 * 0.25;\n"
|
||||
" tex_cuv = tex_coord2 * 0.5;\n"
|
||||
"}\n"
|
||||
|
|
|
@ -12,5 +12,5 @@ void main()
|
|||
gl_Position = mvp * vertex;
|
||||
col = color;
|
||||
tex_c = tex_coord;
|
||||
tex_cuv = tex_coord2 * 0.25;
|
||||
tex_cuv = tex_coord2 * 0.5;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue