4261 Commits

Author SHA1 Message Date
Romain Guy
13631f3da8 Add debug markers to OpenGLRenderer
These markers will be used to group the GL commands by View in the
OpenGL ES debugging tool. This will help correlate individual GL
calls to higher level components like Views.

Change-Id: I73607ba2e7224a80ac32527968261ee008f049c6
2012-01-30 17:41:55 -08:00
Stephen Hines
bc19591c1f am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."
* commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a':
  Fix potential bug with reordered size/offset arguments.
2012-01-30 12:23:21 -08:00
Stephen Hines
855eadf942 Merge "Fix potential bug with reordered size/offset arguments." 2012-01-30 12:22:10 -08:00
Romain Guy
cb3fbbd037 am 69726597: Merge "Add stencil buffer to the EGL config"
* commit '69726597b300ec32f2d2c489cd3f312efd3077c2':
  Add stencil buffer to the EGL config
2012-01-30 12:07:07 -08:00
Romain Guy
530041d319 Add stencil buffer to the EGL config
Change-Id: If76c0cd6127534d90f9526b75c0f8e56259c6722
2012-01-30 12:04:17 -08:00
Mathias Agopian
be124027db am dfbcee6c: fix build
* commit 'dfbcee6cb8ab9cf89b9052eb7498e453afdb1463':
  fix build
2012-01-29 22:24:52 -08:00
Mathias Agopian
dfbcee6cb8 fix build
Change-Id: Ibdc45f1794e7ef60dc1ca0ff85c5cc4dff84c3fa
2012-01-29 22:22:08 -08:00
Jason Sams
85694cf6c7 Merge "Add comment to confusing commands." into graphics-dev 2012-01-27 13:30:20 -08:00
Jason Sams
61e76a7ffa Add comment to confusing commands.
Change-Id: I7b84b9d8e9b3b595e0bab33d5e219842f6c86f83
2012-01-27 13:27:01 -08:00
Stephen Hines
2061424da7 am cee905be: Merge "Don\'t wait forever if there are no commands to execute."
* commit 'cee905be4874f6d3f112527a53b0f7ff87655c66':
  Don't wait forever if there are no commands to execute.
2012-01-27 10:10:27 -08:00
Stephen Hines
cee905be48 Merge "Don't wait forever if there are no commands to execute." 2012-01-27 10:08:18 -08:00
Jamie Gennis
ac9e27a540 am 7bea6502: Merge "SurfaceTexture: use fence sync on omap4 & s5pc110"
* commit '7bea65020872a9945a6938068c4922d33cef5b4e':
  SurfaceTexture: use fence sync on omap4 & s5pc110
2012-01-27 09:54:38 -08:00
Jamie Gennis
7bea650208 Merge "SurfaceTexture: use fence sync on omap4 & s5pc110" 2012-01-27 09:53:14 -08:00
Stephen Hines
e3f9cc6761 Don't wait forever if there are no commands to execute.
BUG=5614887

This fixes a timing issue where we could calculate a delay of 0 (indicating
wait forever) when we have no pending commands to actually execute. In such
cases, we should just break out of the playback loop.

This also fixes a small issue with returning whether or not to redraw.

Change-Id: Id1e481679341773256b7287062c68925e2bc8f9e
2012-01-26 17:32:09 -08:00
Stephen Hines
6bd4c7ad4f am caaac348: Merge "Fix bugs with unsigned rsAtomicCas/Max/Min."
* commit 'caaac348ed163f59cf1b8185bb14137050c18e7e':
  Fix bugs with unsigned rsAtomicCas/Max/Min.
2012-01-26 13:58:14 -08:00
Stephen Hines
caaac348ed Merge "Fix bugs with unsigned rsAtomicCas/Max/Min." 2012-01-26 13:55:57 -08:00
Stephen Hines
109116bb2f Fix bugs with unsigned rsAtomicCas/Max/Min.
BUG=5888007

