| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/gl/ |
| H A D | GLViewManager.java | 11 public class GLViewManager extends ViewManager<GLView> { 20 public GLView createViewInstance(Context context) { in createViewInstance() 21 return new GLView(context, mModuleRegistry); in createViewInstance()
|
| H A D | GLView.java | 11 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 D | index.js.map | 1 …AACzB,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './GLView';\nexport * from './GLView.type…
|
| H A D | GLView.js | 15 export class GLView extends React.Component { class 125 if (!GLView.takeSnapshotAsync) { 129 return await GLView.takeSnapshotAsync(exglCtxId, options); 132 GLView.NativeView = NativeView;
|
| H A D | GLView.web.js | 73 export class GLView extends React.Component { class 174 if (!GLView.takeSnapshotAsync) { 178 return await GLView.takeSnapshotAsync(gl, options);
|
| H A D | GLView.d.ts.map | 1 {"version":3,"file":"GLView.d.ts","sourceRoot":"","sources":["../src/GLView.tsx"],"names":[],"mappi…
|
| H A D | GLView.d.ts | 10 export declare class GLView extends React.Component<GLViewProps> { class
|
| H A D | GLView.web.d.ts | 11 export declare class GLView extends React.Component<GLViewWebProps> { class
|
| H A D | GLView.web.d.ts.map | 1 {"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 D | GLViewModule.kt | 10 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 D | GLViewModule.kt | 10 View(GLView::class) { in <lambda>() 12 …Prop("enableExperimentalWorkletSupport") { view: GLView, enableExperimentalWorkletSupport: Boolean… in <lambda>()
|
| /expo/packages/expo-gl/src/__tests__/ |
| H A D | GLView-test.tsx | 6 import { GLView } from '../index'; 11 const tree = renderer.create(<GLView onContextCreate={() => {}} />);
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | gl-view.mdx | 2 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 D | gl-view.mdx | 2 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 D | gl-view.mdx | 2 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 D | gl-view.mdx | 2 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 D | gl-view.mdx | 2 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 D | GLView.web.tsx | 7 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 D | GLView.tsx | 19 } 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 D | index.js | 2 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 D | GLViewModule.kt | 10 View(GLView::class) { in <lambda>()
|
| /expo/apps/native-component-list/src/screens/GL/ |
| H A D | GLViewScreen.tsx | 12 static title = 'GLView example'; 14 title: 'GLView example', 36 return <GL.GLView style={StyleSheet.absoluteFill} onContextCreate={this._onContextCreate} />;
|
| H A D | GLHeadlessRenderingScreen.tsx | 5 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 D | GLViewOnBusyThread.tsx | 3 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 D | GLView.js | 3 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' });
|