4130 Commits

Author SHA1 Message Date
Jeff Brown
f024eb2ebd am 1b678528: Merge "Fix invalid madvise() during concurrent alloc/dealloc of MemoryDealer"
* commit '1b678528237d4eea623840ce3ba5520c59ca4b2c':
  Fix invalid madvise() during concurrent alloc/dealloc of MemoryDealer
2011-12-16 14:37:07 -08:00
Jeff Brown
1b67852823 Merge "Fix invalid madvise() during concurrent alloc/dealloc of MemoryDealer" 2011-12-16 14:35:16 -08:00
Alex Sakhartchouk
11a2e341c5 Adding comments to RS headers.
Change-Id: Ib345fe9f651dd3e74fb384799d381034391de8a2
2011-12-16 14:15:21 -08:00
Alex Sakhartchouk
8d57f404fa Merge "Element getters." into graphics-dev 2011-12-16 09:51:53 -08:00
Alex Sakhartchouk
f5d8ac7cc3 Element getters.
Change-Id: Ibe570464557eeecad108b4d3cb8f02fad13943de
2011-12-16 09:44:26 -08:00
Chet Haase
ada81693a1 am 0904c203: Merge "Fix issues from recent glyph caching change"
* commit '0904c203c4c56e43f723522351b7a3bc304196ef':
  Fix issues from recent glyph caching change
2011-12-16 06:51:34 -08:00
Chet Haase
0904c203c4 Merge "Fix issues from recent glyph caching change" 2011-12-16 06:49:59 -08:00
Chet Haase
2a47c14e2a Fix issues from recent glyph caching change
There were 2 issues remaining after a recent change to support
glyph caching from multiple textures:
- memory in the GPU for all textures was being allocated automatically.
This is now lazy, being allocated only when those textures are first
needed.
- filtering (applied when a rendered object is transformed) was ignoring
the new multiple-texture structure. Filtering should be applied correctly
whenever we change textures.

Change-Id: I5c8eb8d46c73cd01782a353fc79b11cacc2146ab
2011-12-15 15:43:02 -08:00
Jason Sams
7d6bfab4bd Merge "Element HAL sturct, script side getters" into graphics-dev 2011-12-15 13:13:08 -08:00
Romain Guy
b4fb81773c am 18ca25be: Merge "Generate even fewer GL commands"
* commit '18ca25be58be75be78cdce7541b6b082a4b3864f':
  Generate even fewer GL commands
2011-12-15 10:10:48 -08:00
Romain Guy
374c12275a am 926d55eb: Merge "Reduce the number of active texture changes"
* commit '926d55eb40b9042c200f154fdf0c7c7969e0e359':
  Reduce the number of active texture changes
2011-12-15 10:08:20 -08:00
Romain Guy
58d0579eec am 9c986b7f: Merge "<Insert something improper about OpenGL>"
* commit '9c986b7f387adb8b65d9094ba931645141bc5253':
  <Insert something improper about OpenGL>
2011-12-15 10:07:52 -08:00
Romain Guy
27ecb1ab5f am 8a5f8ba4: Merge "Further reduce the number of GL commands sent to the driver"
* commit '8a5f8ba4f3e8352155c711adb649e6f536d194b5':
  Further reduce the number of GL commands sent to the driver
2011-12-15 10:07:33 -08:00
Alex Sakhartchouk
d24b1bb040 Element HAL sturct, script side getters
Change-Id: If98dd4c22bce58dca2c9739c8aee935a2dd0b493
2011-12-15 09:56:28 -08:00
Romain Guy
8f85e80b64 Generate even fewer GL commands
Change-Id: I0f4dcacb03ef5ee7f6ebd501df98bfead5f0a7f8
2011-12-14 19:23:32 -08:00
Ji-Hwan Lee
c17d9b75b6 Fix invalid madvise() during concurrent alloc/dealloc of MemoryDealer
Currently, madvise(MADV_REMOVE) is called after deallocation.
Another thread might allocate (and even write) the same region between
deallocation and madvise(), in which case the new thread will fail to read
what it have written.  So, call deallocate() after madvise(MADV_REMOVE).

