Home
last modified time | relevance | path

Searched refs:GLView (Results 1 – 25 of 58) sorted by relevance

123

/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/gl/
H A DGLViewManager.java11 public class GLViewManager extends ViewManager<GLView> {
20 public GLView createViewInstance(Context context) { in createViewInstance()
21 return new GLView(context, mModuleRegistry); in createViewInstance()
H A DGLView.java11 public class GLView extends TextureView implements TextureView.SurfaceTextureListener { class
19 public GLView(Context context) { in GLView() method in GLView
23 public GLView(Context context, ModuleRegistry moduleRegistry) { in GLView() method in GLView
/expo/packages/expo-gl/build/
H A Dindex.js.map1 …AACzB,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './GLView';\nexport * from './GLView.type…
H A DGLView.js15 export class GLView extends React.Component { class
125 if (!GLView.takeSnapshotAsync) {
129 return await GLView.takeSnapshotAsync(exglCtxId, options);
132 GLView.NativeView = NativeView;
H A DGLView.web.js73 export class GLView extends React.Component { class
174 if (!GLView.takeSnapshotAsync) {
178 return await GLView.takeSnapshotAsync(gl, options);
H A DGLView.d.ts.map1 {"version":3,"file":"GLView.d.ts","sourceRoot":"","sources":["../src/GLView.tsx"],"names":[],"mappi…
H A DGLView.d.ts10 export declare class GLView extends React.Component<GLViewProps> { class
H A DGLView.web.d.ts11 export declare class GLView extends React.Component<GLViewWebProps> { class
H A DGLView.web.d.ts.map1 {"version":3,"file":"GLView.web.d.ts","sourceRoot":"","sources":["../src/GLView.web.tsx"],"names":[…
/expo/packages/expo-gl/android/src/main/java/expo/modules/gl/
H A DGLViewModule.kt10 View(GLView::class) { in <lambda>()
12 …Prop("enableExperimentalWorkletSupport") { view: GLView, enableExperimentalWorkletSupport: Boolean… in <lambda>()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/gl/
H A DGLViewModule.kt10 View(GLView::class) { in <lambda>()
12 …Prop("enableExperimentalWorkletSupport") { view: GLView, enableExperimentalWorkletSupport: Boolean… in <lambda>()
/expo/packages/expo-gl/src/__tests__/
H A DGLView-test.tsx6 import { GLView } from '../index';
11 const tree = renderer.create(<GLView onContextCreate={() => {}} />);
/expo/docs/pages/versions/unversioned/sdk/
H A Dgl-view.mdx2 title: GLView
3 description: A library that provides GLView that acts as an OpenGL ES render target and provides GL…
29 import { GLView } from 'expo-gl';
34 <GLView style={{ width: 300, height: 300 }} onContextCreate={onContextCreate} />
87 …it can be helpful to use higher-level graphics APIs rendering through a `GLView` underneath. The f…
104 import { GLView } from 'expo-gl';
114 const gl = GLView.getWorkletContext(contextId);
122 <GLView
147 ## Remote debugging and GLView
154 import { GLView } from 'expo-gl';
[all …]
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dgl-view.mdx2 title: GLView
3 description: A library that provides GLView that acts as an OpenGL ES render target and provides GL…
29 import { GLView } from 'expo-gl';
34 <GLView style={{ width: 300, height: 300 }} onContextCreate={onContextCreate} />
87 …it can be helpful to use higher-level graphics APIs rendering through a `GLView` underneath. The f…
104 import { GLView } from 'expo-gl';
114 const gl = GLView.getWorkletContext(contextId);
122 <GLView style={{ width: 300, height: 300 }} onContextCreate={onContextCreate} />
143 ## Remote Debugging and GLView
150 import { GLView } from 'expo-gl';
[all …]
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dgl-view.mdx2 title: GLView
3 description: A library that provides GLView that acts as an OpenGL ES render target and provides GL…
29 import { GLView } from 'expo-gl';
34 <GLView style={{ width: 300, height: 300 }} onContextCreate={onContextCreate} />
87 …it can be helpful to use higher-level graphics APIs rendering through a `GLView` underneath. The f…
104 import { GLView } from 'expo-gl';
114 const gl = GLView.getWorkletContext(contextId);
122 <GLView
147 ## Remote Debugging and GLView
154 import { GLView } from 'expo-gl';
[all …]
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dgl-view.mdx2 title: GLView
3 description: A library that provides GLView that acts as an OpenGL ES render target and provides GL…
29 import { GLView } from 'expo-gl';
34 <GLView style={{ width: 300, height: 300 }} onContextCreate={onContextCreate} />
87 …it can be helpful to use higher-level graphics APIs rendering through a `GLView` underneath. The f…
104 import { GLView } from 'expo-gl';
114 const gl = GLView.getWorkletContext(contextId);
122 <GLView style={{ width: 300, height: 300 }} onContextCreate={onContextCreate} />
143 ## Remote Debugging and GLView
150 import { GLView } from 'expo-gl';
[all …]
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dgl-view.mdx2 title: GLView
3 description: A library that provides GLView that acts as an OpenGL ES render target and provides GL…
29 import { GLView } from 'expo-gl';
34 <GLView style={{ width: 300, height: 300 }} onContextCreate={onContextCreate} />
87 …it can be helpful to use higher-level graphics APIs rendering through a `GLView` underneath. The f…
104 import { GLView } from 'expo-gl';
114 const gl = GLView.getWorkletContext(contextId);
122 <GLView style={{ width: 300, height: 300 }} onContextCreate={onContextCreate} />
143 ## Remote Debugging and GLView
150 import { GLView } from 'expo-gl';
[all …]
/expo/packages/expo-gl/src/
H A DGLView.web.tsx7 import { WebGLObject } from './GLView';
14 } from './GLView.types';
119 export class GLView extends React.Component<GLViewWebProps> {
254 if (!GLView.takeSnapshotAsync) {
259 return await GLView.takeSnapshotAsync(gl, options);
263 throw new UnavailabilityError('GLView', 'startARSessionAsync');
267 throw new UnavailabilityError('GLView', 'createCameraTextureAsync');
271 throw new UnavailabilityError('GLView', 'destroyObjectAsync');
H A DGLView.tsx19 } from './GLView.types';
40 export class GLView extends React.Component<GLViewProps> {
168 throw new Error("GLView's surface is not created yet!");
193 if (!GLView.takeSnapshotAsync) {
197 return await GLView.takeSnapshotAsync(exglCtxId, options);
201 GLView.NativeView = NativeView;
/expo/packages/expo-processing/
H A Dindex.js2 import { GLView } from 'expo-gl';
19 return <GLView {...props} onContextCreate={this._onGLContextCreate} />;
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/gl/
H A DGLViewModule.kt10 View(GLView::class) { in <lambda>()
/expo/apps/native-component-list/src/screens/GL/
H A DGLViewScreen.tsx12 static title = 'GLView example';
14 title: 'GLView example',
36 return <GL.GLView style={StyleSheet.absoluteFill} onContextCreate={this._onContextCreate} />;
H A DGLHeadlessRenderingScreen.tsx5 import { GLView } from 'expo-gl';
44 const glPromise = GLView.createContextAsync().then(async (gl) => {
164 const snapshot = await GLView.takeSnapshotAsync(gl, {
189 This example shows how to use headless rendering context with Expo.GLView. Instead of the
190 GLView, it renders snapshots taken from headless context that sits on top of the app and
H A DGLViewOnBusyThread.tsx3 import { ExpoWebGLRenderingContext, GLView } from 'expo-gl';
129 This screen is expected to lag. It's faking work on JS and worklet threads. Toggle GLView
136 <GLView
156 GLViewOnBusyThread.title = 'Creating GLView when a thread is busy';
/expo/apps/test-suite/tests/
H A DGLView.js3 import { GLView } from 'expo-gl';
40 <GLView onContextCreate={(context) => resolve(context)} ref={refSetter} style={style} />,
191 const context = await GLView.createContextAsync();
200 const snapshot = await GLView.takeSnapshotAsync(context, { format: 'png' });

123