Jack Palevich
66d2e25ae3
Use EGLUtils to simplify choosing a configuration.
...
Doesn't actually select anything, possibly due to device driver errors.
2009-09-25 16:25:19 -07:00
Jack Palevich
87a7265ee1
Make tritex test run with latest OpenGL driver.
...
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.
2009-09-24 12:19:05 -07:00
Jack Palevich
a8fecb87c5
Create samples showing how to call OpenGL from JNI libraries.
2009-09-23 14:48:07 -07:00
Jack Palevich
953254b2f2
Draw a green triangle using OpenGL 2.0 APIs.
2009-09-18 18:27:37 -07:00
Jack Palevich
fc342cbbf7
Add additional error checking, exit early if errors occur.
2009-09-17 10:59:23 -07:00
Jack Palevich
113096d5d0
Add EGL call error checking.
2009-09-16 11:08:43 -07:00
Jason Sams
b22f5b3bb3
Simple app to create a gl2 context and dump the strings.
2009-09-01 20:41:05 -07:00
Mathias Agopian
a1d9388ea7
show that we need to glClear to be fast(er)
2009-08-11 20:50:20 -07:00
Mathias Agopian
0d63f8163d
option to use drawtexture at compile time
2009-08-11 20:12:18 -07:00
Mathias Agopian
88caa97f9e
fix and extend the filter test a bit
2009-08-11 19:55:31 -07:00
Mathias Agopian
e6f0f5c8fb
workaround a bug in the SGX driver that would prevent eglGetConfig to work properly
2009-08-10 16:48:22 -07:00
Mathias Agopian
9ca4dd6011
minor code clean-up
2009-08-07 16:38:10 -07:00
Mathias Agopian
a1f6eff297
update most gl tests to use EGLUtils
2009-08-06 16:26:15 -07:00
Mathias Agopian
265d9c076a
added two EGL helpers for selecting a config matching a certain pixelformat or native window type
2009-08-06 16:05:39 -07:00
Mathias Agopian
bb99ffb4db
added a gl swapinterval test
2009-08-05 17:38:49 -07:00
Mathias Agopian
429c521b15
opengl tests
2009-08-05 12:22:29 -07:00
Mathias Agopian
f31868e59f
merge master in master_gl
2009-06-24 18:31:21 -07:00
Sriram Raman
1562f872a3
Remove opengl tests from tests build
2009-06-22 17:22:12 -07:00
Mathias Agopian
350d651706
fix a bug where copybit only renders in the first buffer when used with s/w GL
2009-06-10 16:15:32 -07:00
Mathias Agopian
07fcf4c3a9
revive the copybit test.
2009-06-09 21:38:08 -07:00
Mathias Agopian
51c8a3e00e
Merge commit 'goog/master' into merge_master
2009-06-05 15:45:39 -07:00
Mathias Agopian
de15ddc86c
simplify this test
2009-06-02 18:35:48 -07:00
Mathias Agopian
46d7ccb403
added a test that exhibits some lighting issues in the software renderer. see external bug 1709
2009-06-01 18:59:44 -07:00
Mathias Agopian
dff8e58d47
update surfaceflinger, libui and libagl to the new gralloc api
...
- 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
2009-05-04 14:17:04 -07:00
Jack Palevich
e909ae55e3
Add clarifying comment.
...
(Primarily as a test of the master_gl branch.)
2009-04-13 22:03:39 -07:00
Mathias Agopian
1473f46cbc
Integrate from //sandbox/mathias/donut/...@145728
...
SurfaceFlinger rework for new EGL driver model support.
2009-04-10 14:24:30 -07:00
The Android Open Source Project
9066cfe988
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
d24b8183b9
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:00 -08:00
The Android Open Source Project
f013e1afd1
Code drop from //branches/cupcake/...@124589
2008-12-17 18:05:43 -08:00