David Turner
cb9a648fab
am 6930d610: Merge "opengles renderer: added CHECK_GL_ERROR defie for gl debugging"
...
* commit '6930d6100a071d31e018e52b038a43514563398c':
opengles renderer: added CHECK_GL_ERROR defie for gl debugging
2011-07-06 07:31:12 -07:00
David Turner
e8a57a4c8c
am 20144054: Merge "opengles Translator: sort conformant configs first"
...
* commit '201440548462b8826bef1dbc6f9bd28ead6fb608':
opengles Translator: sort conformant configs first
2011-07-06 07:31:07 -07:00
David Turner
48d6b7d4a6
am f5c108a8: Merge "opengl renderer: create rendering subwindow"
...
* commit 'f5c108a877b4396d86e9117c8273a72df6d8bf26':
opengl renderer: create rendering subwindow
2011-07-06 07:30:46 -07:00
David Turner
38c1e49559
am deebe1a6: Merge "opengl renderer: windows runtime fix"
...
* commit 'deebe1a62be61b11a26dd6634f8969151bb4f8c3':
opengl renderer: windows runtime fix
2011-07-06 07:30:41 -07:00
David Turner
50e2a8157c
am 76e58151: Merge "opengl translator: EGL Windows bug fix"
...
* commit '76e5815193d6685e8b50df3aad24c53acb3988df':
opengl translator: EGL Windows bug fix
2011-07-06 07:30:35 -07:00
David Turner
24de4dee2c
am 2dc55605: Merge "opengl translator: fixing 2 Windows EGL issues:"
...
* commit '2dc5560581a5f554e53c1ce6c719ae863c83c902':
opengl translator: fixing 2 Windows EGL issues:
2011-07-06 07:30:29 -07:00
David Turner
07c26fbfa7
am 2a223529: Merge "1.1 Translator: fix conversion of compressed textures"
...
* commit '2a22352982668c3f46c8049a1589349e2177b750':
1.1 Translator: fix conversion of compressed textures
2011-07-06 07:30:22 -07:00
David Turner
78d910ac22
am 76580a43: Merge "1.1 Translator: fix drawing of GL_POINT_SIZE_ARRAY"
...
* commit '76580a438190ace2debaf889b9bb1a2fbb4920a4':
1.1 Translator: fix drawing of GL_POINT_SIZE_ARRAY
2011-07-06 07:30:16 -07:00
David Turner
435437b223
am 4ca8cd85: Merge "1.1 Translator: fix bug in glDeleteTexture"
...
* commit '4ca8cd85821b42fd40e88b45195f7d8a23062276':
1.1 Translator: fix bug in glDeleteTexture
2011-07-06 07:30:01 -07:00
David Turner
917d38b63e
am 450b32be: Merge "1.1 Translaotr: handle glGet(POINT_SIZE_ARRAY)"
...
* commit '450b32be2d81cd27f6dbe1b06089db0bae6f8be3':
1.1 Translaotr: handle glGet(POINT_SIZE_ARRAY)
2011-07-06 07:29:54 -07:00
David Turner
033e0b04c8
am 1fb2e928: Merge "1.1 Translator conformance: fix texture issues"
...
* commit '1fb2e92816cae5db77a24cd6e6c287a955d91186':
1.1 Translator conformance: fix texture issues
2011-07-06 07:29:47 -07:00
David Turner
e7a629c9fc
am a48c6f24: Merge "opengl translator: fixed glGetString(GL_EXTENSIONS) for GLESv2"
...
* commit 'a48c6f24f5424eb87fcff0c6c92cf35575cf5296':
opengl translator: fixed glGetString(GL_EXTENSIONS) for GLESv2
2011-07-06 07:29:39 -07:00
David Turner
cd3a69d183
am e5dfc068: Merge "Translator 1.1 conformance: fix ARRAY related gets"
...
* commit 'e5dfc068196e4bcda43a8f0a157beaaa51405a99':
Translator 1.1 conformance: fix ARRAY related gets
2011-07-06 07:29:32 -07:00
David Turner
a18571b08d
am 24af5e0a: Merge "Translator: fix eglGetProcAddress() on Linux"
...
* commit '24af5e0a4aeacb59e34dbae5fc01fe2ba95df4d2':
Translator: fix eglGetProcAddress() on Linux
2011-07-06 07:29:24 -07:00
David Turner
525b5d50f2
am b2cbc353: Merge "Translator 1.1 - fix glGetPointer"
...
* commit 'b2cbc353501c17bc87267e7b72d056b6125c0a3c':
Translator 1.1 - fix glGetPointer
2011-07-06 07:29:16 -07:00
David Turner
4ab20cdff7
am 64d0e9d5: Merge "Fix segfault when destroying context"
...
* commit '64d0e9d5d4e3f446364e3b5c2bec34493c56e26e':
Fix segfault when destroying context
2011-07-06 07:29:07 -07:00
David Turner
5062fd0dea
am 3209e85a: Merge "glDrawTex- GL_INVALID_VALUE if width/height <= 0"
...
* commit '3209e85a7e3b87beef1f33209535d836561989fe':
glDrawTex- GL_INVALID_VALUE if width/height <= 0
2011-07-06 07:28:59 -07:00
David Turner
ef4edab5c5
am 0e5889df: Merge "opengl translator: extending ConversionArrays class"
...
* commit '0e5889df520da8c1943d37d2b7a00f49378056ca':
opengl translator: extending ConversionArrays class
2011-07-06 07:28:49 -07:00
David Turner
d1018f5df8
am 0e475161: Merge "opengl translator: add vertex attrib index validation."
...
* commit '0e47516139404e69fd8479f914b45af08b5b6d5f':
opengl translator: add vertex attrib index validation.
2011-07-06 07:28:40 -07:00
David Turner
9573e370c1
am 8d2dc2a4: Merge "opengl translator: conformance fixes"
...
* commit '8d2dc2a430a95ccdab102057a141ee49ba0ac22d':
opengl translator: conformance fixes
2011-07-06 07:28:31 -07:00
David Turner
28ea64ef29
am 617c7a18: Merge "validateing client\'s arrays type"
...
* commit '617c7a184b57942b6a8b61e558cc06aa778d9caa':
validateing client's arrays type
2011-07-06 07:28:21 -07:00
David Turner
fe6ef5a10e
am b4cbe3de: Merge "opengl translator: supporting GL_BYTE type"
...
* commit 'b4cbe3de38e64c4b74ed143dcc0a012cbf670636':
opengl translator: supporting GL_BYTE type
2011-07-06 07:28:12 -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
David Turner
ee85667135
Merge "opengl Translator: adding type EGLNativeSurfaceType"
2011-07-03 05:46:55 -07:00
David Turner
eec12a62ce
Merge "EGL translator: fixes shared context on windows"
2011-07-03 05:45:29 -07:00
David Turner
82217072d9
Merge "OpenGL renderer: handling subwindow messages"
2011-07-03 05:44:44 -07:00
David Turner
95d6192bb0
Merge "fixing bug of shadowing a variable"
2011-07-03 05:43:57 -07:00
David Turner
0f1ceaf231
Merge "opengl renderer: Enable and fix renderer Mac support"
2011-07-03 05:43:25 -07: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
David Turner
2683b10bdd
Merge "opengl translator: Mac fixes for unbind context"
2011-07-03 05:39:05 -07:00
David Turner
5b701a2972
Merge "GLES2 translator:"
2011-07-03 05:38:00 -07:00
David Turner
fe3de568e6
Merge "System egl: fix eglInitialize"
2011-07-03 05:37:17 -07:00
David Turner
e1b8d54368
Merge "opengles Translator: Omit precision macros from shaders"
2011-07-03 05:36:46 -07: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
David Turner
5d0b85f029
Merge "opengles host: some order in host gl debugging"
2011-07-03 05:33:08 -07:00
David Turner
b519642209
Merge "opengles emulator: Init eglError to EGL_SUCCESS"
2011-07-03 05:32:20 -07:00
David Turner
1c06aa5a4e
Merge "egl translator"
2011-07-03 05:31:53 -07:00
David Turner
9e144ad845
Merge "add gles includes to the translator"
2011-07-03 05:30:48 -07: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
David Turner
902b2ea353
Merge "Translator GLES2: fix glGetShaderSource"
2011-07-03 05:25:52 -07:00