diff options
| author | David 'Digit' Turner <digit@google.com> | 2014-10-31 11:16:11 +0100 |
|---|---|---|
| committer | bohu <bohu@google.com> | 2014-11-25 12:31:48 -0800 |
| commit | c8f4ebe81beb0ee0a10d466bc5559fc0d9c783e8 (patch) | |
| tree | 4239198280df6b6898e6cedd7028b407abf705ae /emulator/opengl/host/libs | |
| parent | 4425a99e305e9bd4a64a46ed7ce91396619e090e (diff) | |
| download | sdk-c8f4ebe81beb0ee0a10d466bc5559fc0d9c783e8.zip sdk-c8f4ebe81beb0ee0a10d466bc5559fc0d9c783e8.tar.gz sdk-c8f4ebe81beb0ee0a10d466bc5559fc0d9c783e8.tar.bz2 | |
emulator/opengl/emugen: Add new 'flushOnEncode' entry point flag.
This adds a new flag that can be applied to entry points for 'emugen',
named 'flushOnEncode'. When used, the generated encoder will call
stream->flush() just after adding bytes to the stream.
This is needed to match the manual change that was performed in
the renderControl encoder in the following patch:
https://android-review.googlesource.com/#/c/95864/
Change-Id: I8cc8fdb0d38ef27e8ba646c83d717166400babfd
Diffstat (limited to 'emulator/opengl/host/libs')
| -rw-r--r-- | emulator/opengl/host/libs/renderControl_dec/renderControl.attrib | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/opengl/host/libs/renderControl_dec/renderControl.attrib b/emulator/opengl/host/libs/renderControl_dec/renderControl.attrib index 8b9972f..0afa9d3 100644 --- a/emulator/opengl/host/libs/renderControl_dec/renderControl.attrib +++ b/emulator/opengl/host/libs/renderControl_dec/renderControl.attrib @@ -39,3 +39,6 @@ rcUpdateColorBuffer dir pixels in len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height) var_flag pixels isLarge + +rcCloseColorBuffer + flag flushOnEncode |
