blob: 4d92d3dd102d85675791e8adea88f590eef5e813 [file] [log] [blame]
tkchin04dbb342016-08-08 03:10:07 -07001/*
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
magjed13941912017-05-30 06:11:58 -070011#import "WebRTC/RTCVideoFrame.h"
magjedbf084522017-01-13 07:10:16 -080012
magjed13941912017-05-30 06:11:58 -070013RTC_EXTERN const char kRTCVertexShaderSource[];
tkchin04dbb342016-08-08 03:10:07 -070014
magjed13941912017-05-30 06:11:58 -070015RTC_EXTERN GLuint RTCCreateShader(GLenum type, const GLchar *source);
16RTC_EXTERN GLuint RTCCreateProgram(GLuint vertexShader, GLuint fragmentShader);
17RTC_EXTERN GLuint RTCCreateProgramFromFragmentSource(const char fragmentShaderSource[]);
18RTC_EXTERN BOOL RTCCreateVertexBuffer(GLuint* vertexBuffer,
19 GLuint* vertexArray);
20RTC_EXTERN void RTCSetVertexData(RTCVideoRotation rotation);