rsAtomicMax/Min did not have proper semantics for unsigned integers. They were
always using signed comparisons. rsAtomicCas had the wrong function signature
in our math library, leading to no way to properly link/execute it.

Change-Id: I336cdd8cd9f2d8093f12e101b55b2797515f039b
2012-01-25 18:17:34 -08:00
Romain Guy
68a1df6541 am 1a54368b: Merge "Add full support for Canvas.setDrawFilter()"
* commit '1a54368b24a8cb88ee56ee746eae45171a43b89e':
  Add full support for Canvas.setDrawFilter()
2012-01-23 17:12:28 -08:00
Romain Guy
5ff9df6582 Add full support for Canvas.setDrawFilter()
Change-Id: I0ad35d0603c4eeda469014803be14c1dcdde918c
2012-01-23 17:09:05 -08:00
Daniel Lam
f3d30e1c70 SurfaceTexture: use fence sync on omap4 & s5pc110
This change enables the use of the EGL_KHR_fence_sync extension in
SurfaceTexture on omap4 and s5pc110 platforms.

Change-Id: Icad5245bab445413ffb8a7c823c296b678bf3250
2012-01-22 15:51:41 -08:00
Stephen Hines
4cbe25a86b Fix potential bug with reordered size/offset arguments.
This change also cleans up a few uint32_t/size_t issues.

Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
2012-01-20 19:21:35 -08:00
Romain Guy
86fcb90f3b am 22d41843: Fix the build, for real
* commit '22d418437e44587cb0fba4353515719453269189':
  Fix the build, for real
2012-01-19 18:36:34 -08:00
Romain Guy
22d418437e Fix the build, for real
Change-Id: I6263f7e5e3ae2f7efe045f8b464c0ed1b87fc793
2012-01-19 18:33:25 -08:00
Romain Guy
d79c3fbe59 am 4785a6ff: Merge "Full support for Canvas.drawPosText"
* commit '4785a6ff8d48f51813611f2cab998b235ce2bbca':
  Full support for Canvas.drawPosText
2012-01-18 18:03:23 -08:00
Romain Guy
4785a6ff8d Merge "Full support for Canvas.drawPosText" 2012-01-18 18:01:34 -08:00
Romain Guy
671d6cf460 Full support for Canvas.drawPosText
This also introduces a small optimization when rendering text.

Change-Id: Iff620ac97bf878eaac406bccc6daa07052c93890
2012-01-18 18:00:12 -08:00
Robert Ly
fda817416c am b41c96a3: am 43fda84e: am 6ad9ea7d: Merge "update overview page for rs api docs to open iframe links in parent" into ics-mr1
* commit 'b41c96a374134c84558291fbb532fe490386a4ba':
  update overview page for rs api docs to open iframe links in parent
2012-01-18 13:24:42 -08:00
Robert Ly
b41c96a374 am 43fda84e: am 6ad9ea7d: Merge "update overview page for rs api docs to open iframe links in parent" into ics-mr1
* commit '43fda84e91b1fe356af35386d2f304d3ab71529e':
  update overview page for rs api docs to open iframe links in parent
2012-01-18 13:21:51 -08:00
Romain Guy
3f096193fc am fb9ffe02: Merge "First pass at implementing Canvas.drawPosText() in GL"
* commit 'fb9ffe02609c9c4ffca64927e72bc935cfe87768':
  First pass at implementing Canvas.drawPosText() in GL
2012-01-17 17:42:49 -08:00
Romain Guy
eb9a5367e8 First pass at implementing Canvas.drawPosText() in GL
Change-Id: Ia3ac347e95d57eb86c63045156c8dbc0572b03cb
2012-01-17 17:39:26 -08:00
Glenn Kasten
06a864413f Thread::getTid returns pid_t gettid() after run
This is needed when the parent or any other thread besides the child
needs access to the child's kernel tid.

Change-Id: Ib148505913eb78314cfd76657c30d7b20663dffd
2012-01-17 09:38:23 -08:00
Stephen Hines
b97c8dd6eb am d36f7d24: Merge "Add support for new root.expand() calls."
* commit 'd36f7d249591559e713a8ca45c6d452c14c94895':
  Add support for new root.expand() calls.
