summaryrefslogtreecommitdiffstats
path: root/include/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* | | cleanup Debug.h a bitMathias Agopian2009-06-041-4/+27
| | |
* | | Merge commit 'goog/master' into merge_masterMathias Agopian2009-06-016-262/+1
|\ \ \ | |/ /
| * | move utils/Pipe.h to the simulatorMathias Agopian2009-06-011-108/+0
| | |
| * | get rid of TimerProbe which is never usedMathias Agopian2009-06-011-72/+0
| | |
| * | get rid of sleepForInterval() which didn't seem to be used anywhere in the ↵Mathias Agopian2009-05-312-53/+0
| | | | | | | | | | | | source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there.
| * | get rid of utils.hMathias Agopian2009-05-311-1/+1
| | |
| * | get rid of utils/executablepath.h, which now lives in the simulatorMathias Agopian2009-05-311-28/+0
| | |
* | | force explicit instantiation of Singleton<> objectsMathias Agopian2009-05-281-0/+1
| | |
* | | Merge commit 'goog/master' into merge_masterMathias Agopian2009-05-273-12/+12
|\ \ \ | |/ / | | | | | | | | | | | | Conflicts: include/ui/Rect.h libs/ui/ISurfaceComposer.cpp
| * | some work to try to reduce the code size of some native librariesMathias Agopian2009-05-263-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make sure that all binder Bn classes define a ctor and dtor in their respective library. This avoids duplication of the ctor/dtor in libraries where these objects are instantiated. This is also cleaner, should we want these ctor/dtor to do something one day. - same change as above for some Bp classes and various other non-binder classes - moved the definition of CHECK_INTERFACE() in IInterface.h instead of having it everywhere. - improved the CHECK_INTERFACE() macro so it calls a single method in Parcel, instead of inlining its code everywhere - IBinder::getInterfaceDescriptor() now returns a "const String16&" instead of String16, which saves calls to String16 and ~String16 - implemented a cache for BpBinder::getInterfaceDescriptor(), since this does an IPC. HOWEVER, this method never seems to be called. The cache makes BpBinder bigger, so we need to figure out if we need this method at all.
* | | merge master to master_glMathias Agopian2009-05-2216-1687/+85
|\ \ \ | |/ /
| * | move libbinder's header files under includes/binderMathias Agopian2009-05-2014-1670/+0
| |/
| * Hook up the backup data writer, and add a utility to read the backup data files.Joe Onorato2009-05-201-8/+16
| |
| * Update aapt badging for native code, configs, density, etc.Dianne Hackborn2009-05-181-0/+12
| |
| * Add the backup data file writer C++ class.Joe Onorato2009-05-151-3/+62
| |
* | Merge branch '2514' into merge_masterMathias Agopian2009-05-152-10/+76
|\ \ | |/
| * Implement the C++ class to write the backed up file data.Joe Onorato2009-05-152-10/+76
| |
* | Merge commit 'goog/master' into merge_masterMathias Agopian2009-05-141-1/+1
|\ \ | |/ | | | | | | | | | | Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h
| * Get the backup calling through to the file backup helper.Joe Onorato2009-05-141-1/+1
| | | | | | | | | | This includes some cleanup to make the parameters match between BackupService.onBackup and FileBackupHelper.performBackup.
| * fix the sim build. disables the tests for now.Joe Onorato2009-05-081-1/+1
| |
* | Merge commit 'goog/master' into merge_masterMathias Agopian2009-05-071-0/+15
|\ \
| * | fix the sim build. disables the tests for now.Joe Onorato2009-05-061-1/+1
| |/
| * Add some C++ code to do raw files for backupJoe Onorato2009-05-051-0/+15
| |
* | update surfaceflinger, libui and libagl to the new gralloc apiMathias Agopian2009-05-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Currently the lock/unlock path is naive and is done for each drawing operation (glDrawElements and glDrawArrays). this should be improved eventually. - factor all the lock/unlock code in SurfaceBuffer. - fixed "showupdate" so it works even when we don't have preserving eglSwapBuffers(). - improved the situation with the dirty-region and fixed a problem that caused GL apps to not update. - make use of LightRefBase() where needed, instead of duplicating its implementation - add LightRefBase::getStrongCount() - renamed EGLNativeWindowSurface.cpp to FramebufferNativeWindow.cpp - disabled copybits test, since it clashes with the new gralloc api - Camera/Video will be fixed later when we rework the overlay apis
* | Merge commit 'goog/master' into merge_masterMathias Agopian2009-04-302-85/+197
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | Conflicts: libs/surfaceflinger/Layer.cpp libs/surfaceflinger/SurfaceFlinger.cpp opengl/libagl/egl.cpp opengl/libs/EGL/egl.cpp opengl/libs/GLES_CM/gl.cpp opengl/libs/GLES_CM/gl_api.in opengl/libs/gl_entries.in opengl/libs/tools/glapigen
| * Merge change 376 into donutAndroid (Google) Code Review2009-04-271-0/+7
| |\ | | | | | | | | | | | | * changes: Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
| | * Add support for changing a threads scheduler group. Three groups are ↵San Mehat2009-04-271-0/+7
| | | | | | | | | | | | | | | | | | available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background Signed-off-by: San Mehat <san@google.com>
| * | Squashed commit of the following:Robert Greenwalt2009-04-221-85/+190
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | improvements (I hope) to to List.h implementation:Mathias Agopian2009-04-281-110/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | - made the helper Node and Iterator classes protected inner classes of List so they don't pollute the android namespace. - use "int foo()" instead of "int foo(void)" which is more C++ stylish - made distance() a template function, this way we write it once and it will work with combinations of iterator and const_iterator - added the inline keyword on some function to make it clear to the compiler and the programmer that we want/intend these to be small inline functions - added templated comparison operators to Iterator so it can compare iterator and const_iterator - use size_t instead of "unsigned int" at places - distance() should return a ptrdiff_t (it's kind of mening less here because it won't really work if the distance is < 0) - made sure we handle conversions from iterator to const_iterator, but but fail at compile time in the other direction - added operator->() on iterator and const_iterator - made a bunch of private constructors explicit to avoid unwanted conversions
* | small fix to List.h, the post-increment iterators should return "const" ↵Mathias Agopian2009-04-271-2/+2
| | | | | | | | objects to disallow constructs such as i++++
* | a brand new MessageQueue for SurfaceFlinger.Mathias Agopian2009-04-241-3/+12
| |
* | Squashed commit of the following:Mathias Agopian2009-04-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | fix a rookie mistake causing Singleton<> to be a "multiton". Also improve ↵Mathias Agopian2009-04-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the BufferMapper's debugging, but turn it off. Squashed commit of the following: commit 04e9cae7f806bd65f2cfe35c011b47a36773bbe5 Author: Mathias Agopian <mathias@google.com> Date: Wed Apr 15 18:30:30 2009 -0700 fix and improve BufferMapper's tracking of mapped buffers. commit 1a8deaed15811092b2349cc3c40cafb5f722046c Author: Mathias Agopian <mathias@google.com> Date: Wed Apr 15 00:52:02 2009 -0700 fix some bugs with the Singleton<> class. untested. commit ed01cc06ad70cf640ce1258f01189cb1a96fd3a8 Author: Mathias Agopian <mathias@google.com> Date: Tue Apr 14 19:29:25 2009 -0700 some work to debug the Singleton<> template.
* | fix KeyedVector::replaceValueAt, which wouldn't even compile if used.Mathias Agopian2009-04-101-1/+1
| |
* | Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-102-8/+69
|/ | | | SurfaceFlinger rework for new EGL driver model support.
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-1/+1
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-35/+0
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0360-0/+10541
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0360-10535/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-11/+5
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-5/+11
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-46/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-102-7/+9
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-201-0/+13
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-092-1/+28
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-175-16/+79
|
* Initial ContributionThe Android Open Source Project2008-10-2161-0/+10476