summaryrefslogtreecommitdiffstats
path: root/opengl/tests
Commit message (Collapse)AuthorAgeFilesLines
* update EGL headers to the latestMathias Agopian2010-06-092-2/+0
| | | | | | note that this doesn't update the EGL stubs. Change-Id: I00274431a490249d93eb6b5ba13f274b7f2682ae
* merge from open-source masterThe Android Open Source Project2010-03-311-1/+2
|\ | | | | | | Change-Id: I627b3a7080e413f756d1751cdae88ec6642b02c4
| * gl_code : add end of line.Jae-Hyung Ahn2010-03-241-1/+2
| | | | | | | | Signed-off-by: Jae-Hyung Ahn <jerry.ahn@windriver.com>
* | Add a test of EGL pausing and resuming.Jack Palevich2010-03-296-0/+274
| |
* | Add correct copyright headers to multiple filesKenny Root2010-03-111-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-4/+4
| | | | | | | | Bug: #2361749.
* | Do not use a user tag on apps, as it is ignored.Jean-Baptiste Queru2010-01-063-3/+3
| | | | | | | | | | | | | | | | | | | | 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
* | Print OpenGL version and extension information.Jack Palevich2009-12-241-144/+152
| | | | | | | | | | | | 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.
* | Extend GLSurfaceView to make it easy to create an OpenGL ES 2.0 contextJack Palevich2009-11-192-217/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Add a Java API for OpenGL ES 2.0.Jack Palevich2009-11-195-0/+514
| | | | | | | | | | | | Currently this API is hidden. Add a test program.
* | am 78383abf: am cbf583d7: am 77bd91f8: Merge change Ie3e80456 into eclairMathias Agopian2009-11-011-2/+4
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '78383abf76e7daf8c1968d2e9a29a1ba354edb2e' * commit '78383abf76e7daf8c1968d2e9a29a1ba354edb2e': Turns out the SGX driver is correct and the bug was in this test.
| * \ am 77bd91f8: Merge change Ie3e80456 into eclairMathias Agopian2009-10-301-2/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '77bd91f8af44867935ea2df22f69fb244b009b94' into eclair-mr2 * commit '77bd91f8af44867935ea2df22f69fb244b009b94': Turns out the SGX driver is correct and the bug was in this test.
| | * Turns out the SGX driver is correct and the bug was in this test.Mathias Agopian2009-10-301-2/+4
| | | | | | | | | | | | | | | make sure the 565 1-texel wide texture is specified with an alignment of 4 which is the OpenGL ES default.
* | | am 894449ac: am af7d2dda: am 5dc7a21c: Merge change I4e036287 into eclairMathias Agopian2009-10-291-11/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '894449ac461e69cd40f10e9d3644555357a5ed82' * commit '894449ac461e69cd40f10e9d3644555357a5ed82': update line test to expose some bug on SGX530 ed4
| * | am 5dc7a21c: Merge change I4e036287 into eclairMathias Agopian2009-10-291-11/+8
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '5dc7a21cbbd4af908e39e55e5ca7ab14cda25d4a' into eclair-mr2 * commit '5dc7a21cbbd4af908e39e55e5ca7ab14cda25d4a': update line test to expose some bug on SGX530 ed4
| | * update line test to expose some bug on SGX530 ed4Mathias Agopian2009-10-291-11/+8
| | |
* | | am 2eca23d6: am a2151b2b: am 7bde36e6: added GL test for textured linesMathias Agopian2009-10-292-0/+134
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '2eca23d690379911a102729eecd35412d0c8be63' * commit '2eca23d690379911a102729eecd35412d0c8be63': added GL test for textured lines
| * | am 7bde36e6: added GL test for textured linesMathias Agopian2009-10-292-0/+134
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '7bde36e64e66c81f0150d0372e1357a31f4ec704' into eclair-mr2 * commit '7bde36e64e66c81f0150d0372e1357a31f4ec704': added GL test for textured lines
| | * added GL test for textured linesMathias Agopian2009-10-282-0/+134
| | |
* | | am 09e7ef8a: am a5bfe52d: Merge change Ib3558f35 into eclair-mr2Jack Palevich2009-10-131-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '09e7ef8aadb480349e9f63dcab155cb466296e92' * commit '09e7ef8aadb480349e9f63dcab155cb466296e92': Make our choice of surface explicit.
| * | Make our choice of surface explicit.Jack Palevich2009-10-131-0/+1
| | |
* | | am 65cc9418: am 332c7934: Merge change I69e21f5f into eclair-mr2Jack Palevich2009-10-139-0/+843
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '65cc9418af489bd98f3417f165b6837656383a1c' * commit '65cc9418af489bd98f3417f165b6837656383a1c': GLDual test application.
| * | GLDual test application.Jack Palevich2009-10-139-0/+843
| | | | | | | | | | | | Draws two images at once, one GL based, one GL2 based.
* | | merged d7c18d7672f3ecbbcb2f5bec92fe54dd990cb8dd, w/conflict in ↵android-build SharedAccount2009-10-128-1180/+5
|\ \ \ | |/ / | | | | | | opengl/tests/copybits/Android.mk
| * | am 9d6a685b: Merge changes I430cf57b,I51f02f67,I464f13f3 into eclairMathias Agopian2009-10-068-1179/+5
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | Merge commit '9d6a685ba939f413a8d3e1e97627593aa1cdf6cb' into eclair-mr2 * commit '9d6a685ba939f413a8d3e1e97627593aa1cdf6cb': fix [2168528] enable glTexImage2D code path in SF for software-only buffers fix [2168531] have software-only gralloc buffer side-step the HAL fix [2167050] glTexImage2D code path buggy in SurfaceFlinger
| | * fix [2167050] glTexImage2D code path buggy in SurfaceFlingerMathias Agopian2009-10-068-1179/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When EGLImage extension is not available, SurfaceFlinger will fallback to using glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an extra copy. However this code path has never been exercised and had some bugs which this patch fix. Mainly the scale factor wasn't computed right when falling back on glDrawElements. We also fallback to this mode of operation if a buffer doesn't have the adequate usage bits for EGLImage usage. This changes only code that is currently not executed. Some refactoring was needed to keep the change clean. This doesn't change anything functionaly.
* | | am c5b09d8a: am 4ac45597: Merge change I15b0ebb9 into eclairMathias Agopian2009-10-126-0/+556
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'c5b09d8a5f7bbf9545b1f2b2d69920fd115d3ecd' * commit 'c5b09d8a5f7bbf9545b1f2b2d69920fd115d3ecd': a simple test app for gralloc
| * | am 4ac45597: Merge change I15b0ebb9 into eclairMathias Agopian2009-10-046-0/+556
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '4ac45597fb70ca4f268cb1920fcb2de61aff4a3d' into eclair-mr2 * commit '4ac45597fb70ca4f268cb1920fcb2de61aff4a3d': a simple test app for gralloc
| | * a simple test app for grallocMathias Agopian2009-10-016-0/+556
| | |
* | | am 7d638292: Merge change Ib4285d22 into eclair-mr2Jack Palevich2009-10-121-9/+166
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '7d638292969687ed4557d36e741e1275d2052fb0' * commit '7d638292969687ed4557d36e741e1275d2052fb0': Change way we choose EGL surfaces to be compatible with the native
| * | Change way we choose EGL surfaces to be compatible with the nativeJack Palevich2009-10-021-9/+166
| |/ | | | | | | window surface.
* | Add back missing shared libraries used in executables in link commands. TheseDoug Kwan2009-10-044-0/+4
|/ | | | | | executables have calls to some shared libraries without explicitly linking them. Currently it works as linker links these libraries via dependencies of other libraries. This is fragile and not the right thing to do.
* Add a simple test of OpenGL ES 1.x.Jack Palevich2009-09-302-0/+374
|
* Merge change I8018f091 into eclairAndroid (Google) Code Review2009-09-304-64/+76
|\ | | | | | | | | * changes: Add very simple input path. Fix end-of-line issues.
| * Add very simple input path. Fix end-of-line issues.Jack Palevich2009-09-304-64/+76
| |
* | Don't ask for pbuffer support, because we don't use any pbuffers.Jack Palevich2009-09-281-1/+1
| |
* | Print out EGL configuration info for the config we've chosen.Jack Palevich2009-09-281-53/+57
| | | | | | | | | | Don't ask for PBuffer support, since we don't actually use pbuffers, and some drivers might not support them.
* | Print out all available EGL configurations.Jack Palevich2009-09-281-8/+82
|/
* Fix build.Jack Palevich2009-09-251-1/+1
|
* Tighten up sample code.Jack Palevich2009-09-253-22/+25
| | | | - Still fails to work; don't know why.
* Use EGLUtils to simplify choosing a configuration.Jack Palevich2009-09-251-55/+36
| | | | Doesn't actually select anything, possibly due to device driver errors.
* Make tritex test run with latest OpenGL driver.Jack Palevich2009-09-242-12/+16
| | | | | | | | Use EGLUtils::selectConfigForNativeWindow to select a legitimate configuration. (Before now we had been selecting an incorrect configuration, but the older drivers let us get away with it.) Converted the source to C++ so we can call selectConfigForNativeWindow.
* Create samples showing how to call OpenGL from JNI libraries.Jack Palevich2009-09-2315-0/+956
|
* Draw a green triangle using OpenGL 2.0 APIs.Jack Palevich2009-09-181-112/+235
|
* Add additional error checking, exit early if errors occur.Jack Palevich2009-09-171-18/+59
|
* Add EGL call error checking.Jack Palevich2009-09-161-4/+52
|
* Simple app to create a gl2 context and dump the strings.Jason Sams2009-09-012-0/+104
|
* show that we need to glClear to be fast(er)Mathias Agopian2009-08-111-2/+5
|
* option to use drawtexture at compile timeMathias Agopian2009-08-111-8/+12
|
* fix and extend the filter test a bitMathias Agopian2009-08-111-4/+46
|