Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp17 const GrGLIRect& viewport, in init() argument
22 fViewport = viewport; in init()
44 const GrGLIRect& viewport, in GrGLRenderTarget() argument
51 viewport.fWidth, viewport.fHeight, in GrGLRenderTarget()
62 GrAssert(viewport.fWidth == texture->width()); in GrGLRenderTarget()
63 GrAssert(viewport.fHeight == texture->height()); in GrGLRenderTarget()
65 this->init(desc, viewport, texID); in GrGLRenderTarget()
70 const GrGLIRect& viewport) in GrGLRenderTarget() argument
75 viewport.fWidth, viewport.fHeight, in GrGLRenderTarget()
78 this->init(desc, viewport, NULL); in GrGLRenderTarget()
DGrGLRenderTarget.h39 const GrGLIRect& viewport,
46 const GrGLIRect& viewport);
100 void init(const Desc& desc, const GrGLIRect& viewport, GrGLTexID* texID);
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitviewportattributes.cpp415 static void webkit_viewport_attributes_init(WebKitViewportAttributes* viewport) in webkit_viewport_attributes_init() argument
417viewport->priv = G_TYPE_INSTANCE_GET_PRIVATE(viewport, WEBKIT_TYPE_VIEWPORT_ATTRIBUTES, WebKitView… in webkit_viewport_attributes_init()
419 viewport->priv->deviceWidth = 0; in webkit_viewport_attributes_init()
420 viewport->priv->deviceHeight = 0; in webkit_viewport_attributes_init()
421 viewport->priv->availableWidth = 0; in webkit_viewport_attributes_init()
422 viewport->priv->availableHeight = 0; in webkit_viewport_attributes_init()
423viewport->priv->desktopWidth = 980; // This value works well for most web pages designed for deskt… in webkit_viewport_attributes_init()
424 viewport->priv->deviceDPI = 160; // It is the dpi of the original iPhone and Android devices. in webkit_viewport_attributes_init()
425 viewport->priv->width = 0; in webkit_viewport_attributes_init()
426 viewport->priv->height = 0; in webkit_viewport_attributes_init()
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DFixedPositioning.cpp49 SkRect viewport = getViewport(aViewport, parentIframeLayer); in updatePosition() local
51 float w = viewport.width(); in updatePosition()
52 float h = viewport.height(); in updatePosition()
53 float dx = viewport.fLeft; in updatePosition()
54 float dy = viewport.fTop; in updatePosition()
117 SkRect viewport = getViewport(aViewport, parentIframeLayer); in updatePosition() local
119 float w = viewport.width() - m_layer->getWidth(); in updatePosition()
120 float h = viewport.height() - m_layer->getHeight(); in updatePosition()
129 m_nbRepeatX = ceilf((viewport.width() / m_layer->getWidth()) + 1); in updatePosition()
132 m_nbRepeatY = ceilf((viewport.height() / m_layer->getHeight()) + 1); in updatePosition()
[all …]
DBaseLayerAndroid.cpp68 IFrameLayerAndroid* BaseLayerAndroid::updatePosition(SkRect viewport, in updatePosition() argument
71 if (viewport.fRight > getWidth() || viewport.fBottom > getHeight()) { in updatePosition()
74 setSize(std::max(viewport.fRight, getWidth()), in updatePosition()
75 std::max(viewport.fBottom, getHeight())); in updatePosition()
78 return LayerAndroid::updatePosition(viewport, parentIframeLayer); in updatePosition()
DLayerAndroid.cpp358 IFrameLayerAndroid* LayerAndroid::updatePosition(SkRect viewport, in updatePosition() argument
363 return m_fixedPosition->updatePosition(viewport, parentIframeLayer); in updatePosition()
367 void LayerAndroid::updateLayerPositions(SkRect viewport, IFrameLayerAndroid* parentIframeLayer) in updateLayerPositions() argument
370 viewport.fLeft, viewport.fTop, in updateLayerPositions()
371 viewport.width(), viewport.height()); in updateLayerPositions()
373 IFrameLayerAndroid* iframeLayer = updatePosition(viewport, parentIframeLayer); in updateLayerPositions()
377 this->getChild(i)->updateLayerPositions(viewport, iframeLayer); in updateLayerPositions()
DIFrameLayerAndroid.cpp14 IFrameLayerAndroid* IFrameLayerAndroid::updatePosition(SkRect viewport, in updatePosition() argument
DIFrameLayerAndroid.h53 virtual IFrameLayerAndroid* updatePosition(SkRect viewport,
/external/webkit/Tools/EWebLauncher/
Dmain.c159 Viewport viewport; member
275 ewk_view_fixed_layout_size_set(app->browser, app->viewport.w, app->viewport.h); in viewport_set()
276 ewk_view_zoom_set(app->browser, app->viewport.initScale, 0, 0); in viewport_set()
277 if (!ewk_view_zoom_range_set(app->browser, app->viewport.minScale, app->viewport.maxScale)) in viewport_set()
278 …il to set zoom range. minScale = %f, maxScale = %f\n", app->viewport.minScale, app->viewport.maxSc… in viewport_set()
279 ewk_view_user_scalable_set(app->browser, app->viewport.userScalable); in viewport_set()
458 app->viewport.w = (int)w; in on_viewport_changed()
459 app->viewport.h = (int)h; in on_viewport_changed()
460 app->viewport.initScale = initScale; in on_viewport_changed()
461 app->viewport.minScale = minScale; in on_viewport_changed()
[all …]
/external/skia/tools/
Dbench_pictures_cfg_helper.py40 return BitmapConfig(viewport=[str(viewport_x), str(viewport_y)], **kwargs)
44 return GPUConfig(viewport=[str(viewport_x), str(viewport_y)], **kwargs)
48 return RTreeConfig(mode='simple', viewport=[str(viewport_x), str(viewport_y)],
54 viewport=[str(viewport_x), str(viewport_y)], **kwargs)
Dbench_pictures.cfg67 def AndroidConfigList(tile_size, scale, cores, viewport, do_gpu=True):
71 viewport_x = viewport[0]
72 viewport_y = viewport[1]
Drender_pictures_main.cpp345 SkISize viewport; in parse_commandline() local
346 viewport.setEmpty(); in parse_commandline()
441 viewport.fWidth = atoi(*argv); in parse_commandline()
448 viewport.fHeight = atoi(*argv); in parse_commandline()
714 renderer->setViewport(viewport); in parse_commandline()
Dbench_pictures_main.cpp298 SkISize viewport; in parse_commandline() local
299 viewport.setEmpty(); in parse_commandline()
441 viewport.fWidth = atoi(*argv); in parse_commandline()
447 viewport.fHeight = atoi(*argv); in parse_commandline()
741 renderer->setViewport(viewport); in parse_commandline()
/external/chromium-trace/trace-viewer/src/tracks/
Dcontainer_track.js37 get viewport() { getter in ContainerTrack
41 set viewport(v) { setter in ContainerTrack
44 this.tracks_[i].viewport = v;
99 track.viewport = this.viewport_;
Dcanvas_based_track.js72 get viewport() { getter in CanvasBasedTrack
76 set viewport(v) { setter in CanvasBasedTrack
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DShaderProgram.cpp707 IntRect viewport(m_visibleContentRect.fLeft - margin, m_visibleContentRect.fTop - margin, in clippedRectWithVisibleContentRect() local
710 viewport.intersect(rect); in clippedRectWithVisibleContentRect()
711 return viewport; in clippedRectWithVisibleContentRect()
948 int viewport[4]; in debugMatrixInfo() local
949 glGetIntegerv(GL_VIEWPORT, viewport); in debugMatrixInfo()
951 viewport[0], viewport[1], viewport[2], viewport[3], currentScale); in debugMatrixInfo()
952 IntRect currentGLViewport(viewport[0], viewport[1], viewport[2], viewport[3]); in debugMatrixInfo()
DTransferQueue.cpp555 glGetIntegerv(GL_VIEWPORT, m_GLStateBeforeBlit.viewport); in saveGLState()
579 glViewport(m_GLStateBeforeBlit.viewport[0], in restoreGLState()
580 m_GLStateBeforeBlit.viewport[1], in restoreGLState()
581 m_GLStateBeforeBlit.viewport[2], in restoreGLState()
582 m_GLStateBeforeBlit.viewport[3]); in restoreGLState()
/external/webkit/Source/WebCore/platform/graphics/
DTiledBackingStore.cpp186 double TiledBackingStore::tileDistance(const IntRect& viewport, const Tile::Coordinate& tileCoordin… in tileDistance() argument
188 if (viewport.intersects(tileRectForCoordinate(tileCoordinate))) in tileDistance()
191 … IntPoint viewCenter = viewport.location() + IntSize(viewport.width() / 2, viewport.height() / 2); in tileDistance()
/external/chromium/chrome/browser/resources/gpu_internals/
Dtimeline_track.js67 set viewport(v) { setter in TimelineThreadTrack
70 this.tracks_[i].viewport = v;
108 track.viewport = this.viewport_;
195 set viewport(v) { setter in TimelineSliceTrack
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DContext.cpp1632 D3DVIEWPORT9 viewport; in applyRenderTarget() local
1641 viewport.X = 0; in applyRenderTarget()
1642 viewport.Y = 0; in applyRenderTarget()
1643 viewport.Width = desc.Width; in applyRenderTarget()
1644 viewport.Height = desc.Height; in applyRenderTarget()
1645 viewport.MinZ = 0.0f; in applyRenderTarget()
1646 viewport.MaxZ = 1.0f; in applyRenderTarget()
1650 viewport.X = std::max(mState.viewportX, 0); in applyRenderTarget()
1651 viewport.Y = std::max(mState.viewportY, 0); in applyRenderTarget()
1652 viewport.Width = std::min(mState.viewportWidth, (int)desc.Width - (int)viewport.X); in applyRenderTarget()
[all …]
/external/qemu/android/skin/
Dcomposer.c284 …nPlate* plate, SkinRegion* updated, SkinRegion* drawn, SkinPos* apos, SkinViewport* viewport ) in skin_plate_redraw() argument
307 plate->surface.draw( plate->surface.user, r, apos, viewport, 1 ); in skin_plate_redraw()
316 plate->surface.draw( plate->surface.user, r, apos, viewport, 0); in skin_plate_redraw()
330 … skin_plate_redraw( areflist_get(plate->group.children, n ), updated, drawn, &pos, viewport ); in skin_plate_redraw()
/external/webkit/Source/WebKit2/UIProcess/
DTiledDrawingAreaProxy.cpp380 double TiledDrawingAreaProxy::tileDistance(const IntRect& viewport, const TiledDrawingAreaTile::Coo… in tileDistance() argument
382 if (viewport.intersects(tileRectForCoordinate(tileCoordinate))) in tileDistance()
385 … IntPoint viewCenter = viewport.location() + IntSize(viewport.width() / 2, viewport.height() / 2); in tileDistance()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DPageClientQt.cpp131 if (view && view->viewport() && view->viewport()->inherits("QGLWidget")) { in PlatformLayerProxyQGraphicsObject()
459 …return view->mapRectFromScene(QRectF(QPointF(xOffset, yOffset), graphicsView->viewport()->size())); in graphicsItemVisibleRect()
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/html-values/
Dwebkit84 viewport
/external/webkit/Source/WebCore/css/
Dsvg.css34 to the bounds of the initial viewport.
38 …ent will establish an initial clipping path equal to the bounds of the initial viewport; otherwise,

1234