Romain Guy
44f8d6bd15
Merge "Don't set texture parameters on every frame."
2011-06-24 17:54:25 -07:00
Romain Guy
4a5a71518a
Don't set texture parameters on every frame.
...
Change-Id: Iec368405ad6a4ccfd569a0b3b4d681871a770396
2011-06-24 17:53:53 -07:00
Romain Guy
4c60c541de
Merge "Properly tear down TextureView"
2011-06-24 17:21:26 -07:00
Romain Guy
80429c4585
Properly tear down TextureView
...
Change-Id: Ic23cd9257889d0abe8cc3fc1d04a66d0505e383e
2011-06-24 17:20:32 -07:00
Christopher Tate
78a7f12043
Merge "Fix settings restore"
2011-06-24 15:15:51 -07:00
Christopher Tate
28cdb9e104
Fix settings restore
...
Also correct the debug-mode logging of error locations in backup data.
Bug 4914182
Change-Id: Ie7dda0192afa819e42490b7ffd2d3db6f11968f6
2011-06-24 15:06:48 -07:00
Romain Guy
02ccac69fd
Code cleanup
...
Change-Id: I64c346004e0adf9a776d0315534d4fe445f0c0ca
2011-06-24 13:20:23 -07:00
Grace Kloba
0904d0af81
Add allowSynchronousMode to SurfaceTexture constructor.
...
Change-Id: I54f30a3c16bbe6b813f3bcd1d389da5627531304
2011-06-23 21:21:47 -07:00
Stephen Hines
cf86dc2997
Merge "Move divsi3, modsi3, udivsi3, umodsi3 to libbcc."
2011-06-23 17:08:02 -07:00
Stephen Hines
7c1747c13c
Merge "Remove verbose logging, update test app and docs."
2011-06-23 17:07:10 -07:00
Stephen Hines
e352f05d3a
Move divsi3, modsi3, udivsi3, umodsi3 to libbcc.
...
BUG=3435530
Change-Id: I4e90a6cdf5af534f93d83093ea31b1defd1e896c
2011-06-23 16:49:00 -07:00
Stephen Hines
3d782666d7
Remove verbose logging, update test app and docs.
...
Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
2011-06-23 16:18:28 -07:00
tedbo
0694cfe49a
Merge "Add method to create a ParcelSurfaceTexture from android.view.Surface."
2011-06-23 14:45:30 -07:00
Glenn Kasten
697283e917
Add Thread::join
...
This new API will be used by applications that previously used the
lower-level pthread APIs (including pthread_join). Centralizing on the
Thread class instead of pthread will permit additional functionality to
be added later in only one location.
Change-Id: I8460169ac9c61ac9f85752405ed54c94651058d7
2011-06-23 12:55:29 -07:00
Romain Guy
a9489274d6
Add the ability to specify the opacity of a TextureView
...
TextureView assumes its content is opaque by default.
Change-Id: Iba873423566a5b67c388081838bd910dceba32ba
2011-06-22 20:58:11 -07:00
Glenn Kasten
60d47796cc
Thread ID zero for androidSetThreadSchedulingGroup
...
Already implemented by androidSetThreadPriority but not documented
Change-Id: I85302b17092952065f3f3a4214d8d8abdd465dbd
2011-06-22 17:45:30 -07:00
Romain Guy
d586ad9c9f
Fix another memory leak in OpenGLRenderer
...
Change-Id: I23ed56891452a05cf3ca13f6919c4fef90d5ff4e
2011-06-22 17:10:00 -07:00
tedbo
4e8a5c922c
Add method to create a ParcelSurfaceTexture from android.view.Surface.
...
Change-Id: I05e343ab7e327478f60322af9373574b70c148f5
2011-06-22 16:18:09 -07:00
Romain Guy
f6a63ae3a7
Fix memory leak in OpenGLRenderer.
...
When creating a display list, matrices are duplicated locally. They
were however never deleted, thus causing apps to slowly leak memory
(a matrix is about 40 bytes.)
Change-Id: Iac465b720d4c4c9b5ca3fce870c0c912c14a74ab
2011-06-22 15:13:09 -07:00
Jason Sams
2d90f953b8
Merge "First cut of atomics for renderscript."
2011-06-21 17:11:04 -07:00
Jason Sams
71767c5577
First cut of atomics for renderscript.
...
Change-Id: Iefc0228d802e6f5348ae787553c9252fb90ba110
update atomic patch.
Change-Id: Idd0596439c092f570b6b226e9a9c7102ddffe88e
2011-06-21 17:07:18 -07:00
Jamie Gennis
dba35bb98d
Merge "SurfaceTexture: make tests use a large framebuffer."
2011-06-21 14:40:29 -07:00
Jason Sams
1a3b2f627c
Merge "First cut at RSTextureView."
2011-06-20 17:26:48 -07:00
Jason Sams
faa32b33b5
First cut at RSTextureView.
...
Change-Id: I920950f33079b6bb7e48bb8970201ab9737bb021
2011-06-20 16:58:04 -07:00
Jamie Gennis
dba3968ab2
SurfaceTexture: make tests use a large framebuffer.
...
This change makes the SurfaceTexture GL tests use a large (512x512)
framebuffer. The tests now use glViewport to render to a region of the
framebuffer with a size matching that of the texture being drawn. The
Npot test pixel checks must be changed because now the rendered region
is the same size as the texture.
Change-Id: Icc41803189c25e33ba1da7d2470720f0a11f3e4b
2011-06-20 15:42:57 -07:00
Jamie Gennis
c972c795cf
Merge "SurfaceTexture: fix a NULL ptr dereference."
2011-06-20 15:34:00 -07:00
Jamie Gennis
aff7405418
SurfaceTexture: fix a NULL ptr dereference.
...
This change adds a NULL check when searching the slot list in
SurfaceTextureClient for the slot corresponding to a buffer being
queued or canceled.
Bug: 4645023
Change-Id: I806cbc1e34da118ea33a83c4f25ce8193ba1c3ad
2011-06-20 14:16:49 -07:00
Romain Guy
98769300af
Merge "Add error checking to LayerRenderer::copyLayer"
2011-06-17 17:47:59 -07:00
Romain Guy
d6b2a00dd4
Add error checking to LayerRenderer::copyLayer
...
This method is invoked by TextureView.getBitmap() and failures must be
caught to avoid leaving the GL context in a potentially bad state.
Change-Id: I620de395ba1bc20154de58c81963223dc55cac78
2011-06-17 17:45:59 -07:00
Romain Guy
ee452bcc06
Merge "Fix rendering issue with paths when the stroke width is 0"
2011-06-17 15:49:22 -07:00
Romain Guy
98029c825b
Fix rendering issue with paths when the stroke width is 0
...
Change-Id: I5d8ac23dc69e9e17df4ef6b5195186b5207e2524
2011-06-17 15:47:07 -07:00
Jamie Gennis
54ed610790
Merge "SurfaceTexture: enable a test that now passes."
2011-06-17 10:45:15 -07:00
Jamie Gennis
ce14a04b2c
Merge "SurfaceTexture: enable a test that is now passing."
2011-06-17 10:45:01 -07:00
Alex Sakhartchouk
9347d9ad92
Merge "Adding ability to read back fbo data to renderscript"
2011-06-16 15:15:14 -07:00
Alex Sakhartchouk
8650c32907
Adding ability to read back fbo data to renderscript
...
Change-Id: Ie684c26cbcde22f2483b43415dfc39a3de22c5a1
2011-06-16 11:05:13 -07:00
Kenny Root
e04f826fef
Use rand() for MinGW
...
The version of MinGW we use doesn't have nrand48() which is really lame,
but we need to use libutils in the Windows SDK.
Change-Id: If854c03dbf02bc29e79f49e4539f08c2bf057517
2011-06-15 20:55:49 -07:00
Jamie Gennis
537cf4a6a3
SurfaceTexture: enable a test that now passes.
...
This change enables the QueryFormatAfterSettingWorks.
Change-Id: Ic868011a36a6c86c8646880246cd5b6960a13364
2011-06-15 12:44:01 -07:00
Jamie Gennis
b82f85bbfd
SurfaceTexture: enable a test that is now passing.
...
This change enables the TexturingFromCpuFilledYV12BufferPow2 test.
Change-Id: Ib356ee3d2f8979f34f849fd4090f598295e2e92e
2011-06-15 12:44:01 -07:00
Glenn Kasten
370a71bcaf
Merge "Bug 4608375"
2011-06-14 17:54:25 -07:00
Romain Guy
77a811610f
Add TextureView.getBitmap()
...
This API can be used to get a Bitmap copy of the content of a
TextureView.
Change-Id: I07522216c353720fba5cab333174f58f484eb911
2011-06-14 17:06:53 -07:00
Jamie Gennis
fba5fcf367
SurfaceTexture: increase the test's Surface layer.
...
This change increases the Surface layer used for displaying the test
results so that the tests will be visible over other windows in the
system.
Change-Id: I47f147f8743ff2a39d57d551811668371202bd31
2011-06-14 13:45:53 -07:00
Jamie Gennis
d23398d40c
SurfaceTexture: add some RGBA_8888 tests.
...
Change-Id: Id09915c98a00eca1209b7dab32039a06d260908e
2011-06-14 13:45:53 -07:00
Jamie Gennis
3c7d846c26
SurfaceTextureClient: minor test refactoring.
...
Change-Id: Iabc6d27ca35d30d896c6aef65c4f1b5a1eed47b8
2011-06-14 13:45:52 -07:00
Jamie Gennis
44ce622fc3
Merge "SurfaceTexture: add a format querying test."
2011-06-14 13:39:05 -07:00
Alex Sakhartchouk
9b309b99f7
Merge "Allocation copy functions."
2011-06-14 13:14:57 -07:00
Alex Sakhartchouk
304b1f5497
Allocation copy functions.
...
Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
2011-06-14 11:13:19 -07:00
Glenn Kasten
1d24aaa4b4
Bug 4608375
...
Update priority and policy together for audio threads
Change-Id: Ib3b07b32586c222c4aacbf23414ae8b05db502be
2011-06-14 10:41:50 -07:00
Romain Guy
ad4e03d697
Merge "Batch glCopyTexImage() calls to get about 15 fps back on SGX."
2011-06-13 19:07:22 -07:00
Romain Guy
54be1cdf3d
Batch glCopyTexImage() calls to get about 15 fps back on SGX.
...
Change-Id: I04079e070739c1e46df3e90fc388c335e2a7d2b9
2011-06-13 19:04:27 -07:00
Mathias Agopian
eb99f0d9f0
fix RefBase so it retains binary-compatibility with gingerbread
...
Bug: 4595257
Change-Id: I0d5e10f497e3f39868bff58f6ded510c38b44b12
2011-06-13 18:39:45 -07:00