Bug: 5654596
Change-Id: I26f36cd6013de499090768a0ddc68206a4a68219
2011-12-15 04:37:22 +09:00
Romain Guy
2d4fd36484 Reduce the number of active texture changes
Change-Id: I94046bdfe20740c26c8183822e3002d692fde7c4
2011-12-13 22:00:19 -08:00
Romain Guy
ec31f83bd3 <Insert something improper about OpenGL>
Change-Id: Ib645376093838156771588adc76a718da0ceb0db
2011-12-13 18:41:12 -08:00
Romain Guy
a1d3c91afb Further reduce the number of GL commands sent to the driver
Change-Id: Id922b2a166ea4573b767c27d3195e11c70320b23
2011-12-13 14:58:14 -08:00
Chet Haase
5bc5de87f3 am e829bc0f: Merge "Make glyph cache more flexible"
* commit 'e829bc0f0364e942bed01536d115a5c08d25d776':
  Make glyph cache more flexible
2011-12-13 14:29:06 -08:00
Romain Guy
07c04f7755 am 6f2de0a5: Merge "Reduce the number of GL commands generated by the UI"
* commit '6f2de0a5d6303ecff2795a94d5051ea0621be07f':
  Reduce the number of GL commands generated by the UI
2011-12-13 14:28:46 -08:00
Chet Haase
e829bc0f03 Merge "Make glyph cache more flexible" 2011-12-13 14:03:43 -08:00
Chet Haase
7de0cb12d0 Make glyph cache more flexible
Some GPU architectures could not handle the previous implementation
of our glyph cache. Frequent uploads would cause memory problems in the GPU
and eventually a crash due to these memory issues. The solution is to move to
a system of several, smaller caches instead of one monolythic cache for all
glyphs.

Change-Id: I0fc7a323360940d16d5a33eeb33abfab194c5920
2011-12-13 13:41:58 -08:00
Romain Guy
15bc6437f8 Reduce the number of GL commands generated by the UI
This optimization along with the previous one lets us render an
application like Gmail using only 30% of the number of GL commands
previously required

Change-Id: Ifee63edaf495e04490b5abd5433bb9a07bc327a8
2011-12-13 13:11:32 -08:00
Romain Guy
8c464b79bf am 5009f65c: Merge "Optimize state changes"
* commit '5009f65c9a676b64869e638e08ec0294e20d7e6e':
  Optimize state changes
2011-12-13 05:48:15 -08:00
Romain Guy
23d0deeb2b am da7642b3: Merge "Minimize the amount of data uploaded to draw text"
* commit 'da7642b31bb3490655016df979b0fad95425ac5f':
  Minimize the amount of data uploaded to draw text
2011-12-13 05:48:03 -08:00
Romain Guy
a72a3f077a am 51fbb009: Merge "Various OpenGL optimizations"
* commit '51fbb009661e8eeb41730fe107179425e5392b6d':
  Various OpenGL optimizations
2011-12-13 05:48:01 -08:00
Romain Guy
5009f65c9a Merge "Optimize state changes" 2011-12-12 20:36:22 -08:00
Romain Guy
f3a910b423 Optimize state changes
Change-Id: Iae59bc8dfd6427d0967472462cc1994987092827
2011-12-12 20:35:21 -08:00
Romain Guy
da7642b31b Merge "Minimize the amount of data uploaded to draw text" 2011-12-12 19:04:40 -08:00
Romain Guy
51fbb00966 Merge "Various OpenGL optimizations" 2011-12-12 19:04:32 -08:00
Romain Guy
d71dd367af Minimize the amount of data uploaded to draw text
Change-Id: I6313ac039291c9cd93aadafe3566ad9d60cab42d
2011-12-12 19:03:35 -08:00
Romain Guy
39d252a663 Various OpenGL optimizations
Change-Id: Ib0742c96f10f5f50e7e5148b742c31b6c232d127
2011-12-12 18:14:06 -08:00
Romain Guy
dcd03fcca3 am d2ea737a: Merge "Remove leftover debugging code"
* commit 'd2ea737a1f28b43ce2e01686d64a5cf8243daa49':
  Remove leftover debugging code
