The Android Open Source Project
4bdec4ab5d
merge from open-source master
...
Change-Id: I0d2492c58689315f4caaa9bcb908296c26f53ed6
2010-06-02 07:35:57 -07:00
The Android Open Source Project
8cc5a8166d
merge from open-source master
...
Change-Id: I900ca65f70c1a66781fb5f6f37c45961416d5650
2010-06-02 07:22:11 -07:00
Christian Mehlmauer
942e696486
removed unused imports
...
Change-Id: I1411ee3d0229918a6ff3837894d63f775550da27
2010-05-20 21:04:57 +02:00
Christian Mehlmauer
707eb2ffec
Updated Sensor Samples to newest API
...
Change-Id: I88c0ce08232fed34aa99c97385155220e7d9abff
2010-05-19 18:27:34 +02:00
Jack Palevich
66914d4a73
Improve Cube Map and FrameBufferObject samples.
...
Fix tabs and trailing whitespace.
Expand comment to explain how we search for GL extensions.
Rename and document the DEBUG_RENDER_OFFSCREEN_ONSCREEN variable.
Also make it final static because its value never changes.
2010-02-03 16:00:49 +08:00
Jack Palevich
89282a6fd6
Add API Demos showing how to use cube maps and frame buffer objects.
2010-01-29 20:58:38 +08:00
Romain Guy
74192eafec
Deprecate fill_parent and introduce match_parent.
...
Bug: #2361749 .
2010-01-08 15:11:18 -08:00
Jack Palevich
c1645153e7
Tool for compressing/decompressing ETC1 textures.
...
The ETC1 texture format is commonly supported by
OpenGL ES 2.0-capable GPUs.
For historical reasons ETC1 texture files have the
default extension .PKM
This tool relies on the libETC1 library to
compress and decompress the image data.
2009-12-31 13:19:21 +08:00
Jack Palevich
8e50990893
Remove unnecessary matrix stack manipulations.
...
glDrawTexiOES does not use the matix stack, so no need to modify it.
2009-12-22 18:32:05 +08:00
Dirk Dougherty
a276296490
Merge commit 'e897c1b4' into manualmerge
...
Conflicts:
samples/ApiDemos/src/com/example/android/apis/app/_index.html
2009-12-15 23:27:22 -08:00
Dirk Dougherty
0b1153b115
sdk doc change for esr: fix some broken links to resources files.
...
Bug: 2160782
Change-Id: Ie8650e4b642a96e67a2e7e62669282bc58d414ba
2009-12-15 18:47:00 -08:00
Jack Palevich
fe8c16afe6
Simple Matrix Palette skinning sample.
2009-12-09 15:32:35 +08:00
Owen Lin
b05eba3155
am 0a91a547: am 0ee41ccc: Merge change I1558a070 into eclair-mr2
...
Merge commit '0a91a547ee32d559b7b737f69430d4d0732dfca9'
* commit '0a91a547ee32d559b7b737f69430d4d0732dfca9':
Fix the camera preview demo.
2009-12-07 18:30:14 -08:00
Jack Palevich
fbc44116df
Add OpenGL ES 2.0 sample.
...
This sample renders a textured triangle using OpenGL ES 2.0.
If OpenGL ES 2.0 is not available, the sample falls back to
using OpenGL ES 1.0.
2009-11-27 19:54:46 +08:00
Owen Lin
1558a07089
Fix the camera preview demo.
...
The preview size will be checked now in Camera HAL. So, we change the code to
get the supported preview sizes and find one of the size that match the
surface's width and height.
2009-11-16 15:43:16 +08:00
Mike Reed
d22a3d977d
Revert "update demo to use boundary patch"
...
This reverts commit 3f14f59ee6 .
2009-10-28 17:04:38 -04:00
Mike Reed
3f14f59ee6
update demo to use boundary patch
2009-10-28 15:47:54 -04:00
Jack Palevich
79297bbe31
Turn of log message that was accidentally left on in an earlier commit.
2009-10-08 20:12:57 -07:00
Jack Palevich
27666897d0
Make robot.png a raw resource.
...
After all, it's being used as a raw resource.
2009-10-05 13:59:20 -07:00
Jack Palevich
83d8d83ad1
Remove unused getConfigSpec methods from ApiDemos sample code
...
At one time during the development of GLSurfaceView, the
GLSurfaceView.Renderer interface had a getConfigSpec method that was used to
select the frame buffer format. This method was removed from the
Renderer interface before GLSurfaceView became a public API, but
the sample code still defined these now-unused methods.
To reduce the chance of confusing a developer who uses the sample code,
this change removes the dead, no-longer-called getConfigSpec
implementations from the three samples.
See GLSurfaceView.setEGLConfigChooser for the replacement
technique.
2009-08-21 11:48:50 -07:00
Wu-cheng Li
0b34a0cfd5
am c5c912e4: Merge change 20717 into donut
...
Merge commit 'c5c912e49bdc89a7a7778b66d1ca6b00440d2888'
* commit 'c5c912e49bdc89a7a7778b66d1ca6b00440d2888':
Release the camera in surfaceDestroyed().
2009-08-11 18:12:14 -07:00
Dianne Hackborn
b99b11dec9
am 46b133a2: Merge change 20690 into donut
...
Merge commit '46b133a2baf4d4c35801a24893d6a72f1ab82e7f'
* commit '46b133a2baf4d4c35801a24893d6a72f1ab82e7f':
Add density demo.
2009-08-11 18:11:50 -07:00
Android (Google) Code Review
c5c912e49b
Merge change 20717 into donut
...
* changes:
Release the camera in surfaceDestroyed().
2009-08-11 10:31:48 -07:00
Wu-cheng Li
5dfeb0e195
Release the camera in surfaceDestroyed().
...
If the camera is not released, the new client will fail to connect to camera next time. b2042350
2009-08-11 17:30:15 +08:00
Dianne Hackborn
3b01460578
Add density demo.
...
This is basically just a copy of DpiTest, but it seems like this stuff
would be useful to have in sample code.
2009-08-10 18:12:32 -07:00
Xavier Ducrohet
31192b9309
am 66f17e50: ApiDemos Clean up
...
Merge commit '66f17e50dbb42bc529dd12b2f26729f114b1a1a9'
* commit '66f17e50dbb42bc529dd12b2f26729f114b1a1a9':
ApiDemos Clean up
2009-08-03 19:09:37 -07:00
Xavier Ducrohet
66f17e50db
ApiDemos Clean up
...
- Add missing @Override
- Remove (some) unused imports
- Add some missing headers
BUG: 2031807
2009-08-03 19:00:36 -07:00
Mike Reed
b94183bf7c
add sample for using colorfilters
2009-06-08 14:00:17 -04:00
Wei-Ta Chen
1ba461c7b6
Add an API demo that shows the effets of setting Bitmaps as being purgeable.
2009-06-01 13:35:06 -07:00
Jack Palevich
d9b9c8eaaa
Use direct, native order Buffers for OpenGL data.
2009-05-07 14:54:46 -07:00
Scott Main
82ce558241
am 705a3ee: AI 147793: cleanup broken links and delete all innacurate in
...
Merge commit '705a3ee3975877460c124d98eda12ae16dadd1a6' into donut
* commit '705a3ee3975877460c124d98eda12ae16dadd1a6':
AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
2009-04-28 21:53:14 -07:00
Scott Main
705a3ee397
AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
...
BUG=1810005
Automated import of CL 147793
2009-04-25 14:04:53 -07:00
Jack Palevich
c7ad6e203d
Add a sample showing how to use the new static OpenGL ES bindings.
...
(Actually repurpose the existing Texture Triangle sample.)
2009-04-24 13:04:26 -07:00
Jack Palevich
46a1d90217
Automated import from //branches/donutburger/...@142486,142486
2009-03-24 22:49:05 -07:00
Jack Palevich
bea7f769d8
Automated import from //branches/cupcake/...@142485,142485
2009-03-24 20:22:52 -07:00
The Android Open Source Project
52d4c30ca5
auto import from //depot/cupcake/@135843
2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca
auto import from //depot/cupcake/@135843
2009-03-03 18:28:16 -08:00
The Android Open Source Project
e3c5766074
auto import from //branches/cupcake/...@130745
2009-02-10 15:43:58 -08:00
The Android Open Source Project
5a4d0fa291
auto import from //branches/cupcake/...@127436
2009-01-22 00:13:40 -08:00
The Android Open Source Project
e943f2fd8e
Code drop from //branches/cupcake/...@124589
2008-12-17 18:04:04 -08:00
The Android Open Source Project
5c11852110
Initial Contribution
2008-10-21 07:00:00 -07:00