Jacky Romano
25af30c464
emulator opengl: context version param
...
add version parameter when creating new context
Change-Id: I3e36796dd4e582b5deda0da2aaf764ceba92a1d1
2011-05-03 15:46:43 +02:00
Jacky Romano
0c814b227c
emulator opengl - encode glShaderSource
...
glShaderSource strings are concatenated into a single string
before sent over the wire protocol. The wire protocol transfer is
done using a special api call 'glShaderString'
Change-Id: I90c157df66fe82fee17c460a1e7852d370c77088
2011-05-03 15:25:25 +02:00
David Turner
d10c96517b
Merge "opengl emulator - handle shader string decoding"
2011-05-03 06:17:12 -07:00
Jacky Romano
68e7ee63f5
opengl emulator - handle shader string decoding
...
Shader strings are sent over the wire protocal as one concatenated
string. a special api call - glShaderString is used to handle the
encoding and decoding of this string.
Change-Id: Id682763f35e9fcc6215559931db2112a4fa981a9
2011-05-03 15:15:25 +02:00
David Turner
5b840fb32b
Merge "emulator opengl - GLESv2 implementation"
2011-05-03 06:13:40 -07:00
Jacky Romano
b95e444f2b
emulator opengl - GLESv2 implementation
...
Decoder side implementation for GLESv2
Change-Id: I5db0c0acd2ef52a156487a99ece5cd2f5b073616
2011-05-03 15:11:36 +02:00
David Turner
26aad35eff
Merge "emulator opengl: typo caused the decoder to crash"
2011-05-03 06:05:17 -07:00
David Turner
4fc2631051
Merge "Emulator Opengl unit test - use sperate implementation libraries"
2011-05-03 06:04:55 -07:00
David Turner
1dac46ff9f
Merge "Emulator Opengl - adding preliminary version of GLESv2 encoder"
2011-05-03 06:04:41 -07:00
Jacky Romano
804809556d
emulator opengl: typo caused the decoder to crash
...
embarrassing :-)
Change-Id: I4da948bba0cd16b6e8289c3c79e0daefb41f90e4
2011-05-03 14:54:04 +02:00
Jacky Romano
e359543f4a
Emulator Opengl unit test - use sperate implementation libraries
...
Use seperate EGL_emul, GLESv1_CM_emul and GLESv2_emul implementation
libraries. This replaces GLES_emul that was prviously included
EGL and GLESv1.
This change enables the wrapper to support GLESv2. However,
this current EGL implementation uses the native android emulator
EGL thus will not expose this GLESv2 capability.
Change-Id: Ib0a309d71cce1248efe9a08aa59434101d0ac607
2011-05-03 14:54:04 +02:00
Jacky Romano
318ffd3798
Emulator Opengl - adding preliminary version of GLESv2 encoder
...
This preliminary version includes the API definition, and the
GL2Encoder implementation class
Change-Id: I7ef9cfeb98c1e85097287ab26733825087368ee0
2011-05-03 14:54:03 +02:00
David Turner
3dadd58183
Merge "emugen: make 'setContextAccessor' method static"
2011-05-03 05:45:13 -07:00
David Turner
a80adff329
Merge "emugen - fix wrapper context naming"
2011-05-03 05:44:49 -07:00
David Turner
13006a2657
Merge "emugen: generate wrapper library files"
2011-05-03 05:44:31 -07:00
David Turner
351c4d55b7
Merge "emulator Opengl - slight type change for GLESv2"
2011-05-03 05:44:15 -07:00
David Turner
d8bbe0ce83
Merge "emulator Opengl - number of supported vertex attributes"
2011-05-03 05:43:59 -07:00
Jacky Romano
979bbff8c0
emugen: make 'setContextAccessor' method static
...
Change-Id: Iad924f77464236af2d78e147276125ee0e481073
2011-05-03 14:42:47 +02:00
Jacky Romano
a3b48dbbe7
emugen - fix wrapper context naming
...
Change-Id: I5261c5f94f200480bad4ad74812c20302a5e81d5
2011-05-03 14:41:52 +02:00
Jacky Romano
ea3a3584f5
emugen: generate wrapper library files
...
Add functionality to generate a wrapper library. A wrapper library includes:
1. entry points
2. dispatch table (accessed from the library entry points)
3. dispatch table accessor callback
4. dispatch table initialization function
Note that the dispatch table initialization function used to be part of the decoder. This
change moves it to be part of the dispatch table layer where it belongs.
Change-Id: Ide6764a17cc029056f9946e778a513cdc2a49003
2011-05-03 14:40:52 +02:00
Jacky Romano
139308015e
emulator Opengl - slight type change for GLESv2
...
Match the location type in the decoder context data to take
int locations rather then symbolic constants.
Change-Id: I353e43315c90dbeafe4820a3749a0d1cf0848d4b
2011-05-03 14:39:11 +02:00
Jacky Romano
68367ae969
emulator Opengl - number of supported vertex attributes
...
make the number of suppoted vertex attributes (by the codec)
common across the encoder and the decoder.
Change-Id: I699ef62821566cec0764982872adb92ebb8861e9
2011-05-03 14:38:29 +02:00
David Turner
e72ec4bfbd
Merge "adding support for getting gles proc address from eglGetProcAdress"
2011-05-03 05:24:41 -07:00
Amit Feller
25d29c4778
adding support for getting gles proc address from eglGetProcAdress
...
Change-Id: Ife1b3be5abd181cce837eebbf993e99759eec8e7
2011-05-03 13:34:13 +02:00
Stephen Hines
f99909bd50
Fix RS graphics samples.
...
Change-Id: I7434dfa21707d506cd79897068d9f1d02a227521
2011-05-02 17:42:19 -07:00
David Turner
c6f61d782d
am 0a78cb7f: am b4669d5d: Merge "emulator: opengl: Fix Mac build"
...
* commit '0a78cb7f625ec5ca08c494a6811975db9bf7dcaa':
emulator: opengl: Fix Mac build
2011-05-02 13:30:01 -07:00
David Turner
6ece5eeb70
am 7da2a217: am 27c128d7: Merge "GLESv1 extensions"
...
* commit '7da2a217ee184dfc688a0199ad7caa3fff3dd94e':
GLESv1 extensions
2011-05-02 13:29:59 -07:00
David Turner
322b38a818
am cc45a256: am cd7a4fd9: Merge "supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions"
...
* commit 'cc45a2569c5e9dde43d76c49e5922c69690ed08e':
supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions
2011-05-02 13:29:56 -07:00
David Turner
e725d195b5
am 6b588edf: am 70faa88e: Merge "integrating objectNameManger into GLES implementation"
...
* commit '6b588edf747e8ccf3e3ca091e227d1cc33baac9b':
integrating objectNameManger into GLES implementation
2011-05-02 13:29:54 -07:00
David Turner
7e2682b1d6
am c46dffa2: am 71c92e77: Merge "Emulator\'s host translator EGL implementation."
...
* commit 'c46dffa2c15d77df60b5227cce3b122ba3e9f983':
Emulator's host translator EGL implementation.
2011-05-02 13:29:52 -07:00
David Turner
f92178c48c
am a2914a39: am 9d4ac946: Merge "Emulator\'s GLES translator implementation."
...
* commit 'a2914a393aac705ee7d12a880b90954c700fc22f':
Emulator's GLES translator implementation.
2011-05-02 13:29:45 -07:00
David Turner
0a78cb7f62
am b4669d5d: Merge "emulator: opengl: Fix Mac build"
...
* commit 'b4669d5dc992fa637abbce986ebe2f282624d6ac':
emulator: opengl: Fix Mac build
2011-05-02 12:33:18 -07:00
David Turner
7da2a217ee
am 27c128d7: Merge "GLESv1 extensions"
...
* commit '27c128d7018676fec649b9703c9ad329f2ebf888':
GLESv1 extensions
2011-05-02 12:33:16 -07:00
David Turner
cc45a2569c
am cd7a4fd9: Merge "supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions"
...
* commit 'cd7a4fd9375d86907463c847b4ccf9020f4f44cc':
supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions
2011-05-02 12:33:14 -07:00
David Turner
6b588edf74
am 70faa88e: Merge "integrating objectNameManger into GLES implementation"
...
* commit '70faa88ebc884519ba6e8ba8be45cff2c176ebcf':
integrating objectNameManger into GLES implementation
2011-05-02 12:33:10 -07:00
David Turner
c46dffa2c1
am 71c92e77: Merge "Emulator\'s host translator EGL implementation."
...
* commit '71c92e77dc46cf457d45d1d2a64608cd9c88782a':
Emulator's host translator EGL implementation.
2011-05-02 12:33:08 -07:00
David Turner
a2914a393a
am 9d4ac946: Merge "Emulator\'s GLES translator implementation."
...
* commit '9d4ac946f32d23a4c8ce5723a4e7cb1153f4abb5':
Emulator's GLES translator implementation.
2011-05-02 12:33:01 -07:00
Conley Owens
ef6dc20952
am f7301f0d: (-s ours) am 9d89b171: Merge "Fix typo in informational text"
...
* commit 'f7301f0d0434d4e31e05f983e55c7dec4eecc156':
Fix typo in informational text
2011-05-02 11:01:37 -07:00
David Turner
8e2dc32b2d
Merge "Add GLESv2 functionality to GLESv1/GLESv2 shared code"
2011-05-02 09:18:55 -07:00
David Turner
77b1a4565c
Merge "Move utility functions into glUtils"
2011-05-02 09:15:28 -07:00
Jacky Romano
254492ffd6
Add GLESv2 functionality to GLESv1/GLESv2 shared code
...
Extends GLClientState to support additional state data
that is required by GLESv2. this includes:
* normalized flag in vertex attribute arrays
* getter for vertex attribute arrays state
* glParamSize now knows about the result size of GL2 parameters
* utility functions required for a GLESv2 encoder
Change-Id: I7e57d978bed5b8b929b918aee66c7f71dc5df3b1
2011-05-02 18:23:13 +03:00
Jacky Romano
3c2aa9b931
Move utility functions into glUtils
...
Move utility functions into glUtils so they can be shared
between GLESv1 and GLESv2 codecs.
Change-Id: I673b316395604e4288412e7ace328076812d4cc1
2011-05-02 18:23:13 +03:00
David Turner
b4669d5dc9
Merge "emulator: opengl: Fix Mac build"
2011-05-02 05:15:51 -07:00
David Turner
2d3b98f87b
emulator: opengl: Fix Mac build
...
This fixes several issues when building the host libraris on Darwin.
Note that there is still not proper implementation of backend functions.
Change-Id: I3ba4120df6545a8c2aa62fdfcaadaf5ff4972456
2011-05-02 14:08:03 +02:00
David Turner
27c128d701
Merge "GLESv1 extensions"
2011-05-01 23:53:38 -07:00
David Turner
cd7a4fd937
Merge "supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions"
2011-05-01 23:52:23 -07:00
David Turner
70faa88ebc
Merge "integrating objectNameManger into GLES implementation"
2011-05-01 23:51:55 -07:00
David Turner
71c92e77dc
Merge "Emulator's host translator EGL implementation."
2011-05-01 23:51:17 -07:00
David Turner
9d4ac946f3
Merge "Emulator's GLES translator implementation."
2011-05-01 23:50:40 -07:00
Conley Owens
f7301f0d04
am 9d89b171: Merge "Fix typo in informational text"
...
* commit '9d89b171ee9ce9ba96d16c0fd73c26a8ea468bde':
Fix typo in informational text
2011-04-29 17:52:27 -07:00