Home
last modified time | relevance | path

Searched refs:viewport (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/opengl/libs/GLES2_dbg/src/
Degl.cpp39 int viewport[4] = {}; in Debug_eglSwapBuffers() local
40 dbg->hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport); in Debug_eglSwapBuffers()
41 void * pixels = dbg->GetReadPixelsBuffer(viewport[2] * viewport[3] * in Debug_eglSwapBuffers()
43 dbg->hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], in Debug_eglSwapBuffers()
44 viewport[3], GL_RGBA, GL_UNSIGNED_BYTE, pixels); in Debug_eglSwapBuffers()
49 msg.set_image_width(viewport[2]); in Debug_eglSwapBuffers()
50 msg.set_image_height(viewport[3]); in Debug_eglSwapBuffers()
Dvertex.cpp45 int viewport[4] = {}; in Debug_glDrawArrays() local
74 dbg->hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport); in Debug_glDrawArrays()
77 pixels = dbg->GetReadPixelsBuffer(viewport[2] * viewport[3] * in Debug_glDrawArrays()
79 Debug_glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3], in Debug_glDrawArrays()
155 int viewport[4] = {}; in Debug_glDrawElements() local
184 dbg->hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport); in Debug_glDrawElements()
185 pixels = dbg->GetReadPixelsBuffer(viewport[2] * viewport[3] * in Debug_glDrawElements()
187 Debug_glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3], in Debug_glDrawElements()
/frameworks/base/docs/html/guide/webapps/
Dtargeting.jd8 <li>You can target your web page for different screens using viewport metadata, CSS, and
18 <li><a href="#ViewportSize">Defining the viewport size</a></li>
19 <li><a href="#ViewportScale">Defining the viewport scale</a></li>
20 <li><a href="#ViewportDensity">Defining the viewport target density</a></li>
40 controlling the viewport size and screen densities.</p>
46 <dt>The size of the viewport and scale of the web page</dt>
49 this behavior for your web page by defining the default dimensions of the viewport or the initial
50 scale of the viewport. You can also control how much the user can zoom in and out of your web
53 should instead customize the viewport size and/or scale as appropriate for your page.</p>
69 screen densities, you should control how scaling occurs by providing viewport metadata about
[all …]
Dbest-practices.jd56 <li>Use viewport meta data to properly resize your web page
58 want the browser's viewport to render your web page. For example, your viewport meta data can
59 specify the height and width for the browser's viewport, the initial web page scale and even the
63 &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"&gt;
65 <p>For more information about how to use viewport meta data for Android-powered devices, read <a
Dindex.jd19 <li>Support for viewport properties that allow you to properly size your web application
44 viewport properties and query the screen density in order to modify styles
47 {@link android.webkit.WebView} support the same viewport and screen density features.</p>
/frameworks/base/opengl/libagl/
Dmatrix.cpp643 c->viewport.surfaceport.x = x; in ogles_surfaceport()
644 c->viewport.surfaceport.y = y; in ogles_surfaceport()
647 c->viewport.x, in ogles_surfaceport()
648 c->viewport.y, in ogles_surfaceport()
649 c->viewport.w, in ogles_surfaceport()
650 c->viewport.h); in ogles_surfaceport()
653 c->viewport.scissor.x, in ogles_surfaceport()
654 c->viewport.scissor.y, in ogles_surfaceport()
655 c->viewport.scissor.w, in ogles_surfaceport()
656 c->viewport.scissor.h); in ogles_surfaceport()
[all …]
/frameworks/base/libs/hwui/
DSnapshot.h58 invisible(s->invisible), empty(false), viewport(s->viewport), height(s->height) { in Snapshot()
236 Rect viewport; variable
DOpenGLRenderer.cpp142 mFirstSnapshot->viewport.set(0, 0, width, height); in setViewport()
204 glViewport(0, 0, mSnapshot->viewport.getWidth(), mSnapshot->viewport.getHeight()); in resume()
296 Rect& r = previous->viewport; in restoreSnapshot()
432 if (!bounds.intersect(snapshot->previous->viewport)) { in createLayer()
505 clip.intersect(snapshot->previous->viewport); in createFboLayer()
519 snapshot->viewport.set(0.0f, 0.0f, bounds.getWidth(), bounds.getHeight()); in createFboLayer()
/frameworks/base/include/private/opengles/
Dgl_context.h618 viewport_t viewport; member
/frameworks/base/docs/html/resources/articles/
Dglsurfaceview.jd98 set your OpenGL viewport. You may also want to set your camera here, if
/frameworks/base/docs/html/sdk/
Dandroid-3.0-highlights.jd126 …er browsing experience at non-mobile sites through an improved zoom and viewport model, overflow s…
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt303 /sdcard/android/layout_tests/fast/dom/getBoundingClientRect-getClientRects-relative-to-viewport.html
Dlayout_tests_nontext.txt1376 /sdcard/android/layout_tests/fast/media/viewport-media-query.html