2011-12-12 16:53:45 -08:00
Romain Guy
b23e7499e3 am ebb2c6b3: Merge "Keep shaders to render properly"
* commit 'ebb2c6b36da049b32c1dba6f14f16660d860eb09':
  Keep shaders to render properly
2011-12-12 16:51:41 -08:00
Romain Guy
d2ea737a1f Merge "Remove leftover debugging code" 2011-12-12 16:50:55 -08:00
Romain Guy
f44e66fcf7 Remove leftover debugging code
Change-Id: I1589af7991da36744071d5081daa24ebae5b4dfd
2011-12-12 16:50:13 -08:00
Romain Guy
ebb2c6b36d Merge "Keep shaders to render properly" 2011-12-12 16:49:40 -08:00
Romain Guy
3e263fac8c Keep shaders to render properly
I don't know who's to blame, SGX or Tegra2 but one of those two GPUs is not
following the OpenGL ES 2.0 spec.

Change-Id: I2624e0efbc9c57d571c55c8b440a5e43f08a54f2
2011-12-12 16:47:48 -08:00
Jamie Gennis
ab68400106 am f08403ba: am 74e0fcae: am a1dee3f5: Merge "SurfaceTexture: fix a verbose-log compile error" into ics-mr1
* commit 'f08403ba92999448512c4af7062fe30206e32dcf':
  SurfaceTexture: fix a verbose-log compile error
2011-12-12 16:13:58 -08:00
Jamie Gennis
f08403ba92 am 74e0fcae: am a1dee3f5: Merge "SurfaceTexture: fix a verbose-log compile error" into ics-mr1
* commit '74e0fcaed1cd20ae8632224ff5a5404ff1a6e497':
  SurfaceTexture: fix a verbose-log compile error
2011-12-12 16:10:28 -08:00
Romain Guy
36ee0c9fcb am 6752d0ab: Mark color uniform fetched after fetching it
* commit '6752d0ab029a185a42e34e7a933b669e6ed19e89':
  Mark color uniform fetched after fetching it
2011-12-12 13:37:45 -08:00
Romain Guy
8df4905c6b am 11326aa1: Merge "Code cleanup"
* commit '11326aa1b9482fefa0c0bdcb7e48cfeae6f9e33d':
  Code cleanup
2011-12-12 13:37:42 -08:00
Romain Guy
915ff1a38f am ee698a01: Merge "Free up resources by deleting shaders early on"
* commit 'ee698a01bdc9ea7aa2b1cd729109b194a130f9f5':
  Free up resources by deleting shaders early on
2011-12-12 13:37:39 -08:00
Romain Guy
6752d0ab02 Mark color uniform fetched after fetching it
Change-Id: I10e8027018608070a536eb8b51c7a4272e37006c
2011-12-12 12:15:17 -08:00
Jamie Gennis
798b9cdf8c SurfaceTexture: fix a verbose-log compile error
Change-Id: I045231207e068d950bb0cb5085717af5d9454ed1
2011-12-09 15:07:44 -08:00
Romain Guy
24edca8b52 Code cleanup
Change-Id: If92e3addfc4d8546a60edcdea60a1fc89c27b680
2011-12-09 13:08:06 -08:00
Romain Guy
05bbde70fd Free up resources by deleting shaders early on
Change-Id: I29a39775732c0a48d3e6823f7afa3e741cae8541
2011-12-09 12:55:37 -08:00
Mathias Agopian
99bd43b2bb am 4a46ee57: Merge "Improve the VSYNC api a bit."
* commit '4a46ee57f10f4a121776cfc05143aa580a92b5e5':
  Improve the VSYNC api a bit.
2011-12-07 14:17:12 -08:00
Mathias Agopian
4a46ee57f1 Merge "Improve the VSYNC api a bit." 2011-12-07 14:15:21 -08:00