summaryrefslogtreecommitdiff
path: root/opengl
AgeCommit message (Collapse)Author
2010-03-15Implement eglInitialize / eglTerminate reference countingJack Palevich
Previously we imlpemented the standard semantics for eglInitialize / eglTerminate, which are that eglInitialize may be called any number of times, but the first call to eglTerminate will terminate the display. Now we follow reference-countins semantics, which means that eglTerminate will only terminate the display when the reference count returns to zero. This change allows EGL to be used by multiple independently written modules in the same process. (Otherwise there is no way for the independent modules to coordinate their use of the display.)
2010-03-12Fix glCopyTexSubImage2D inverted texture bug.Jack Palevich
This bug only affects the software OpenGL ES driver.
2010-03-11Add correct copyright headers to multiple filesKenny Root
Format for the list of changes shows the origin commit reference followed by the file name. 33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java 33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java 133776-p9 core/java/android/app/IntentService.java 127013-p9 core/java/android/appwidget/AppWidgetHost.java 27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java 60765-p9 core/java/android/content/SyncResult.java 43920-p9 core/java/android/content/pm/ActivityInfo.java 43920-p9 core/java/android/content/pm/ApplicationInfo.java 43920-p9 core/java/android/content/pm/InstrumentationInfo.java 43920-p9 core/java/android/content/pm/PackageInfo.java 44103-p9 core/java/android/content/pm/PackageItemInfo.java 68960-p9 core/java/android/content/pm/PackageStats.java 43920-p9 core/java/android/content/pm/ResolveInfo.java 43920-p9 core/java/android/content/pm/ServiceInfo.java 60641-p9 core/java/android/content/res/Configuration.java 60734-p9 core/java/android/content/res/TypedArray.java 137672-p9 core/java/android/inputmethodservice/ExtractButton.java 123112-p9 core/java/android/inputmethodservice/ExtractEditText.java 119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java 112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java 115078-p9 core/java/android/os/BatteryStats.java 124790-p9 core/java/android/text/style/UpdateAppearance.java 45083-p9 core/java/android/view/RawInputEvent.java 101491-p9 core/java/android/view/inputmethod/EditorInfo.java 114701-p9 core/java/android/view/inputmethod/ExtractedText.java 123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java 119291-p9 core/java/com/android/internal/os/HandlerCaller.java 129279-p9 core/java/com/android/internal/os/PkgUsageStats.java 114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java 114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java 84364-p9 opengl/java/android/opengl/EGLLogWrapper.java 11355-p9 opengl/tools/glgen/src/CFunc.java 11355-p9 opengl/tools/glgen/src/CType.java 11355-p9 opengl/tools/glgen/src/CodeEmitter.java 11355-p9 opengl/tools/glgen/src/GenerateGL.java 11355-p9 opengl/tools/glgen/src/JFunc.java 11355-p9 opengl/tools/glgen/src/JType.java 11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java 11355-p9 opengl/tools/glgen/src/ParameterChecker.java 57236-p9 services/java/com/android/server/status/AnimatedImageView.java 66754-p9 services/java/com/android/server/status/CloseDragHandle.java 57188-p9 services/java/com/android/server/status/DateView.java 46928-p9 services/java/com/android/server/status/ExpandedView.java 70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java 45968-p9 services/java/com/android/server/status/IconData.java 57470-p9 services/java/com/android/server/status/IconMerger.java 82719-p9 services/java/com/android/server/status/LatestItemView.java 45968-p9 services/java/com/android/server/status/NotificationData.java 66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java 57458-p9 services/java/com/android/server/status/NotificationViewList.java 45968-p9 services/java/com/android/server/status/StatusBarException.java 45968-p9 services/java/com/android/server/status/StatusBarIcon.java 46130-p9 services/java/com/android/server/status/StatusBarNotification.java 45968-p9 services/java/com/android/server/status/StatusBarView.java 46199-p9 services/java/com/android/server/status/Ticker.java 62286-p9 services/java/com/android/server/status/TickerView.java 57188-p9 services/java/com/android/server/status/TrackingView.java 86041-p9 telephony/java/android/telephony/PhoneStateListener.java 87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java 136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java 34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java 55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java 127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java 129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java 25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java 46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java 77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java 9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java 53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java 93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java 328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java 307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java 307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java 49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java 3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java 5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java 9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java 21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java 4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java 4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java 192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java 1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java 27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java 69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java Copyright header moved to top in following file: core/tests/coretests/src/android/widget/ListViewTest.java Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
2010-02-16get rid off the YUV formats at the libui layerMathias Agopian
2010-02-05Merge "fix [2189862] Race condition in eglIntialize and eglDestroy"Mathias Agopian
2010-02-05fix [2189862] Race condition in eglIntialize and eglDestroyMathias Agopian
there is now a lock protext a perticular display. it's held during initialization and destruction.
2010-02-04Proper EGLImageKHR error handlingMathias Agopian
Validate EGLImageKHR format and return an error for unsupported ones. Also make sure to return an error when binding EGL_NO_IMAGE_KHR to a texture
2010-02-03fix [2133133] Software OpenGL ES Lighting is buggy (GL Gears washed out bug)Mathias Agopian
A typo caused GL_AMBIENT_AND_DIFFUSE to only set the the ambient color. Fix another typo which caused the viewer position to be wrong for specular highlights. Switch back to eye-space lighting, since there are still some issues with some demos (San Angeles in particular).
2010-02-02Fix ETC1 texture decoding.Jack Palevich
etc1_decode_image requires the stride argument to be in bytes, but the surface->stride field is in pixels. Convert by multiplying by pixel size.
2010-02-02implement [2396050] Add ETC1 texture support to AGLMathias Agopian
2010-02-01fix [2397853] glCopyTexImage2D crashes emulatorMathias Agopian
Fixed a typo which would cause a buffer overflow
2010-01-28Implement the GL11ExtensionPack APIs.Jack Palevich
2010-01-25fix [2341222] AGL version of glDrawTexxOES doesn't handle "Z" value correctlyMathias Agopian
2010-01-25fix [2303866] eglMakeCurrent doesn't return all error messages described in ↵Mathias Agopian
the spec
2010-01-12Use correct TLS codepath in graphics librariesGary King
Duplicate ARCH_ARM_HAVE_TLS_REGISTER BoardConfig to proprocessor HAVE_ARM_TLS_REGISTER define from Bionic's libc Android.mk to ensure that OpenGL libraries (libEGL, libGLESv1_CM, libGLESv2, libGLES_android) use the correct codepath in bionic_tls.h for accessing the TLS address
2010-01-08Deprecate fill_parent and introduce match_parent.Romain Guy
Bug: #2361749.
2010-01-06Do not use a user tag on apps, as it is ignored.Jean-Baptiste Queru
The build system does not honor user tags on apps, and setting it is misleading. This removes the confusion by making the makefiles behave like they read. Change-Id: I7c5feba1c7d07f915b97dd098584f29938a4c885
2009-12-31A library for encoding and decoding ETC1 textures.Jack Palevich
The ETC1 compressed texture format is commonly supported by OpenGL ES 2.0-capable devices.
2009-12-24Print OpenGL version and extension information.Jack Palevich
Something happened to the line endings, adding a blank line after most lines of text. I repaired the damage, but in the process some blank lines have been added / removed.
2009-12-09Merge change I5ddc721dAndroid (Google) Code Review
* changes: Add misssing symbol type directives.
2009-12-08Add misssing symbol type directives.Doug Kwan
2009-12-08Implement Matrix Palette extension.Jack Palevich
Adds support for formerly-unimplemented methods: glCurrentPaletteMatrixOES glLoadPaletteFromModelViewMatrixOES glMatrixIndexPointerOES glWeightPointerOES The bulk of the changes are related to implementing the two PointerOES methods, which are implemented pretty much the same way as the existing Pointer methods were implemented. This change also changes the way glPointSizePointerOES is implemented, making it act like all the other Pointer methods. (Previously it was not handling non-direct-buffer arguments correctly.) Fixes bug 2308625 "Support matrix palette skinning in JSR239 and related APIs" Also updated GLLogWraper to fix two bugs in GLLogWrapper that were discovered while testing matrix palette skinning support: a) Handle trying to print the contents of null-but-enabled buffers. (It's not legal to draw with null-but-enabled buffers, and in fact some OpenGL drivers will crash if you try to render in this state, but there's no reason the GLLogWrapper should crash while trying to debug this situation. b) Don't read off the end of a vertex buffer with non-zero position when printing the entire contents of the vertex buffer. Now we only print from the current position to the end of the buffer.
2009-12-01am 7671c088: am 77f17095: am 533a2803: Merge change I18ffb549 into eclairMathias Agopian
Merge commit '7671c088cd5e6ce938c89939f55ead6629bd6516' * commit '7671c088cd5e6ce938c89939f55ead6629bd6516': fix [2069023] STOPSHIP: disable DEBUG_COPYBIT
2009-12-01am 77f17095: am 533a2803: Merge change I18ffb549 into eclairMathias Agopian
Merge commit '77f17095ed17a6ccc7fc1f1b3ddb31c63bbf66a2' into eclair-mr2-plus-aosp * commit '77f17095ed17a6ccc7fc1f1b3ddb31c63bbf66a2': fix [2069023] STOPSHIP: disable DEBUG_COPYBIT
2009-12-01am 533a2803: Merge change I18ffb549 into eclairMathias Agopian
Merge commit '533a2803506cc4f196403fdfafd948bd4f8e60d9' into eclair-mr2 * commit '533a2803506cc4f196403fdfafd948bd4f8e60d9': fix [2069023] STOPSHIP: disable DEBUG_COPYBIT
2009-11-30fix [2069023] STOPSHIP: disable DEBUG_COPYBITMathias Agopian
2009-11-19am 8e9af2bd: am b439f561: am 13feccf5: Merge change I39f0003e into eclairMathias Agopian
Merge commit '8e9af2bd1d600cd2c69c88c7d60c7d455921677e' * commit '8e9af2bd1d600cd2c69c88c7d60c7d455921677e': fix [2235414] libagl glDeleteBuffers() crashes
2009-11-19am b439f561: am 13feccf5: Merge change I39f0003e into eclairMathias Agopian
Merge commit 'b439f561a6aa3900f1850e71a4aa60618af13f90' into eclair-mr2-plus-aosp * commit 'b439f561a6aa3900f1850e71a4aa60618af13f90': fix [2235414] libagl glDeleteBuffers() crashes
2009-11-19am 13feccf5: Merge change I39f0003e into eclairMathias Agopian
Merge commit '13feccf592d6870b41b3b8a0a31d2abefad0d7ae' into eclair-mr2 * commit '13feccf592d6870b41b3b8a0a31d2abefad0d7ae': fix [2235414] libagl glDeleteBuffers() crashes
2009-11-19fix [2235414] libagl glDeleteBuffers() crashesMathias Agopian
don't dereference null pointers, would happen if one of the array wasn't bound.
2009-11-19Extend GLSurfaceView to make it easy to create an OpenGL ES 2.0 contextJack Palevich
Provide a new method, GLSurfaceView.setEGLContextClientVersion. Clients call this method to define which level of OpenGL ES support they want. This method only affects the default behavior of GLSurfaceView. If clients have supplied their own EGLContextFactory or EGLConfigChooser then they are on their own if they want to create an OpenGL ES 2.0 context. This API is currently hidden. Update the gl2_java test to use this new API. Update the gl2_java test's AndroidManifest.xml file to indicate that it requires OpenGL ES 2.0.
2009-11-19Add a Java API for OpenGL ES 2.0.Jack Palevich
Currently this API is hidden. Add a test program.
2009-11-13am da5e90be: am 66b5d902: am 27407208: Merge change Icf335098 into eclairMathias Agopian
Merge commit 'da5e90bee443129511e231e9078a134626b87541' * commit 'da5e90bee443129511e231e9078a134626b87541': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
2009-11-13am 66b5d902: am 27407208: Merge change Icf335098 into eclairMathias Agopian
Merge commit '66b5d902a29e08237f16be53a84f9c2472df8493' into eclair-mr2-plus-aosp * commit '66b5d902a29e08237f16be53a84f9c2472df8493': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
2009-11-12am 27407208: Merge change Icf335098 into eclairMathias Agopian
Merge commit '274072089ceff6eacb9ccfb59290a18f43739c87' into eclair-mr2 * commit '274072089ceff6eacb9ccfb59290a18f43739c87': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
2009-11-12fix [2236865] STOPSHIP: bump soft gl and egl minor version numberMathias Agopian
2009-11-09am c6ed8100: am 0b9d3ba2: am c421fc2a: Merge change Id09376d1 into eclairMathias Agopian
Merge commit 'c6ed8100c2385596117a033e999519e31c5c1c0e' * commit 'c6ed8100c2385596117a033e999519e31c5c1c0e': fix [2071412] work around mdp 32-bits fade limitation
2009-11-09am 0b9d3ba2: am c421fc2a: Merge change Id09376d1 into eclairMathias Agopian
Merge commit '0b9d3ba2feab494e7bbd180b51a4311864d08e13' into eclair-mr2-plus-aosp * commit '0b9d3ba2feab494e7bbd180b51a4311864d08e13': fix [2071412] work around mdp 32-bits fade limitation
2009-11-09am c421fc2a: Merge change Id09376d1 into eclairMathias Agopian
Merge commit 'c421fc2ada7c1bff104733b840bd640151bebbbb' into eclair-mr2 * commit 'c421fc2ada7c1bff104733b840bd640151bebbbb': fix [2071412] work around mdp 32-bits fade limitation
2009-11-09fix [2071412] work around mdp 32-bits fade limitationMathias Agopian
make sure to always specify blits *inside* the source bitmap.
2009-11-09am ac94fbd0: merge from open-source masterJean-Baptiste Queru
Merge commit 'ac94fbd081450ae7f208e4525b23b36d90d382e0' * commit 'ac94fbd081450ae7f208e4525b23b36d90d382e0': Capture failure of copybit->stretch() Fix obvious typo bug in egl.cpp LocationManagerService: Fix race when removing LocationListener Don't return when blocking is true. Fix of compatibility with multifunction extUSB adapters. Fix documentation example, per issue 895 on android.googlecode.com
2009-11-09merge from open-source masterJean-Baptiste Queru
2009-11-04am ba37ea55: am 6d9e0c7a: am 36fe3eea: part of fix [2186418] switch passion ↵Mathias Agopian
to 24-bits framebuffer Merge commit 'ba37ea550d97b753fc74049d22f5e752d4b0185f' * commit 'ba37ea550d97b753fc74049d22f5e752d4b0185f': part of fix [2186418] switch passion to 24-bits framebuffer
2009-11-04am 36fe3eea: part of fix [2186418] switch passion to 24-bits framebufferMathias Agopian
Merge commit '36fe3eeaa056ff13455c0df73b495b2bae8c1469' into eclair-mr2 * commit '36fe3eeaa056ff13455c0df73b495b2bae8c1469': part of fix [2186418] switch passion to 24-bits framebuffer
2009-11-04part of fix [2186418] switch passion to 24-bits framebufferMathias Agopian
add support for RGBX_8888 EGLConfigs in the software renderer (since that's what we're using in the MDP case)
2009-11-04am 43606242: am 8e5e44e9: am 9a54d7dd: Merge change Ibbf945f3 into eclairMathias Agopian
Merge commit '4360624241251035534a46449e23be38d9e6b03c' * commit '4360624241251035534a46449e23be38d9e6b03c': fix [2236832] software OpenGL ES driver doesn't work on sholes
2009-11-04am 9a54d7dd: Merge change Ibbf945f3 into eclairMathias Agopian
Merge commit '9a54d7dddcbc982d644c627693dc39fb2cb5c0fb' into eclair-mr2 * commit '9a54d7dddcbc982d644c627693dc39fb2cb5c0fb': fix [2236832] software OpenGL ES driver doesn't work on sholes
2009-11-03fix [2236832] software OpenGL ES driver doesn't work on sholesMathias Agopian
make sure to not pass our fake handles to the real gralloc
2009-11-03am 4e90c907: am 65ab88c7: am 21977eb0: Merge change I56981989 into eclairMathias Agopian
Merge commit '4e90c907f4fb222901f9db07a1f603c01211868d' * commit '4e90c907f4fb222901f9db07a1f603c01211868d': fix [2231527] Compatibility with SpaceJunk game (OpenGL)
2009-11-03am 21977eb0: Merge change I56981989 into eclairMathias Agopian
Merge commit '21977eb0f1d22497d0beed0492e579f953a56552' into eclair-mr2 * commit '21977eb0f1d22497d0beed0492e579f953a56552': fix [2231527] Compatibility with SpaceJunk game (OpenGL)