/external/angle/src/tests/test_utils/ |
D | MultiviewTest.cpp | 63 int viewWidth, in CreateMultiviewBackingTextures() argument 72 textureData.resize(viewWidth * height * numLayers * 4, 0u); in CreateMultiviewBackingTextures() 87 glTexStorage3DMultisampleOES(texTarget, samples, GL_RGBA8, viewWidth, height, numLayers, in CreateMultiviewBackingTextures() 102 glTexImage3D(texTarget, 0, GL_RGBA8, viewWidth, height, numLayers, 0, GL_RGBA, in CreateMultiviewBackingTextures() 114 glTexStorage3DMultisampleOES(texTarget, samples, GL_DEPTH_COMPONENT32F, viewWidth, in CreateMultiviewBackingTextures() 129 glTexImage3D(texTarget, 0, GL_DEPTH_COMPONENT32F, viewWidth, height, numLayers, 0, in CreateMultiviewBackingTextures() 138 glTexStorage3DMultisampleOES(texTarget, samples, GL_DEPTH24_STENCIL8, viewWidth, height, in CreateMultiviewBackingTextures() 154 glTexImage3D(texTarget, 0, GL_DEPTH24_STENCIL8, viewWidth, height, numLayers, 0, in CreateMultiviewBackingTextures() 165 int viewWidth, in CreateMultiviewBackingTextures() argument 174 CreateMultiviewBackingTextures(samples, viewWidth, height, numLayers, colorTextures, in CreateMultiviewBackingTextures() [all …]
|
D | MultiviewTest.h | 32 int viewWidth, 39 int viewWidth, 49 int viewWidth, 56 int viewWidth,
|
/external/angle/src/tests/perf_tests/ |
D | MultiviewPerf.cpp | 280 const int viewWidth = params->windowWidth / params->numViews; 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() 342 const float viewWidth = static_cast<float>(params->windowWidth / params->numViews); in initializeBenchmark() local 344 const float quadWidth = 2.f / viewWidth; in initializeBenchmark() 377 const int viewWidth = params->windowWidth / params->numViews; in renderScene() local 380 for (int w = 0; w < viewWidth; ++w) in renderScene() 384 const float wf = static_cast<float>(w) / viewWidth; in renderScene() [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | DrawableBitmap.java | 71 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() 113 final float viewWidth = mViewWidth; in draw() local 117 if (viewWidth > 0) { in draw() 119 || snappedX > viewWidth in draw()
|
D | Game.java | 62 …public void bootstrap(Context context, int viewWidth, int viewHeight, int gameWidth, int gameHeigh… in bootstrap() argument 72 params.viewWidth = viewWidth; in bootstrap() 76 params.viewScaleX = (float)viewWidth / gameWidth; in bootstrap() 126 GameObjectManager gameManager = new GameObjectManager(params.viewWidth * 2); in bootstrap()
|
D | ContextParameters.java | 23 public int viewWidth; field in ContextParameters
|
/external/angle/samples/multiview/ |
D | Multiview.cpp | 79 int viewWidth = getWindow()->getWidth() / 2; 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() 260 const int viewWidth = getWindow()->getWidth() / 2; in draw() local 267 const float kAspectRatio = static_cast<float>(viewWidth) / viewHeight; in draw() 304 glViewport(0, 0, viewWidth, viewHeight); in draw()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | CameraConnectionFragment.java | 572 private void configureTransform(final int viewWidth, final int viewHeight) { in configureTransform() argument 579 final RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform() 589 (float) viewWidth / previewSize.getWidth()); in configureTransform()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcTextureRepeatModeTests.cpp | 1226 GLsizei viewWidth = 3 * m_width; 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() 1299 …stContext().getLog() << tcu::TestLog::Message << "NPOT [" << m_internalFormat << "] (" << viewWidth 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/angle/src/tests/gl_tests/ |
D | MultiviewDrawTest.cpp | 84 void updateFBOs(int viewWidth, int height, int numViews, int numLayers, int baseViewIndex) in updateFBOs() argument 90 mViewWidth = viewWidth; in updateFBOs() 97 CreateMultiviewBackingTextures(mSamples, viewWidth, height, numLayers, mColorTexture, in updateFBOs() 104 AttachMultiviewTextures(GL_DRAW_FRAMEBUFFER, viewWidth, numViews, baseViewIndex, in updateFBOs() 123 glViewport(0, 0, viewWidth, height); in updateFBOs() 126 void updateFBOs(int viewWidth, int height, int numViews) in updateFBOs() argument 128 updateFBOs(viewWidth, height, numViews, numViews, 0); in updateFBOs()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 781 private void configureTransform(int viewWidth, int viewHeight) { in configureTransform() argument 788 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform() 798 (float) viewWidth / previewSize.getWidth()); in configureTransform()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/tracking/ |
D | ObjectTracker.java | 657 protected native void drawNative(int viewWidth, int viewHeight, float[] frameToCanvas); in drawNative() argument
|