1078 Commits

Author SHA1 Message Date
Romain Guy
36d7549181 Update hardware acceleration doc
Change-Id: I3bed77b3c4e1eff96fa462e4849f25f38784c415
2012-01-23 16:26:46 -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
dec35b81b7 am 90bd1873: Merge "Fix build"
* commit '90bd18737a5ce16708003363683744cfd0480d83':
  Fix build
2012-01-19 18:17:54 -08:00
Romain Guy
65447287cb Fix build
Change-Id: I0e0f6a613cdad3ec075da9b84e3532dd492f0162
2012-01-19 18:15:24 -08:00
Romain Guy
3e77e8e59c am d2f0dcd1: Merge "Remove unused code"
* commit 'd2f0dcd182fbc0423d206919e81f3845fb9b8155':
  Remove unused code
2012-01-19 17:44:50 -08:00
Romain Guy
68fc1dfce0 Remove unused code
Change-Id: Ife0a43f3cfe64a1e74401b10bf74d37cbeefb5af
2012-01-19 17:41:39 -08:00
Romain Guy
4adbee3784 am bad12166: Merge "Deprecate unused APIs"
* commit 'bad12166190a7e8087eb5db0ae8df9a4e5843fde':
  Deprecate unused APIs
2012-01-19 17:37:10 -08:00
Jean-Baptiste Queru
12b7da6995 am 6df477be: Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)"
* commit '6df477be186233e36fc370c4d2db6c1ed928a740':
  Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
2012-01-19 17:26:12 -08:00
Jean-Baptiste Queru
97aa8ee811 Merge ee4618bc
Change-Id: Ie1dc6ad38e7c30636d80f6caef11cf6673144940
2012-01-19 17:18:25 -08:00
Romain Guy
f9d9c065ed Deprecate unused APIs
Change-Id: I0107e246b632dda96b8b025217936954f1f46283
2012-01-19 17:16:38 -08:00
Steve Block
c6aacce371 Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
2012-01-19 14:45:03 -08:00
Steve Block
06ade6ae1b Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)
Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
2012-01-19 14:44:31 -08:00
Romain Guy
205c2c5fb1 am e7bdf2d9: Merge "Don\'t crash on Canvas.drawPicture()"
* commit 'e7bdf2d9d0107afadddb6498331cd21be260d23c':
  Don't crash on Canvas.drawPicture()
2012-01-18 18:12:51 -08:00
Romain Guy
84fce187b0 Don't crash on Canvas.drawPicture()
Implementation yet to come but prevent app crashes.

Change-Id: I81d6851ebf776a98e13c606bab272a03aec406ee
2012-01-18 18:09:54 -08:00
Romain Guy
c32d232c91 am 11d06a73: Merge "Fix text encoding when drawing with drawPosText in software"
* commit '11d06a73df371be0b11d5cf586e24601d796c048':
  Fix text encoding when drawing with drawPosText in software
2012-01-17 14:56:45 -08:00
Romain Guy
62b6eaa7f3 Fix text encoding when drawing with drawPosText in software
Change-Id: I0cd8ee526189c38c50953a1a08b50e0b31c55d8c
2012-01-17 14:53:26 -08:00
Jason Sams
615e7cee03 Start implementing SurfaceTexture streaming into RS allocations.
Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
2012-01-13 14:01:20 -08:00
Romain Guy
0136a90de9 am 10b06842: Prevent the GC from destroying the underlying native object
* commit '10b0684296a1fbdc6966f54f77e821a9ce4852ad':
  Prevent the GC from destroying the underlying native object
2012-01-10 09:03:50 -08:00
Romain Guy
10b0684296 Prevent the GC from destroying the underlying native object
Change-Id: I9aaba5d82828af83dad8e6a270d2ab8c92b42be5
2012-01-09 18:42:49 -08:00
Steve Block
2e681c1b09 resolved conflicts for merge of 08289f55 to graphics-dev
Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
2012-01-09 23:24:46 +00:00
Steve Block
3762c31172 Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2012-01-08 13:19:13 +00:00
Alex Sakhartchouk
d5a62bb802 Adding getters to rs program obejcts.
Change-Id: Iff8ccc1835109d303201d6a1adb6e5cbde8ba634
2012-01-06 10:36:06 -08:00
Alex Sakhartchouk
a041adcb85 Merge "Missing getter and additional tests." into graphics-dev 2011-12-27 09:04:40 -08:00
Alex Sakhartchouk
60deb2d9ba Merge "Adding tests for element/mesh getters. Fixing bugs found by tests." into graphics-dev 2011-12-27 09:03:38 -08:00
Joe Fernandez
fc8d7a960a am 2b072677: am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1
* commit '2b072677538de979961b5bf527109fdab1713731':
  docs: Add developer guide cross-references, Project ACRE, round 4
2011-12-22 16:01:48 -08:00
Joe Fernandez
2b07267753 am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1
* commit '201469f54522436be79d4d6665721049bfc74320':
  docs: Add developer guide cross-references, Project ACRE, round 4
2011-12-22 15:59:34 -08:00
Joe Fernandez
3aef8e1d1b docs: Add developer guide cross-references, Project ACRE, round 4
Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
2011-12-22 15:08:23 -08:00
Alex Sakhartchouk
fd79e02e0f Missing getter and additional tests.
Change-Id: I057dd0a29d2cad40d0a0627b4355faeb82bbc229
2011-12-22 14:30:55 -08:00
Alex Sakhartchouk
3aac0abe79 Adding tests for element/mesh getters.
Fixing bugs found by tests.

