History log of /device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d3ae106098bc2338151971247dd182e7b88a5b0e 18-Jan-2017 Lingfeng Yang <lfy@google.com> [WIP] ES 3.1 guestside changes

Change-Id: Ie4619ee6e161274383b9f6b0d2922344da20f62f
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
26a8b4be35290878c2f5f4adc2e0cfef6d4085d9 12-Jan-2017 Lingfeng Yang <lfy@google.com> [GLESv3] Fix build

Change-Id: I1255b2505eec7ce032992b99c20df4a1dca4394f
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
b3dc29ff8fd9541cdf567a8a6ef3229b2852f128 09-Jan-2017 Lingfeng Yang <lfy@google.com> [GLESv3] Shader state updates

- Track program pipelines
- Track separate shader programs
- Track original shader source in guest

Change-Id: I8f54089ddf12d03677275cde58ea7f267e410482
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
f654f3ff3229303e684b7e0def4fe41781700f5e 09-Jan-2017 Lingfeng Yang <lfy@google.com> [GLESv3] ES 3.x buffer state

- VAOs
- indexed buffers

Change-Id: I743c3e22bdbb67ca0b6cecac6b231cd674a5061f
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
74e29295ec43efde4365f08f20d7e1515c182b99 10-Jan-2017 Lingfeng Yang <lfy@google.com> [GLESv3] Texture state tracking upgrades

- TextureUtils to get the low down on all offset/size related calculations
(ripped from SwiftShader)
- This involves track of all PBO fields
- Move TextureRec and friends to GLSharedGroup
- Implement new encoder utils to use in encoder

Change-Id: Ic6585f49d2928fe965181ec706d5fefa8713e0eb
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
b99406c86fcf4bf9e0eec5fc08d2f59515cf9e3f 22-Nov-2016 Yahan Zhou <yahan@google.com> Fix glLinkProgram with invalid program name

glLinkProgram might try setting up program attributes even when an
invalid program name is passed to it. This patch fixes it.

BUG: 33069416
Change-Id: I93ed140095b67df47b158ba837c4aac8eb9e8e50
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
8e2b6e0293796100b62e451a7b6989e25682c8f3 14-Oct-2016 Lingfeng Yang <lfy@google.com> Speed up draw-call-bound apps with index range cache

Previously, we were looping through the entire
index buffer (can be 10^3-10^4+ items) on every
draw call, in order to find min/max vertex index.
This operation often consumes half or more
of the time taken per draw call (from systrace).

The min/max vertex index are required if:
- we are in some "immediate array" mode where
we got an array passed as "offset" argument of
glDrawElements (i.e., index buffer 0 bound)
- validation (dEQP tests, debugging draw calls
where vertex buffer out-of-bounds is in question)

ANGLE uses the concept of an "index range cache"
in order to avoid recalculating index ranges
that are known already.

This CL incorporates the IndexRangeCache class
from ANGLE, greatly improving glDrawElements run time
by making it not depend on the size of the index buffer.

It also makes a slight further tweak: if
we do not flush every draw call, but instead
every two draw calls, we have lower pipe overhead
and can get about 1 FPS more.

The performance improvement: ~10-20% FPS on
non-draw-call-limited GPUs.

Linux, Quadro K2200: Antutu v6: ~35->~40 FPS

No dEQP GLES2 or EGL regressions were found.

Change-Id: I29be0f405c6d3e3257e212912c6af6c6f3e12fa7
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
7a84f65de017435e0b6a496d297227df47ba2cf8 03-Dec-2014 Tina Zhang <tina.zhang@intel.com> Add parameters validation to glShaderSource() API

According to GLES2.0 Spec., add parameters validataion to
glShaderSource() API.

Change-Id: I5b0e939fd9657ccbb40a13896c8fc74ef02fd085
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
4169f3f84dabb7c95f3c381a60b16275062eb86c 10-Nov-2013 Jesse Hall <jessehall@google.com> Delete buffer data when removing it from the SharedGroup namespace

Updating or deleting data associated with a buffer object was clearing
the name->data association, but not actually deallocating the data.

Thanks to manjian2006 for finding the bug and proposing the fix.

Bug: 60468
Change-Id: I477f1e67d33a486419127ac790f32ddbbf566089
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp
b85b2756d1e247f8314bb591700fb175d7346631 08-Mar-2013 keunyoung <keunyoung@google.com> migrate opengl and system from development/tools

- components under system are moved one directory up like all other HALs

Change-Id: I03b870b870d83b247ac398cadfb155f03c9adfa0
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp