| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Currently, the guest part doesn't do enough to check each API's
parameters. This may lead to conformance issues. Considering
performance and conformance on multiple platform, it's better
to add the parameter validation in guest part.
Change-Id: Ic37c9bae5fba3c7e75a2095416fea41b8d1a949a
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This function is not supported, but we still need to set proper error
code when it is called, instead of doing nothing.
Change-Id: I3f880e9b5e661fe4bd8e8f51f38df71c24b420e5
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some gl functions.
This fix handles NULL values of 'size' and 'type' in
glGetActiveAttrib and glGetActiveUniform.
This patch updates the encoder sources to match the auto-generated
output of the latest 'emugen' tools from sdk/emulator/opengl/
Generated by using external/qemu/distrib/update-emugl-source.sh
related change: 82aa88b78e26b048e428a930a867166eff611984
Change-Id: Ifbd9e8bf3473ed054e95e1ee3a7885652c2002ce
|
|
|
|
|
|
|
|
| |
According to GLES2.0 Spec., add parameters validataion to
glShaderSource() API.
Change-Id: I5b0e939fd9657ccbb40a13896c8fc74ef02fd085
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GLESv1 encoder library was calling the pixelDataSize() function
definition from the GLESv2 encoder library, resulting in bugs, like
the inability to see the boot animation when -gpu on is used.
This fixes the issue by using namespaces to differentiate the
two implementations. Note that the auto-generated files have been
updated by re-running update-emugl-sources.sh as specified by
opengl/README after applying the following patches:
https://android-review.googlesource.com/#/c/116642/
https://android-review.googlesource.com/#/c/116643/
https://android-review.googlesource.com/#/c/116644/
Change-Id: Idbd84fb6ca5934cbb9af009b09f9a38cc4a1340a
|
|
|
|
|
|
| |
Properly converts non-zero value to GL_TRUE.
Change-Id: I9ca1d42d9b36ae9ce0a01cf6a358d9fe59a02558
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
When buffer is deleted, it should be un-bind also.
Also fix error code related to buffer
Change-Id: I3e7ec88399822469a36119c2de03157a2bbea812
|
|\|
| |
| |
| | |
Change-Id: I4ce3cee422f8e98d70bbf2ffcaac34650c7182b4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch updates the encoder sources to match the auto-generated
output of the latest 'emugen' tools from sdk/emulator/opengl/
Generated by using external/qemu/distrib/update-emugl-source.sh
This shall only results in minor changes:
- Minor indentation fixes.
- Using 'const' to define constant tables.
- Using anonymous namespaces in the encoders.
Change-Id: Ib282b31c4c05da897157ef90e5a9deb914a08bda
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These functions are not necessary since all the fields are
public members of structures. Also gets us closer to the state
of the real emugen output, which isn't matched yet due to other
differences.
Change-Id: Iea092beca7e3a819c286fe3d84897e6a170747f8
|
| |
| |
| |
| |
| |
| |
| | |
A small preliminary patch to make future patches slightly
simpler, easier to merge into the internal tree.
Change-Id: Iec649b61349106d4531a6e28141c0f0687a144c5
|
|\|
| |
| |
| | |
Change-Id: Ieda2d8d1ac00854de28959e4632827a12b399cf2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch fixes the crash that occurs during boot when the
boot animation starts. The main issue is that the wrong version of
glGenTextures_enc() was being called.
The root issue is that libGLESv1_CM_emulation.so, which implements the
GLESv1 API in the system, is linked to both libGLESv2_enc.so and
libGLESv1_enc.so which both provided a glGenTextures_enc() function, used to
encode a glGenTextures() command call into the wire protocol.
Until recently, and due to pure luck, the function call in
libGLESv1_CM_emulation.so was resolved to the function in libGLESv1.so, which is
the correct version to use from this library.
However, due to recent changes in the dynamic linker's symbol resolution
implementation, the version in libGLESv2.so was being used instead. The bug is
really in our library and this patch provides a fix by removing the duplicate
functions, with the help of C++ namespaces.
NOTE: This patch modifies auto-generated code. A better fix would be to
fix the generator, then refresh the sources with its new output.
However, several other manual patches have been performed on these
files in the past too to fix other issues, so doing so would lose
the fixes.
A future patch will update the generator, and refresh all sources
accordingly. This is a "quick-fix" to get us to a proper booting
state.
NOTE: Even after applying this patch, the system boots to the 'home screen'
but fails to display the boot animation.
BUG=18146046
Change-Id: I48cab73ad583e303723340e80d19a82fa301b61d
|
|\ \
| |/
|/| |
|
| |\
| | |
| | |
| | |
| | | |
* commit '9c6d37269b85c41203a2f061958922315d55f6ce':
Fix emulator crashes on glDrawElements command
|
| | |
| | |
| | |
| | |
| | | |
Bug: 1502849
Change-Id: I902517c23354e14f9c63b1584db286d682315bb5
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Empty data parameter crashes emulator, this commit checks and handles
it properly.
Change-Id: Iee468bdc555acc1e0c87b38bd7f09ffd8f22b937
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
OpenGL standard allows empty length parameter and we should
handle it properly to avoid crashing emulator.
Change-Id: I07c1f726ee9d789fcba53986b724b8f4a1f07cf2
|
|/ /
| |
| |
| |
| |
| |
| | |
When negative buffer sizes are passed, emulator crashes. This commit
checks the buffer size and handles properly.
Change-Id: I223d5f5bcde2455e4b39354f9527dceb193b8e47
|
|/
|
|
|
|
|
|
| |
The current implementation does not properly handle the case when
glDrawElements is called without a buffer binded. This commit
fixes this problem and fixes the crash.
Change-Id: Ic7a5b2fb90c860dad878ed53a369349d479ba4e5
|
|
|
|
|
|
|
| |
Support both 32bit and 64bit emulator GLES acceleration.
Change-Id: Ibd8b970d23937ae40732324706074ff00f433a14
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
|
|
- components under system are moved one directory up like all other HALs
Change-Id: I03b870b870d83b247ac398cadfb155f03c9adfa0
|