2012-01-13 14:16:39 -08:00
Glenn Kasten
1d23caf617 am 1e808691: Get AID_GRAPHICS from right place
* commit '1e80869133924e1ffff5c10ca787da303fd0b53d':
  Get AID_GRAPHICS from right place
2012-01-13 14:16:35 -08:00
Jason Sams
68e9a8a6c8 Merge "Start implementing SurfaceTexture streaming into RS allocations." into graphics-dev 2012-01-13 14:02:26 -08:00
Jason Sams
615e7cee03 Start implementing SurfaceTexture streaming into RS allocations.
Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
2012-01-13 14:01:20 -08:00
Stephen Hines
d36f7d2495 Merge "Add support for new root.expand() calls." 2012-01-13 13:57:24 -08:00
Glenn Kasten
1e80869133 Get AID_GRAPHICS from right place
Change-Id: I97b1754dc7260fec083275c71a8f71ebfb2cefa8
2012-01-13 13:45:39 -08:00
Robert Ly
2eeb53c155 update overview page for rs api docs to open iframe links in parent
Change-Id: Ic0aa77192fa19b045a7fd9df5926255511fdc3be
2012-01-13 10:18:43 -08:00
Robert Ly
0272f1dfd7 cherrypick from master - add overview description for RS API reference Change-Id: Id5554c607ad4c435f92bfa939e4ce4833a638f62
Change-Id: Iff4b4bd171818208bb3be46dd3ef7e91b6cbd80f
2012-01-13 10:07:20 -08:00
Stephen Hines
6b4cf07cab Add support for new root.expand() calls.
BUG=5444144

Change-Id: I9ab942561a03e9f837a3199457259bb3e07ac76f
2012-01-12 18:56:43 -08:00
Jason Sams
29d433290f Merge "Plumbing for RS priority." into graphics-dev 2012-01-12 14:23:49 -08:00
Jason Sams
17801f1eaa Plumbing for RS priority.
Change-Id: Ibddfd40407fd6d24ac829a76a9a1e2047c48c5fd
2012-01-12 14:22:21 -08:00
Mathias Agopian
e749769e74 am 2fdc357b: Merge "remove dead/usnused code"
* commit '2fdc357bc66b97614455c5148562a5dfb650c1b7':
  remove dead/usnused code
2012-01-12 10:38:50 -08:00
Mathias Agopian
0db7590ed2 remove dead/usnused code
Change-Id: I6fa2bc6ee01790abd2c1533f043d61a5e5c8d26e
2012-01-11 22:03:41 -08:00
Jason Sams
aa9565b1b2 Fix LOGE.
Change-Id: I533bedf0827edb27e0aead78e2bb3389be85acd8
2012-01-10 15:45:04 -08:00
Steve Block
f0b668cf7f am 38e90751: Merge "Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGE"
* commit '38e90751a25606459a9e571aa1b6c992d4c64151':
  Rename LOG_ASSERT to ALOG_ASSERT  DO NOT MERGE
2012-01-10 14:46:36 -08:00
Alex Sakhartchouk
10f2a3c5b3 Merge "Now utilizing ability to bind constants. Fixing small copy/paste typo." into graphics-dev 2012-01-10 14:40:48 -08:00
Alex Sakhartchouk
b64ef770db Merge "Adding ability to bind constants to shaders." into graphics-dev 2012-01-10 14:39:59 -08:00
Alex Sakhartchouk
fdccec9c21 Now utilizing ability to bind constants.
Fixing small copy/paste typo.

Change-Id: I8ca993f3e894214b710bea019dfd65822a4cd88f
2012-01-10 14:30:34 -08:00
Alex Sakhartchouk
33680ff630 Adding ability to bind constants to shaders.
Change-Id: I63b664fd2fec7e0c8157b7185782192132222f1a
2012-01-10 10:16:52 -08:00