Change format type. Should increase texture transfer performances according to https://www.opengl.org/discussion_boards/showthread.php/184561-glTexSubImage2D-with-Buffer-Object-less-efficient
remove unused/uncalled functions
[DemuxerCleanup] remove tricky optimisation as it will not be needed anymore. UseShadeForConstant: the point was to use the vertex shading color for constant colors (env, prim, etc...) if vertex shading color was not used.
[DemuxerCleanup] remove tricky optim. The comment in MergeShadeWithConstants explain why we can remove it now: This function should be called afte the mux has been simplified The goal of this function is to merge as many as possible constants with shade so to reduce the totally number of constants to 0 or 1 And at the same time, to reduce the complexity of the whole mux so we can implement the mux easiler when lower end video cards.
[DemuxerCleanup] remove optim for limited hardware
[DemuxerCleanup] remove unused variable and dependencies
consider texture env add/sub always exists. Actually, I should replace this old uneffective OGL combiner by the new OGL shader based combiner
[DemuxerCleanup]Merge class DecodedMuxForPixelShader with DecodedMux. This break old OGLCombiner but the plan is to replace it by the new shader based combiner. Also remove some unused optim for limited hardware.
improve various draw texture rect, trying to use byte and avoid float conversions