Home
last modified time | relevance | path

Searched refs:viewHeight (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/tests/perf_tests/
DMultiviewPerf.cpp281 const int viewHeight = params->windowHeight; in drawBenchmark() local
290 glViewport(viewWidth * i, 0, viewWidth, viewHeight); in drawBenchmark()
291 glScissor(viewWidth * i, 0, viewWidth, viewHeight); in drawBenchmark()
297 glViewport(0, 0, viewWidth, viewHeight); in drawBenchmark()
298 glScissor(0, 0, viewWidth, viewHeight); in drawBenchmark()
343 const float viewHeight = static_cast<float>(params->windowHeight); in initializeBenchmark() local
345 const float quadHeight = 2.f / viewHeight; in initializeBenchmark()
378 const int viewHeight = params->windowHeight; in renderScene() local
382 for (int h = 0; h < viewHeight; ++h) in renderScene()
385 const float wh = static_cast<float>(h) / viewHeight; in renderScene()
[all …]
/external/angle/samples/multiview/
DMultiview.cpp80 int viewHeight = getWindow()->getHeight(); in initialize() local
85 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, viewWidth, viewHeight, 2, 0, GL_RGBA, in initialize()
92 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_DEPTH_COMPONENT32F, viewWidth, viewHeight, 2, 0, in initialize()
261 const int viewHeight = getWindow()->getHeight(); in draw() local
267 const float kAspectRatio = static_cast<float>(viewWidth) / viewHeight; in draw()
304 glViewport(0, 0, viewWidth, viewHeight); in draw()
/external/replicaisland/src/com/replica/replicaisland/
DDrawableBitmap.java71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { in beginDrawing() argument
80 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f); in beginDrawing()
114 final float viewHeight = mViewHeight; in draw() local
121 || snappedY > viewHeight in draw()
DContextParameters.java24 public int viewHeight; field in ContextParameters
DGame.java62 …public void bootstrap(Context context, int viewWidth, int viewHeight, int gameWidth, int gameHeigh… in bootstrap() argument
73 params.viewHeight = viewHeight; in bootstrap()
77 params.viewScaleY = (float)viewHeight / gameHeight; in bootstrap()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DCameraConnectionFragment.java572 private void configureTransform(final int viewWidth, final int viewHeight) { in configureTransform() argument
579 final RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform()
588 (float) viewHeight / previewSize.getHeight(), in configureTransform()
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp1227 GLsizei viewHeight = 3 * m_height; in iterate() local
1230 GLsizei resultTextureSize = viewWidth * viewHeight; in iterate()
1244 …gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, viewWidth, viewHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, &te… in iterate()
1300 << " x " << viewHeight << "), Level: " << m_lodLevel in iterate()
1308 gl.viewport(0, 0, viewWidth, viewHeight); in iterate()
1320 gl.readPixels(0, 0, viewWidth, viewHeight, GL_RGBA, GL_UNSIGNED_BYTE, (void*)&(buffer[0])); in iterate()
1321 if (verifyClampMode(&buffer[0], viewWidth, viewHeight, m_clampMode, internalformat)) in iterate()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java781 private void configureTransform(int viewWidth, int viewHeight) { in configureTransform() argument
788 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform()
797 (float) viewHeight / previewSize.getHeight(), in configureTransform()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/tracking/
DObjectTracker.java657 protected native void drawNative(int viewWidth, int viewHeight, float[] frameToCanvas); in drawNative() argument