| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
When querry shader version, current implementation returns
null. This commit fixes it.
Change-Id: If9b7c0ba3bb2bc48d0b7404529254834fff6ee5c
|
|
|
|
|
|
|
|
|
|
| |
1. When destroy context that is in use, EGL spec says:
"If the EGL rendering context context is not current to any thread,
eglDestroyContext destroys it immediately. Otherwise, context is
destroyed when it becomes not current to any thread."
2. When calling glTexImage2D, should bind the correct texture first.
Change-Id: I6c779b71d1e6002b8a484477921ba323acbd986e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A previous patch broke the 64-bit with the following error message:
device/generic/goldfish/opengl/system/egl/egl.cpp: In function 'EGLBoolean eglGetConfigs(EGLDisplay, void**, EGLint, EGLint*)':
device/generic/goldfish/opengl/system/egl/egl.cpp:559:33: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
*configs++ = (EGLConfig)i;
This was due to the fact that the type of |i| went from uintptr_t to int.
This patch fixes the issue by casting i to (EGLConfig)(uintptr_t)i.
Change-Id: I3158c91d63b13eff3f8e8babb1faba8b58dc7373
|
|
|
|
|
|
|
|
| |
Simply remove multiple compiler warnings about unused parameter.
Note that this modifies three auto-generated files, which will
require fixing the 'emugen' program in the future.
Change-Id: I19edce7c6480770b893d033ed6b1c65744091d62
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We don't need to do the initialization in the eglGetProcAddress API. The work
can be finished in the eglInitialize API. When zygote pre-loading resources,
eglGetProcAddress will be called. If we let eglGetProcAddress do the display
initialization, zygote will get the "qemu-pipe" handle of the "opengles"
service. This is bad, because all the java processes which forked from zygote
will get the same handle from zygote. Then the host service cannot distinguish
from the device threads, and this will lead the emulator to crash.
Change-Id: I74ddc0db5c91c84afe0916f118937ef8f891b162
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: WeixingX Tian <weixingx.tian@intel.com>
|
|
|
|
|
|
|
| |
Support both 32bit and 64bit emulator GLES acceleration.
Change-Id: Ibd8b970d23937ae40732324706074ff00f433a14
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
matching configs"
* commit '3bd0e079a9d5321f952c2871fb453775810879f7':
Return EGL_FALSE if eglChooseConfig failed to find any matching configs
|
| | |
| | |
| | |
| | | |
Change-Id: If69c5cdb02dd8308963165a09b5d7fe3b00077ae
|
| |/
|/|
| |
| |
| |
| |
| | |
This allows egl.cfg to be copied to $(TARGET_OUT)/lib/egl for aosp*
build targets. This patch fixes the emulator to boot with "-gpu on" flag.
Change-Id: I6c291a4a0fd82242d7f2ac41229be202aa7c71e0
|
|/
|
|
|
|
|
|
|
|
|
| |
Technically, we shouldn't have touched *num_config at all in this
case, but the remote interface to the host doesn't return a separate
boolean return value, only the number of matching configs.
This makes sure that callers that only check the return value of
eglChooseConfig notice a failure to find configs.
Change-Id: I7f660a4a5b8306184608a86c34329d3163ad05ba
|
|
- components under system are moved one directory up like all other HALs
Change-Id: I03b870b870d83b247ac398cadfb155f03c9adfa0
|