Home
last modified time | relevance | path

Searched refs:exgl (Results 1 – 8 of 8) sorted by relevance

/expo/packages/expo-gl/build/
H A DGLView.js38 static async destroyContextAsync(exgl) { argument
39 const exglCtxId = getContextId(exgl);
49 static async takeSnapshotAsync(exgl, options = {}) { argument
50 const exglCtxId = getContextId(exgl);
148 const getContextId = (exgl) => { argument
149 const exglCtxId = exgl && typeof exgl === 'object' ? exgl.contextId : exgl;
H A DGLView.d.ts30 static destroyContextAsync(exgl?: ExpoWebGLRenderingContext | number): Promise<boolean>;
37 …static takeSnapshotAsync(exgl?: ExpoWebGLRenderingContext | number, options?: SnapshotOptions): Pr…
H A DGLView.web.d.ts15 static destroyContextAsync(exgl?: WebGLRenderingContext | number): Promise<boolean>;
H A DGLView.js.map1exgl WebGL context to destroy.\n * @return A promise that resolves to boolean value that is `tru…
H A DGLView.web.js86 static async destroyContextAsync(exgl) { argument
H A DGLView.web.js.map1 … return ensureContext(canvas);\n }\n\n static async destroyContextAsync(exgl?: WebGLRenderingCon…
/expo/packages/expo-gl/src/
H A DGLView.tsx63 * @param exgl WebGL context to destroy.
66 static async destroyContextAsync(exgl?: ExpoWebGLRenderingContext | number): Promise<boolean> {
67 const exglCtxId = getContextId(exgl);
74 * @param exgl WebGL context to take a snapshot from.
79 exgl?: ExpoWebGLRenderingContext | number,
82 const exglCtxId = getContextId(exgl);
225 const getContextId = (exgl?: ExpoWebGLRenderingContext | number): number => {
226 const exglCtxId = exgl && typeof exgl === 'object' ? exgl.contextId : exgl;
H A DGLView.web.tsx135 static async destroyContextAsync(exgl?: WebGLRenderingContext | number): Promise<boolean> {