[Webkit-unassigned] [Bug 117868] Texture unit code refactoring

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 2 03:31:25 PDT 2013


--- Comment #24 from Kalyan <kalyan.kondapally at intel.com>  2013-07-02 03:33:23 PST ---
(In reply to comment #22)
> Maybe I didn't wirte patch description clear. OpenGL allow to bind textures of different types in the same texture unit as you mentioned and I didn't change it in the WebKit code.
> I only removed unnecessary texture variable from TextureUnitState because OpenGL allow to make operations only on actually bound texture at the same time. So in the WebKit code there is used only one pointer to texture at the same time in the same texture unit.
> So it is still possible to:
> bindTexture(TEXTURE_2D);
> bindTexture(TEXTURE_CUBE_MAP);
> with no erros, but in WebKit after each texture bind TextureUnitState.m_textureBinding is changed (first texture2D then textureCubeMap).

Yes, my question was only regarding the tests.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list