| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Also fixed other minor issues with AA and line rendering.
Change-Id: Icd4638d27c70e2ee0f28b5d9a2b97d8b29e8ac4d
|
|
|
|
|
|
|
| |
Draw anti-aliased lines with OpenGL by constructing a quad with
a border that fades out (to mimic fragment coverage).
Change-Id: Ib81a3e62d663acdf1b46b401ac4aa7ee9855cc7e
|
|
|
|
| |
Change-Id: I9fa4cda6ccf92df9d1c644ccdc0e7274a30106e0
|
|
|
|
| |
Change-Id: I96c057ff4eb1b464b03f132da0b85333777bee4f
|
|
|
|
| |
Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
|
|
|
|
| |
Change-Id: Idbdd6b84f31301e58ed53e0d50fd61fece192dfa
|
|
|
|
| |
Change-Id: I83eba3406c26a4028af08b4d4c95ecd02803e75a
|
|
|
|
| |
Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c
|
|
|
|
|
|
|
|
|
|
| |
The new implementation relies on OpenGLRenderer's existing layer
code instead of duplicating it. The new code is much cleaner, with
simpler and better APIs and allows tracking of drawn regions inside
layers. Region tracking is not yet enabled but this will be done
in a future CL.
Change-Id: Ie826121a2227de8252c77b992a61218defea5143
|
|
|
|
| |
Change-Id: Iddfea6e08a6591a4fab147151098ef27005f373d
|
|
|
|
|
|
|
| |
Bug #3207544
Bug #3225875
Change-Id: Ibdd1dfc64e01625d5c441f39eb0aa3ee647f6ff5
|
|
|
|
|
|
|
|
|
|
| |
Bug #3179882
Resources were freed following garbage collections on a worker thread.
This worker thread had no EGL context, which would cause the renderer
to incorrectly assume that the memory was liberated.
Change-Id: Ifdb51f94ddf42641e8654522787bfac532976c7c
|
|
|
|
| |
Change-Id: I07955de166a89b5053c6c13f250bb3e2936ca86e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change also adds a new memory usage flag. When turned on, the
following is printed after every frame:
D/OpenGLRenderer( 3723): Current memory usage / total memory usage (bytes):
D/OpenGLRenderer( 3723): TextureCache 3766680 / 20971520
D/OpenGLRenderer( 3723): LayerCache 3538944 / 8388608
D/OpenGLRenderer( 3723): GradientCache 135168 / 524288
D/OpenGLRenderer( 3723): PathCache 41180 / 4194304
D/OpenGLRenderer( 3723): TextDropShadowCache 0 / 2097152
D/OpenGLRenderer( 3723): FontRenderer 0 262144 / 262144
D/OpenGLRenderer( 3723): FontRenderer 1 262144 / 262144
D/OpenGLRenderer( 3723): FontRenderer 2 262144 / 262144
D/OpenGLRenderer( 3723): Other:
D/OpenGLRenderer( 3723): FboCache 2 / 12
D/OpenGLRenderer( 3723): PatchCache 31 / 512
D/OpenGLRenderer( 3723): Total memory usage:
D/OpenGLRenderer( 3723): 8268404 bytes, 7.89 MB
This should help tracking possibe memory issues.
Change-Id: I83f483ca1d2dbef904829bce368e33fe5503e8d6
|
|
|
|
|
|
|
|
|
| |
This optimization is currently disabled until Launcher is
modified to take advantage of it. The optimization can be
enabled by turning on RENDER_LAYERS_AS_REGIONS in the
OpenGLRenderer.h file.
Change-Id: I2fdf59d0f4dc690a3d7f712173ab8db3848b27b1
|
|
|
|
|
|
|
| |
This change batches calls to glScissor() and removes extra GL
queries and glActiveTexture() calls.
Change-Id: I1cd079d314f87cd9c088f95c8d4909c2f860f6aa
|
|
|
|
|
|
|
| |
Removes unnecessary forward class declaration, make Caches::currentBuffer
private instead of public.
Change-Id: Idba6325c8c602d89239e667cb8ec87e7943f8e75
|
|
|
|
|
|
|
|
| |
The declaration of Singleton objects must be in CPP files (not header
files) to avoid creating separate instances of what is supposedly a
single object.
Change-Id: Ie903384824a458b5572f3ce5b6cfb359c18a9c44
|
|
|
|
|
|
| |
copying them
Change-Id: I81ad3551d74aa1e5bb64d69e33d2eb29a6c1eb6a
|
|
|
|
| |
Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7
|
|
|
|
| |
Change-Id: I4adbd53662e1f509c860898c8ff9d19eaabd6d5b
|
|
|
|
| |
Change-Id: I9d4c84034dc200b99c8266165942a7cdbcb5c0c5
|
|
|
| |
Change-Id: I3a4e115d8fb13b6c443e65460d92987b16f2524c
|
|
|
|
| |
Change-Id: I754c671cf790ad5ae8bf047ad328034217da4ecc
|
|
|
|
| |
Change-Id: I1b05f40e356221b2a5eb9400e67d77ecd98ed6c4
|
|
|
|
| |
Change-Id: I93322bd36a004ac5aa9a0409d22dbf36a2da1680
|
|
Change-Id: Ieabaa25338d2f4b8d4fd90e7401ad6e7452eae11
|