summaryrefslogtreecommitdiffstats
path: root/opengl/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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 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 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
| |
* | Make our choice of surface explicit.Jack Palevich2009-10-131-0/+1
| |
* | GLDual test application.Jack Palevich2009-10-139-0/+843
| | | | | | | | Draws two images at once, one GL based, one GL2 based.
* | 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 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
| |
* | Change way we choose EGL surfaces to be compatible with the nativeJack Palevich2009-10-021-9/+166
|/ | | | window surface.
* 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
|
* workaround a bug in the SGX driver that would prevent eglGetConfig to work ↵Mathias Agopian2009-08-107-16/+25
| | | | properly
* minor code clean-upMathias Agopian2009-08-071-85/+101
|
* update most gl tests to use EGLUtilsMathias Agopian2009-08-069-152/+88
|
* added two EGL helpers for selecting a config matching a certain pixelformat ↵Mathias Agopian2009-08-061-31/+11
| | | | or native window type
* added a gl swapinterval testMathias Agopian2009-08-053-5/+178
|
* opengl testsMathias Agopian2009-08-054-7/+231
|
* merge master in master_glMathias Agopian2009-06-245-6/+6
|\
| * Remove opengl tests from tests buildSriram Raman2009-06-225-6/+6
| |
* | fix a bug where copybit only renders in the first buffer when used with s/w GLMathias Agopian2009-06-101-9/+7
| |
* | revive the copybit test.Mathias Agopian2009-06-092-93/+65
| |
* | Merge commit 'goog/master' into merge_masterMathias Agopian2009-06-053-0/+198
|\ \ | |/
| * simplify this testMathias Agopian2009-06-021-144/+37
| |
| * added a test that exhibits some lighting issues in the software renderer. ↵Mathias Agopian2009-06-013-0/+305
| | | | | | | | see external bug 1709
* | update surfaceflinger, libui and libagl to the new gralloc apiMathias Agopian2009-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Add clarifying comment.Jack Palevich2009-04-131-1/+1
| | | | | | | | (Primarily as a test of the master_gl branch.)
* | Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-102-0/+770
|/ | | | SurfaceFlinger rework for new EGL driver model support.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0324-0/+3523
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0324-3523/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-1014-597/+28
|