Change-Id: I6592a3b65f16b21255e7788fe8ee8aaafe268638
2011-12-22 13:11:48 -08:00
Chet Haase
35afa3d1c3 am f3bd2f7a: Merge "Fix AnimationDrawable double-start bug"
* commit 'f3bd2f7a3f2eadd5126b1a55ca45bdbffe80ceeb':
  Fix AnimationDrawable double-start bug
2011-12-19 18:04:21 -08:00
Chet Haase
f7917e656b Fix AnimationDrawable double-start bug
AnimationDrawable.setVisible(true, true) was not correctly recording
the fact that it had started the animation, so it was possible to call
start(0 immediately afterwards and have two animations running on the
drawable in parallel, resulting in incorrect frame ordering.

Issue #5782773

Change-Id: Ifc328f755a51d10ab76b84006d1999df03d2dca1
2011-12-19 15:49:42 -08:00
Alex Sakhartchouk
f5d8ac7cc3 Element getters.
Change-Id: Ibe570464557eeecad108b4d3cb8f02fad13943de
2011-12-16 09:44:26 -08:00
Jason Sams
857d0c7017 Private API to support MFF transition.
Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
2011-11-23 15:02:15 -08:00
Alex Sakhartchouk
e679e2ebcf am e693fa3e: am a962ef29: am 4c593010: Merge "Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body." into ics-mr1
* commit 'e693fa3e184f7a49f9bf912a0dac057fb339b8a4':
  Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body.
2011-11-17 04:13:03 -08:00
Alex Sakhartchouk
e693fa3e18 am a962ef29: am 4c593010: Merge "Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body." into ics-mr1
* commit 'a962ef2993099e6c5db3809a7e829e43c8cf084a':
  Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body.
2011-11-17 04:08:30 -08:00
Alex Sakhartchouk
af9dcfe641 am 5a471818: Merge "Expand RS vector3 types to vector4."
* commit '5a4718183340a108b55eba7bf755b4432153caa1':
  Expand RS vector3 types to vector4.
2011-11-16 10:40:49 -08:00
Alex Sakhartchouk
5a47181833 Merge "Expand RS vector3 types to vector4." 2011-11-16 10:36:02 -08:00
Alex Sakhartchouk
e60149d227 Expand RS vector3 types to vector4.
BUG=5609007

The underlying LLVM implementation for vector3 types does this implicitly. If
RS does not adjust its implementation, we will always be misaligned for any
subsequent data after a vector3 type. We previously inserted padding into the
reflected layers from llvm-rs-cc (hence the skip padding part of this change).
We can safely ignore the padding now that the Java/native code is updated to
use the expanded size. The compiler will also need modification to ensure that
we don't mistakenly skip over any end-of-struct padding.

Fixing the 3 component vector padding problem.

Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
2011-11-15 15:15:21 -08:00
Alex Sakhartchouk
38da5086a6 Followup to a bug fix.
Addtion of synchronized to the methods triggers an API change.
Per council advice, pushing synch block into the function body.

Change-Id: Iaa395d9720bce499259ab750fe97149715e9f271
2011-11-15 14:21:58 -08:00
Mathias Agopian
e13c5c1777 am d8fa1ad4: am 738d8cae: am c93a151f: Merge "Define, document, and test the behavior of very large SurfaceTextures" into ics-mr1
* commit 'd8fa1ad4523b6c04cab663ff4b65181fc00594d9':
  Define, document, and test the behavior of very large SurfaceTextures
2011-11-15 04:11:01 -08:00
Alex Sakhartchouk
8ee964d10e am b14d771c: am f579bb92: am cde433c5: Merge "Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context." into ics-mr1
* commit 'b14d771cf07479e3186a167a219fb2d42d8d4d30':
  Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context.
2011-11-15 04:10:47 -08:00
Mathias Agopian
d8fa1ad452 am 738d8cae: am c93a151f: Merge "Define, document, and test the behavior of very large SurfaceTextures" into ics-mr1
* commit '738d8cae2239d194429676f2889cfae3c8f7ba08':
  Define, document, and test the behavior of very large SurfaceTextures
2011-11-14 11:54:38 -08:00
Mathias Agopian
c93a151fde Merge "Define, document, and test the behavior of very large SurfaceTextures" into ics-mr1 2011-11-14 11:49:42 -08:00
Alex Sakhartchouk
b14d771cf0 am f579bb92: am cde433c5: Merge "Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context." into ics-mr1
* commit 'f579bb92c2032cd27aef72a1654c006933b22bbd':
  Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context.
2011-11-14 10:39:08 -08:00
Alex Sakhartchouk
cde433c5f7 Merge "Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context." into ics-mr1 2011-11-14 10:35:08 -08:00
Mathias Agopian
b89d88f531 Define, document, and test the behavior of very large SurfaceTextures
updateTexImage() now throws a runtime exception when its native
counterpart fails

Bug: 5506633

Change-Id: I151a6f685d465966e7df4df624412ab2da62e95f
2011-11-11 18:44:35 -08:00
Christopher Tate
0528bcc785 am 951aa9d8: am 9acae658: am 847fbbea: Merge "Localized optimizations in views and bitmaps" into ics-mr1
* commit '951aa9d8ea71082f4ae4c46c41616e79619401fd':
  Localized optimizations in views and bitmaps
2011-11-11 16:01:23 -08:00
Christopher Tate
951aa9d8ea am 9acae658: am 847fbbea: Merge "Localized optimizations in views and bitmaps" into ics-mr1
* commit '9acae658e179796beee91d673f9f70af49ae3c9b':
  Localized optimizations in views and bitmaps
2011-11-11 14:28:55 -08:00