replicant-frameworks_native/include/ui
Mathias Agopian 595ea77f6b vector and matrix classes for graphics use
- this implements vec2, vec3, vec4, which are float vectors
of size 2, 3 and 4 respectively.

the code allows easy instantiation of vectors of a different
type via the tvec{2|3|4}<T> template classes.

- this also implements mat4 which is a float 4x4 matrix. the
tmat44<T> template class allows easy instantiation of a
4x4 matrix of a different value_type.

The vector types have some minimal support for the
glsl style swizzled access; for instance:

  vec4 u;
  vec3 v = u.xyz;

only .x, .xy, .xyz and their .stpq / .rgba equivalent are
supported.

most operators are supported on both vector and matrices:
arithmetic, unary, compound assignment and comparison
(bit-wise operators NOT supported).

- operations available on vectors include:
dot, length, distance, normalize and cross

- operations available on matrices include:
transpose, inverse, trace

- and a few utilities to create matrices:
ortho, frustum, lookAt

Change-Id: I64add89ae90fa78d3f2f59985b63495575378635
2013-08-26 20:41:13 -07:00
..
ANativeObjectBase.h remove dependency on android_native{s_priv|buffer}.h 2012-02-24 18:26:01 -08:00
DisplayInfo.h get rid of PixelFormatInfo and simplify things 2013-07-25 19:24:31 -07:00
Fence.h Make Flattenable not virtual 2013-07-30 21:19:13 -07:00
FramebufferNativeWindow.h Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev 2012-07-28 09:55:54 -07:00
GraphicBuffer.h remove unused code form GraphicBuffer 2013-07-31 20:10:10 -07:00
GraphicBufferAllocator.h [3171580] don't automatically log GraphicBuffer allocation failures 2010-12-03 17:33:09 -08:00
GraphicBufferMapper.h Add support for HAL_PIXEL_FORMAT_YCbCr_420_888 2013-05-06 17:24:05 -07:00
mat4.h vector and matrix classes for graphics use 2013-08-26 20:41:13 -07:00
PixelFormat.h get rid of HAL pixelformats 5551 and 4444 2013-07-26 15:43:33 -07:00
Point.h improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
Rect.h take the "transparent region" into account for blending 2013-05-10 18:35:43 -07:00
Region.h Make Flattenable not virtual 2013-07-30 21:19:13 -07:00
TMatHelpers.h vector and matrix classes for graphics use 2013-08-26 20:41:13 -07:00
TVecHelpers.h vector and matrix classes for graphics use 2013-08-26 20:41:13 -07:00
UiConfig.h Show build config in dumpsys SurfaceFlinger 2012-09-25 11:31:46 -07:00
vec2.h vector and matrix classes for graphics use 2013-08-26 20:41:13 -07:00
vec3.h vector and matrix classes for graphics use 2013-08-26 20:41:13 -07:00
vec4.h vector and matrix classes for graphics use 2013-08-26 20:41:13 -07:00