import React, { Text, View, ScrollView, Image, } from "react-native"; import {Surface} from "gl-react-native"; import {Blur} from "gl-react-blur"; import Add from "./Add"; import Multiply from "./Multiply"; import Layer from "./Layer"; import NativeLayer from "./NativeLayer"; import HelloGL from "./HelloGL"; import Display2 from "./Display2"; import Copy from "./Copy"; import ColoredDisc from "./ColoredDisc"; import DiamondCrop from "./DiamondCrop"; import TransparentNonPremultiplied from "./TransparentNonPremultiplied"; import Dimensions from "Dimensions"; const { width: viewportW, height: viewportH } = Dimensions.get("window"); class Tests extends React.Component { constructor (props) { super(props); this.onLoad = this.onLoad.bind(this); this.onProgress = this.onProgress.bind(this); } onLoad () { console.log("LOADED"); } onProgress ({nativeEvent: { progress, loaded, total }}) { console.log("PROGRESS", progress, loaded, total); } render () { const debugSize = viewportW / 4; const helloGL = ; const txt = {[0,1,2,3].map(i => Hello World {i} )} ; const img = "http://i.imgur.com/zJIxPEo.jpg"; const blurredImage = {img} ; const blurredImageOverText = {blurredImage} {txt} ; return {txt} {helloGL} {blurredImageOverText} {helloGL} {blurredImage} http://i.imgur.com/mp79p5T.png http://i.imgur.com/mp79p5T.png http://i.imgur.com/mp79p5T.png http://i.imgur.com/S22HNaU.png http://i.imgur.com/rkiglmm.jpg ; } } module.exports = Tests;