blob: 67afabb1d8ad7e78e5e76e10c33d2e7cf7f4b21a [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
Yves Gerey665174f2018-06-19 15:03:05 +020015RTC_EXTERN GLuint RTCCreateShader(GLenum type, const GLchar* source);
magjed13941912017-05-30 06:11:58 -070016RTC_EXTERN GLuint RTCCreateProgram(GLuint vertexShader, GLuint fragmentShader);
Yves Gerey665174f2018-06-19 15:03:05 +020017RTC_EXTERN GLuint
18RTCCreateProgramFromFragmentSource(const char fragmentShaderSource[]);
magjed13941912017-05-30 06:11:58 -070019RTC_EXTERN BOOL RTCCreateVertexBuffer(GLuint* vertexBuffer,
20 GLuint* vertexArray);
21RTC_EXTERN void RTCSetVertexData(RTCVideoRotation rotation);