OSDN Git Service

drm_hwcomposer: use GL_TEXTURE_EXTERNAL_OES target for src textures
authorHaixia Shi <hshi@chromium.org>
Fri, 25 Sep 2015 18:49:44 +0000 (11:49 -0700)
committerHaixia Shi <hshi@chromium.org>
Fri, 25 Sep 2015 21:22:28 +0000 (14:22 -0700)
commit2133275a68d3a3b4968c20e5827924abfa48938a
tree862a5f2c8b7c20b1e798e3326b4764c453a44ad2
parent4a253659cef3d82bfb0b25b3ff4c7b073d7a0460
drm_hwcomposer: use GL_TEXTURE_EXTERNAL_OES target for src textures

The GL_TEXTURE_EXTERNAL_OES supports format conversion for YUV external
textures, whereas GL_TEXTURE_2D does not.

Convert crop rects to normalized coordinates.

BUG=chrome-os-partner:45761
TEST=run netflix and observe corruption is fixed during animation transition

Change-Id: Iad9a187faad6b58f1c4b1d19edd0d2a5cbc9a561
glworker.cpp