Commit Graph

36551 Commits

Author SHA1 Message Date
Mathias Agopian
cbc93ca800 get rid of the "show fps" debug option 2009-04-24 16:31:11 -07:00
Mathias Agopian
0aa758d64a Surfaces are now destroyed properly in SurfaceFlinger.
First, the window manager tells us when a surface is no longer needed. At this point, several things happen:
- the surface is removed from the active/visible list
- it is added to a purgatory list, where it waits for all clients to release their reference
- it destroys all data/state that can be spared

Later, when all clients are done, the remains of the Surface are disposed off: it is removed from the purgatory and destroyed.
In particular its gralloc buffers are destroyed at that point (when we're sure nobody is using them anymore).
2009-04-24 16:30:38 -07:00
Mathias Agopian
f1d8e87b09 a brand new MessageQueue for SurfaceFlinger. 2009-04-24 16:22:36 -07:00
Mathias Agopian
9a11206fe7 more Surface lifetime management
Surfaces are now destroyed once all references from the clients are gone, but they go through a partial destruction as soon as the window manager requests it.
This last part is still buggy. see comments in SurfaceFlinger::destroySurface()
2009-04-24 15:00:41 -07:00
Mathias Agopian
9f88afb013 Squashed commit of the following:
commit e5c24638f98162c3b75b4c67a16b510d38e31341
Author: Mathias Agopian <mathias@google.com>
Date:   Fri Apr 17 14:09:03 2009 -0700

    oops forgot this file.

commit 282642632d0cb12882eecf42e0fdfb2343275de1
Author: Mathias Agopian <mathias@google.com>
Date:   Fri Apr 17 14:07:32 2009 -0700

    use a helper macro for creating Singleton<>'s static attributes instances.
2009-04-24 15:00:41 -07:00
Mathias Agopian
f35e00c9cf Merge commit 'goog/master' into merge_master 2009-04-24 14:24:20 -07:00
Android (Google) Code Review
4e8bdce13f Merge change 551 into donut
* changes:
  Enable static Java APIs for OpenGL ES 1.1 extensions.
2009-04-24 14:17:01 -07:00
The Android Open Source Project
ad94c4189f Merge commit 'korg/donut' 2009-04-24 13:54:57 -07:00
Android (Google) Code Review
4172e40633 Merge change 534 into donut
* changes:
  Make sure to map undefined OES functions to their non-OES counterpart if it exists.
2009-04-24 13:09:06 -07:00
Jack Palevich
3327d6c5ac Enable static Java APIs for OpenGL ES 1.1 extensions.
This is just plumbing. The Java APIs existed already, but there were no C APIs to hook the Java APIs
up to. Now there are C APIs, so we can call them.

Of course, whether or not the C APIs actually work when you call them depend upon the
capabilities of the active OpenGL driver, which must be checked at run time.

Also, while we're here, make the glGetString method static. It was always supposed to be static,
but was accidentally implemented as non-static, because the code was copied from the non-static
OpenGL ES classes.
2009-04-24 13:07:17 -07:00
Android (Google) Code Review
4ade629003 Merge change 497
* changes:
  change the sync framework and users to understand Account
2009-04-24 12:23:57 -07:00
Android (Google) Code Review
9840375354 Merge change 528 into donut
* changes:
  Send the path of the EF file for ICC IO
2009-04-24 12:01:56 -07:00
Android (Google) Code Review
dc63d95576 Merge change 539 into donut
* changes:
  Modify and turn on the test case for video recording in portrait mode.
2009-04-24 11:08:18 -07:00
Bjorn Bringert
fee335512d Merge branch 'readonly-p4-donut' into donut 2009-04-24 02:59:00 -07:00
Android (Google) Code Review
3454eebbc0 Merge change 402 into donut
* changes:
  remove seemingly now unnecessary workaround path
2009-04-24 00:55:26 -07:00
Android (Google) Code Review
46f6e5bbe7 Merge change 415 into donut
* changes:
  code cleanup
2009-04-24 00:39:44 -07:00
Android (Google) Code Review
197502fe6e Merge change 482 into donut
* changes:
  location: Location Manager wakelock cleanup, phase 2
2009-04-23 22:44:05 -07:00
Android (Google) Code Review
e537c8e7a7 Merge change 529 into donut
* changes:
  use gl.h to generate the *.in files. we are now supporting the full gl.h and glext.h apis.
2009-04-23 19:59:17 -07:00
Mathias Agopian
1c2be6af86 Make sure to map undefined OES functions to their non-OES counterpart if it exists. 2009-04-23 19:57:10 -07:00
Karl Rosaen
6912c705b5 Merge branch 'readonly-p4-donut' into donut 2009-04-23 19:01:36 -07:00
Mathias Agopian
b519abb606 use gl.h to generate the *.in files. we are now supporting the full gl.h and glext.h apis. 2009-04-23 18:05:44 -07:00
Android (Google) Code Review
972d985b7f Merge change 509 into donut
* changes:
  Fix a media server crash (bug 1807910): part one Add a factory method that creates a Camera object from a remote client
2009-04-23 15:58:38 -07:00
Android (Google) Code Review
e0c499153b Merge change 459 into donut
* changes:
  TypedProperties: initial commit
2009-04-23 14:22:58 -07:00
James Dong
f1a5314076 Fix a media server crash (bug 1807910): part one
Add a factory method that creates a Camera object from a remote client

Next:
The changes in authordriver.cpp and android_camera_input.cpp will come.
and the constructor for Camera object will be removed.
2009-04-23 14:07:23 -07:00
Android (Google) Code Review
e1e08acf41 Merge change 462 into donut
* changes:
  integrate some OpenGL ES changes back from master_gl in preparation of opening GLES to the NDK.
2009-04-23 13:48:39 -07:00
Mathias Agopian
53238bddea integrate some OpenGL ES changes back from master_gl in preparation of opening GLES to the NDK. 2009-04-23 13:45:48 -07:00
Android (Google) Code Review
5390ff2efc Merge change 165 into donut
* changes:
  Squashed commit of the following:
2009-04-23 12:23:46 -07:00
Android (Google) Code Review
b0f249fefd Merge change 483 into donut
* changes:
  API_CHANGE: external_storage: Add SDCARD_WRITE permission with associated strings
2009-04-23 11:44:10 -07:00
Android (Google) Code Review
be970a91b1 Merge change 431
* changes:
  package run_page_cycler.py into apk and add code for extraction
2009-04-22 18:51:09 -07:00
Android (Google) Code Review
7f9857743d Merge change 460 into donut
* changes:
  More optimization of dumpsys output.
2009-04-22 18:33:57 -07:00
Jean-Baptiste Queru
f0404b5d7e Merge donut into master 2009-04-22 18:33:17 -07:00
Jean-Baptiste Queru
fbe69961ba Merge donut into master 2009-04-22 18:33:17 -07:00
Jean-Baptiste Queru
8e0bf89cc0 Merge donut into master 2009-04-22 18:27:14 -07:00
Jean-Baptiste Queru
4909397fca merge cupcake into donut 2009-04-22 17:56:58 -07:00
Jean-Baptiste Queru
f6ead370b6 merge cupcake into donut 2009-04-22 17:56:58 -07:00
Jean-Baptiste Queru
b6471a45c8 Merge donut into master 2009-04-22 17:12:34 -07:00
Jean-Baptiste Queru
2bcce3696e Merge donut into master 2009-04-22 17:12:34 -07:00
Android (Google) Code Review
cec419a3ea Merge change 289 into donut
* changes:
  Changes for new ril.h.
2009-04-22 16:44:52 -07:00
Robert Greenwalt
fd392958ea Squashed commit of the following:
commit 012b56fc607cf243cf4b29cb2a5f172bcbe0aecd
Author: Robert Greenwalt <robdroid@android.com>
Date:   Wed Apr 22 14:31:26 2009 -0700

    Additional fixes and tests for density.

commit 91fdc8e187551ae69e0029a4325fb3ad38fe411b
Author: Robert Greenwalt <robdroid@android.com>
Date:   Tue Apr 14 14:39:00 2009 -0700

    Fix runtime resource selection logic.

    Fix isBetterThan so that o or this may be supperior at any stage.
    Used to only handle this-better or tie at each stage, biasing against o.
    Also allows reset of unit test to succeed.  Fixes bug 1709202.
2009-04-22 14:35:11 -07:00
Dirk Dougherty
91a6780885 Merge branch 'readonly-p4-donut' into donut 2009-04-22 13:39:58 -07:00
Dirk Dougherty
4bac020665 Merge branch 'readonly-p4-donut' into donut 2009-04-22 13:37:15 -07:00
Scott Main
be190010d4 Merge branch 'readonly-p4-donut' into donut 2009-04-22 13:34:31 -07:00
Scott Main
df31ba7f4c Merge branch 'readonly-p4-donut' into donut 2009-04-22 13:28:57 -07:00
Scott Main
cbf04d75e8 Merge branch 'readonly-p4-donut' into donut 2009-04-22 13:26:11 -07:00
Scott Main
883cb2dd99 Merge branch 'readonly-p4-donut' into donut 2009-04-22 13:23:29 -07:00
Dirk Dougherty
e1b7dd2c8c Merge branch 'readonly-p4-donut' into donut 2009-04-22 13:20:44 -07:00
Jean-Baptiste Queru
6141ec0536 Merge commit 'goog/readonly-p4-donut' into HEAD
Conflicts:
	location/java/android/location/Geocoder.java
2009-04-22 12:09:59 -07:00
Android (Google) Code Review
cd77dffe55 Merge change 358 into donut
* changes:
  Fix issue 1745312: Various cleanups in media framework
2009-04-22 09:57:03 -07:00
Android (Google) Code Review
c8d3410981 Merge change 416 into donut
* changes:
  Remove debug messages. 	modified:   core/java/android/hardware/Camera.java
2009-04-22 01:59:31 -07:00
Wu-cheng Li
81d763f77a Remove debug messages.
modified:   core/java/android/hardware/Camera.java

	modified:   camera/libcameraservice/CameraService.cpp
2009-04-22 16:22:01 +08:00