David Turner
87a02417f6
am 0f3a5206: am 95d6192b: Merge "fixing bug of shadowing a variable"
...
* commit '0f3a520637421830287bb5b41f101e5f456dc4f8':
fixing bug of shadowing a variable
2011-07-06 07:46:29 -07:00
David Turner
7a7f741c35
am 661e62d1: am 0f1ceaf2: Merge "opengl renderer: Enable and fix renderer Mac support"
...
* commit '661e62d159809d484e17d7777a270f9e5908b2cc':
opengl renderer: Enable and fix renderer Mac support
2011-07-06 07:46:27 -07:00
David Turner
e3a1d00975
am 3aca01d3: am 2683b10b: Merge "opengl translator: Mac fixes for unbind context"
...
* commit '3aca01d3b03bdb2e312ff302d04eb36034f09384':
opengl translator: Mac fixes for unbind context
2011-07-06 07:46:24 -07:00
David Turner
26969262c0
am a8a402cf: am 5b701a29: Merge "GLES2 translator:"
...
* commit 'a8a402cfd74edee5efaa32547ef5ee8550b2e135':
GLES2 translator:
2011-07-06 07:46:16 -07:00
David Turner
bd46dff80b
am f1207573: am fe3de568: Merge "System egl: fix eglInitialize"
...
* commit 'f1207573cec993937bbecbb869eb559209d6c0df':
System egl: fix eglInitialize
2011-07-06 07:46:12 -07:00
David Turner
5d7d0564fc
am 8dbeacf2: am e1b8d543: Merge "opengles Translator: Omit precision macros from shaders"
...
* commit '8dbeacf27d691509f103212e32d90301a0c61fda':
opengles Translator: Omit precision macros from shaders
2011-07-06 07:46:09 -07:00
David Turner
311c1a7677
am b0270924: am 5d0b85f0: Merge "opengles host: some order in host gl debugging"
...
* commit 'b027092440227477278248ced65f05ecfe8df456':
opengles host: some order in host gl debugging
2011-07-06 07:46:05 -07:00
David Turner
647dc897db
am 47de335b: am b5196422: Merge "opengles emulator: Init eglError to EGL_SUCCESS"
...
* commit '47de335bd60310be3cb2f936a5547dc060918e99':
opengles emulator: Init eglError to EGL_SUCCESS
2011-07-06 07:46:01 -07:00
David Turner
8635056f5f
am 1bc9dace: am 1c06aa5a: Merge "egl translator"
...
* commit '1bc9dace079857ef3be16658c0c11bf398fcd67d':
egl translator
2011-07-06 07:45:57 -07:00
David Turner
f0710bd83a
am bd7e4051: am 9e144ad8: Merge "add gles includes to the translator"
...
* commit 'bd7e405132467aed1aea4aeb507235aa3e01acc8':
add gles includes to the translator
2011-07-06 07:45:53 -07:00
David Turner
62ca4b99f3
am 1405ca10: am 902b2ea3: Merge "Translator GLES2: fix glGetShaderSource"
...
* commit '1405ca10c24dce2b5ab6cfe8f4462b91eed4a957':
Translator GLES2: fix glGetShaderSource
2011-07-06 07:45:48 -07:00
David Turner
4f25266334
am 45d6858d: am 6a2aa7d7: Merge "Make sure RGB_565 config is available to emulator"
...
* commit '45d6858de85d13e2c5dd5722af8f0699819e9c4b':
Make sure RGB_565 config is available to emulator
2011-07-06 07:45:43 -07:00
David Turner
68c6ca02fa
am cb9a648f: am 6930d610: Merge "opengles renderer: added CHECK_GL_ERROR defie for gl debugging"
...
* commit 'cb9a648fab74514b84acc53081cec128b395ce9d':
opengles renderer: added CHECK_GL_ERROR defie for gl debugging
2011-07-06 07:45:38 -07:00
David Turner
0cf74d8fdd
am e8a57a4c: am 20144054: Merge "opengles Translator: sort conformant configs first"
...
* commit 'e8a57a4c8c85364e984af85cf76623664bbc0826':
opengles Translator: sort conformant configs first
2011-07-06 07:45:33 -07:00
David Turner
49cd6f14d5
am 48d6b7d4: am f5c108a8: Merge "opengl renderer: create rendering subwindow"
...
* commit '48d6b7d4a6e884c4a40138e45055d4f9454ae761':
opengl renderer: create rendering subwindow
2011-07-06 07:45:27 -07:00
David Turner
66959dc1b6
am 38c1e495: am deebe1a6: Merge "opengl renderer: windows runtime fix"
...
* commit '38c1e49559346f22f1e0a991bcd22da43da8cfa4':
opengl renderer: windows runtime fix
2011-07-06 07:45:21 -07:00
David Turner
6010a1ef59
am 50e2a815: am 76e58151: Merge "opengl translator: EGL Windows bug fix"
...
* commit '50e2a8157c9a44d2ac4c8e25d5212b12eba21a85':
opengl translator: EGL Windows bug fix
2011-07-06 07:45:15 -07:00
David Turner
e28cee4db8
am 24de4dee: am 2dc55605: Merge "opengl translator: fixing 2 Windows EGL issues:"
...
* commit '24de4dee2cdf8791f792693ba9b8b294c34ac815':
opengl translator: fixing 2 Windows EGL issues:
2011-07-06 07:45:09 -07:00
David Turner
d23b43e463
am 07c26fbf: am 2a223529: Merge "1.1 Translator: fix conversion of compressed textures"
...
* commit '07c26fbfa7f70ec37418352a48530cfeaf576d16':
1.1 Translator: fix conversion of compressed textures
2011-07-06 07:44:58 -07:00
David Turner
2d301233f3
am 78d910ac: am 76580a43: Merge "1.1 Translator: fix drawing of GL_POINT_SIZE_ARRAY"
...
* commit '78d910ac22d2f2f226936a7b589fc7708a54bb48':
1.1 Translator: fix drawing of GL_POINT_SIZE_ARRAY
2011-07-06 07:44:51 -07:00
David Turner
11cf629613
am 435437b2: am 4ca8cd85: Merge "1.1 Translator: fix bug in glDeleteTexture"
...
* commit '435437b223b5b1c307ee0b283685c07cd796031f':
1.1 Translator: fix bug in glDeleteTexture
2011-07-06 07:44:44 -07:00
David Turner
784d309772
am 917d38b6: am 450b32be: Merge "1.1 Translaotr: handle glGet(POINT_SIZE_ARRAY)"
...
* commit '917d38b63ee867874b2da4629fd5fcb336daf0d4':
1.1 Translaotr: handle glGet(POINT_SIZE_ARRAY)
2011-07-06 07:44:37 -07:00
David Turner
24c4c34b9b
am 033e0b04: am 1fb2e928: Merge "1.1 Translator conformance: fix texture issues"
...
* commit '033e0b04c8ada4cb485b7e336f8fe5ad2202a71a':
1.1 Translator conformance: fix texture issues
2011-07-06 07:44:30 -07:00
David Turner
80304210f4
am e7a629c9: am a48c6f24: Merge "opengl translator: fixed glGetString(GL_EXTENSIONS) for GLESv2"
...
* commit 'e7a629c9fc55ddb085d213a34b8925d1b2b82205':
opengl translator: fixed glGetString(GL_EXTENSIONS) for GLESv2
2011-07-06 07:44:22 -07:00
David Turner
7b6c21cb10
am cd3a69d1: am e5dfc068: Merge "Translator 1.1 conformance: fix ARRAY related gets"
...
* commit 'cd3a69d183434b3b0dfcef99ecc1a741d28a2cea':
Translator 1.1 conformance: fix ARRAY related gets
2011-07-06 07:44:14 -07:00
David Turner
641f40cfc7
am a18571b0: am 24af5e0a: Merge "Translator: fix eglGetProcAddress() on Linux"
...
* commit 'a18571b08d001401ab3e5ffbbca5f6c992919867':
Translator: fix eglGetProcAddress() on Linux
2011-07-06 07:44:06 -07:00
David Turner
9f3ea16aef
am 525b5d50: am b2cbc353: Merge "Translator 1.1 - fix glGetPointer"
...
* commit '525b5d50f25efdbb894e6a2c9faa6da72834e501':
Translator 1.1 - fix glGetPointer
2011-07-06 07:43:58 -07:00
David Turner
ab88b94852
am 4ab20cdf: am 64d0e9d5: Merge "Fix segfault when destroying context"
...
* commit '4ab20cdff7afc2c019f861593eb955ceaedab10e':
Fix segfault when destroying context
2011-07-06 07:43:50 -07:00
David Turner
6484fe1c35
am 5062fd0d: am 3209e85a: Merge "glDrawTex- GL_INVALID_VALUE if width/height <= 0"
...
* commit '5062fd0dea78eaac56fcccaccb4882b4708b6350':
glDrawTex- GL_INVALID_VALUE if width/height <= 0
2011-07-06 07:43:41 -07:00
David Turner
727031e782
am ef4edab5: am 0e5889df: Merge "opengl translator: extending ConversionArrays class"
...
* commit 'ef4edab5c53249ea8fc672964f01c30957da357a':
opengl translator: extending ConversionArrays class
2011-07-06 07:43:27 -07:00
David Turner
c98872ce59
am d1018f5d: am 0e475161: Merge "opengl translator: add vertex attrib index validation."
...
* commit 'd1018f5df87a12c00c0bf35a28ce676c4b5efeca':
opengl translator: add vertex attrib index validation.
2011-07-06 07:43:18 -07:00
David Turner
dd3be656a6
am 9573e370: am 8d2dc2a4: Merge "opengl translator: conformance fixes"
...
* commit '9573e370c1399159f6249fc307180c842578d5b1':
opengl translator: conformance fixes
2011-07-06 07:43:09 -07:00
David Turner
284b80b607
am 28ea64ef: am 617c7a18: Merge "validateing client\'s arrays type"
...
* commit '28ea64ef29a6a0359e346fd01189d1d646a0d2fe':
validateing client's arrays type
2011-07-06 07:42:59 -07:00
David Turner
29dd65725b
am fe6ef5a1: am b4cbe3de: Merge "opengl translator: supporting GL_BYTE type"
...
* commit 'fe6ef5a10e1bf0d003e529a870f2973b38cb7dc9':
opengl translator: supporting GL_BYTE type
2011-07-06 07:42:49 -07:00
Guy Zadickario
3db2bcf7e5
opengl translator: fixed normalized vertex attribs
...
That fixes the alpha and GUI components artifacts in Cordy.
The translator has ignored the 'normalized' argument of
glVertexAttribPointer function in GLESv2.
We now use the supplied value when applying the vertex attributes
to the backend OpenGL so that non-float color vertex attributes
are now normalized.
Change-Id: Idffda33225748276144ed70d2dcf4da17219d1d2
2011-07-04 22:30:58 +03:00
Amit Feller
223a949d1d
opengl Translator: adding type EGLNativeSurfaceType
...
for supporting & storing spesific OS data of the surfaces
for example on Windows platform it is needed to save for each windowSurface
the HWNDL & HDC of the native window, this change caused changes in the EglOsApi
interface
2011-07-03 15:40:52 +03:00
Amit Feller
cdc5179b90
EGL translator: fixes shared context on windows
...
On windows it is not possible to create a context which
shares with another context if the other context is already
current to some thread.
This change makes the "global context" be a dummy context
on windows which we create during the first createContext
call, this dummy context will never bind to any thread so
it is safe to share with it at any time.
2011-07-03 15:40:52 +03:00
Amit Feller
15680c5e69
OpenGL renderer: handling subwindow messages
...
On windows we need to have a thread on the renderer process
which handles windows messages sent to the subwindow
we are creating during framebuffer initialization.
We run this message pump in the main renderer thread
and the server listener on a seperate thread.
2011-07-03 15:40:52 +03:00
Amit Feller
4672adab3f
fixing bug of shadowing a variable
2011-07-03 15:40:52 +03:00
Guy Zadickario
b68a421908
opengl renderer: Enable and fix renderer Mac support
...
The following enables the renderer build on darwin.
Moved platform specific type declarations from render_api.h
to render_api_platform_types.h so it can be included from the
objective c code.
Fixed subwindow to use EmuGLView which overrides NSView to prevent
background drawing of the view.
2011-07-03 15:40:52 +03:00
Guy Zadickario
25f01dda07
opengl translator: Mac fixes for unbind context
...
Mac specific bug fix to support unbinding a context.
Removed NSOpenGLContext:clearDrawable call before binding
an NSView to the context to avoid re-paint of the view which
causes flash effect.
2011-07-03 15:35:12 +03:00
Liran
c3fb532e9a
GLES2 translator:
...
the dispatch loaded incorrect functions from GL for framebuffer extension
the functions used belong to GL3, and didn't work with GL2 context
fixed this to use the EXT functions from GL
2011-07-03 15:35:12 +03:00
Liran
2782c5a061
System egl: fix eglInitialize
...
fix eglInitialize to accept NULL in major/minor parameters
2011-07-03 15:35:12 +03:00
Stas Gurtovoy
304a1c21ca
opengles Translator: Omit precision macros from shaders
...
The shaders fail to compile if we don't omit those changes (Cordy game for example).
Anyways, they have no semantic meaning in GLSL, quote for GLSL 4.1 spec:
"Precision qualifiers are added for code portability with OpenGL ES, not for functionality. They have the
same syntax as in OpenGL ES, as described below, but they have no semantic meaning, which includes no
effect on the precision used to store or operate on variables."
Also removed an anoying print in the encoder.
2011-07-03 15:35:11 +03:00
Stas Gurtovoy
440eb6e594
opengles host: some order in host gl debugging
...
Removed some debug prints in translator.
Added (remarked) options to enable gl debugging in decodes/renderer
2011-07-03 15:28:01 +03:00
Stas Gurtovoy
5d355b71c5
opengles emulator: Init eglError to EGL_SUCCESS
2011-07-03 15:28:01 +03:00
Liran
8fa554f35b
egl translator
...
fix infinite loop in egl translator
2011-07-03 15:28:01 +03:00
Liran
ccc72aa1bb
add gles includes to the translator
...
those are up-to-date gles header files from khronos so that
host applications will be able to compile with the translator
with no dependencies. The translator now exports both egl/gles
headers and their implementation libraries.
2011-07-03 15:28:00 +03:00
Liran
74871cf4f1
Translator GLES2: fix glGetShaderSource
...
fix glGetShaderSource to return the currect string
2011-07-03 15:21:48 +03:00
Yochai Shefi Simchon
5ec953deef
Make sure RGB_565 config is available to emulator
...
There are Android applications (notably BootAnimation) which require
exactly an RGB_565 configuration, and are not satisfied by an e.g.
RGBA_8888 configuration. This doens't make too much sense, and I think
such apps should be fixed.
However, until that happens, there is an issue when the host does not
have an RGB_565 FBConfig, which is typical to many OpenGL implementations.
In such cases, BootAnimation doesn't run.
The workaround is to add an RGB_565 config to the list maintained by the
translator, which is basically an 888 config in disguise.
2011-07-03 15:21:48 +03:00