History log of /external/mesa3d/src/gallium/state_trackers/vega/text.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a491b5728fcfb928612182fa87212eeb2253917 01-Apr-2012 Dylan Noblesmith <nobled@dreamwidth.org> st/vega: fix uninitialized values

C still treats array arguments exactly like pointer arguments.
By sheer coincidence, this still worked fine on 64-bit
machines where 2 * sizeof(float) == sizeof(void*), but not
on 32-bit.

Noticed by clang:

text.c:76:51: warning: sizeof on array function parameter will
return size of 'const VGfloat *' (aka 'const float *') instead of
'const VGfloat [2]' [-Wsizeof-array-argument]
memcpy(glyph->glyph_origin, glyphOrigin, sizeof(glyphOrigin));

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/state_trackers/vega/text.c
ceb6d34906c7c03c102c7e78dd02f5b0ebab4ca9 21-Sep-2011 Chia-I Wu <olv@lunarg.com> st/vega: fix vg_context_is_object_valid()

vg_context_is_object_valid() checks if a handle is valid by checking if
the handle is a valid key of the object hash table. However, the keys
of the object hash table were object pointers.

Fix vg_context_add_object() to use the handles as the keys so that
vg_context_is_object_valid() works. This bug was introduced by
99c67f27d35a4bbbbefada8117d5972c7583cf42.
/external/mesa3d/src/gallium/state_trackers/vega/text.c
a91128030e6c19609f6bb66a871382bbe4e3e2a4 22-Dec-2010 Vinson Lee <vlee@vmware.com> st/vega: Remove unnecessary headers.
/external/mesa3d/src/gallium/state_trackers/vega/text.c
5d64a06a6322b6e6f88233e79c6431e96eda7de6 23-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add primitive text support.

Optional features such as auth-hinting are not implemented. There is no
anti-aliasing, and no effort is done to keep the glyph origin integral.
So the text quality is poor.
/external/mesa3d/src/gallium/state_trackers/vega/text.c