Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1413a83e authored by John Reck's avatar John Reck Committed by Automerger Merge Worker
Browse files

Merge "Document that getTransformMatrix can inset" into rvc-dev am: 9c525431...

Merge "Document that getTransformMatrix can inset" into rvc-dev am: 9c525431 am: ec408082 am: ff53ebde

Change-Id: Ia2bc93223f66be105d4979fe6c1bbd4c416eb5bf
parents bb013496 ff53ebde
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -307,6 +307,11 @@ public class SurfaceTexture {
     * The matrix is stored in column-major order so that it may be passed directly to OpenGL ES via
     * The matrix is stored in column-major order so that it may be passed directly to OpenGL ES via
     * the glLoadMatrixf or glUniformMatrix4fv functions.
     * the glLoadMatrixf or glUniformMatrix4fv functions.
     *
     *
     * If the underlying buffer has a crop associated with it, the transformation will also include
     * a slight scale to cut off a 1-texel border around the edge of the crop. This ensures that
     * when the texture is bilinear sampled that no texels outside of the buffer's valid region
     * are accessed by the GPU, avoiding any sampling artifacts when scaling.
     *
     * @param mtx the array into which the 4x4 matrix will be stored.  The array must have exactly
     * @param mtx the array into which the 4x4 matrix will be stored.  The array must have exactly
     *     16 elements.
     *     16 elements.
     */
     */