MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / textureMap_Polygon

Function textureMap_Polygon

Gui/Histogram.cpp:858–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856}
857
858static void
859textureMap_Polygon(int fromX,
860 int fromY,
861 int fromW,
862 int fromH,
863 int x,
864 int y,
865 int w,
866 int h)
867{
868 glBegin(GL_POLYGON);
869 glTexCoord2i (fromX, fromH); glVertex2i (x, h);
870 glTexCoord2i (fromW, fromH); glVertex2i (w, h);
871 glTexCoord2i (fromW, fromY); glVertex2i (w, y);
872 glTexCoord2i (fromX, fromY); glVertex2i (x, y);
873 glEnd ();
874}
875
876static void
877startRenderingTo(GLuint fboId,

Callers 1

computeHistogramMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected