Revert of Android GlDrawer: Add frame size as argument to draw functions (patchset #2 id:20001 of https://codereview.webrtc.org/1948473002/ )
Reason for revert: Causes errors on Google3 import. Original issue's description: > Android GlDrawer: Add frame size as argument to draw functions > > BUG=b/28544933 > > Committed: https://crrev.com/71af75dc3ca8516017dca9de2ebe582145ecad14 > Cr-Commit-Position: refs/heads/master@{#12623} TBR=glaznev@webrtc.org,magjed@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=b/28544933 Review-Url: https://codereview.webrtc.org/1950953002 Cr-Commit-Position: refs/heads/master@{#12627}
This commit is contained in:
@ -40,12 +40,9 @@ public class RendererCommon {
|
||||
* implied by the current EGL context of the calling thread and requires no explicit argument.
|
||||
* The coordinates specify the viewport location on the surface target.
|
||||
*/
|
||||
void drawOes(int oesTextureId, float[] texMatrix, int frameWidth, int frameHeight,
|
||||
int viewportX, int viewportY, int viewportWidth, int viewportHeight);
|
||||
void drawRgb(int textureId, float[] texMatrix, int frameWidth, int frameHeight,
|
||||
int viewportX, int viewportY, int viewportWidth, int viewportHeight);
|
||||
void drawYuv(int[] yuvTextures, float[] texMatrix, int frameWidth, int frameHeight,
|
||||
int viewportX, int viewportY, int viewportWidth, int viewportHeight);
|
||||
void drawOes(int oesTextureId, float[] texMatrix, int x, int y, int width, int height);
|
||||
void drawRgb(int textureId, float[] texMatrix, int x, int y, int width, int height);
|
||||
void drawYuv(int[] yuvTextures, float[] texMatrix, int x, int y, int width, int height);
|
||||
|
||||
/**
|
||||
* Release all GL resources. This needs to be done manually, otherwise resources may leak.
|
||||
|
||||
Reference in New Issue
Block a user