Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp19 const GrGLIRect& viewport, in init() argument
24 fViewport = viewport; in init()
32 const GrGLIRect& viewport, in GrGLRenderTarget() argument
37 viewport.fWidth, in GrGLRenderTarget()
38 viewport.fHeight, in GrGLRenderTarget()
48 GrAssert(viewport.fWidth == texture->width()); in GrGLRenderTarget()
49 GrAssert(viewport.fHeight == texture->height()); in GrGLRenderTarget()
51 this->init(desc, viewport, texID); in GrGLRenderTarget()
56 const GrGLIRect& viewport) in GrGLRenderTarget() argument
59 viewport.fWidth, in GrGLRenderTarget()
[all …]
DGrGLRenderTarget.h40 const GrGLIRect& viewport,
47 const GrGLIRect& viewport);
105 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()
125 SkRect viewport = getViewport(aViewport, parentIframeLayer); in updatePosition() local
127 float w = viewport.width() - m_layer->getWidth(); in updatePosition()
128 float h = viewport.height() - m_layer->getHeight(); in updatePosition()
137 m_nbRepeatX = ceilf((viewport.width() / m_layer->getWidth()) + 1); in updatePosition()
140 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.cpp355 IFrameLayerAndroid* LayerAndroid::updatePosition(SkRect viewport, in updatePosition() argument
360 return m_fixedPosition->updatePosition(viewport, parentIframeLayer); in updatePosition()
364 void LayerAndroid::updateLayerPositions(SkRect viewport, IFrameLayerAndroid* parentIframeLayer) in updateLayerPositions() argument
367 viewport.fLeft, viewport.fTop, in updateLayerPositions()
368 viewport.width(), viewport.height()); in updateLayerPositions()
370 IFrameLayerAndroid* iframeLayer = updatePosition(viewport, parentIframeLayer); in updateLayerPositions()
374 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/mesa3d/src/pixelflinger2/
Dpixelflinger2.cpp35 ctx->viewport.n = VectorComp_t_CTR((zNear + zFar) / 2); in DepthRangef()
36 ctx->viewport.f = VectorComp_t_CTR((zFar - zNear) / 2); in DepthRangef()
42 ctx->viewport.x = VectorComp_t_CTR(x + width / 2); in Viewport()
43 ctx->viewport.y = VectorComp_t_CTR(y + height / 2); in Viewport()
44 ctx->viewport.w = VectorComp_t_CTR(width / 2); in Viewport()
45 ctx->viewport.h = VectorComp_t_CTR(height / 2); in Viewport()
Draster.cpp572 v->x = v->x * ctx->viewport.w + ctx->viewport.x; in ViewportTransform()
574 v->y = v->y * ctx->viewport.h + ctx->viewport.y; in ViewportTransform()
575 v->z = v->z * ctx->viewport.f + ctx->viewport.n; in ViewportTransform()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DShaderProgram.cpp674 IntRect viewport(m_visibleContentRect.fLeft - margin, m_visibleContentRect.fTop - margin, in clippedRectWithVisibleContentRect() local
677 viewport.intersect(rect); in clippedRectWithVisibleContentRect()
678 return viewport; in clippedRectWithVisibleContentRect()
906 int viewport[4]; in debugMatrixInfo() local
907 glGetIntegerv(GL_VIEWPORT, viewport); in debugMatrixInfo()
909 viewport[0], viewport[1], viewport[2], viewport[3], currentScale); in debugMatrixInfo()
910 IntRect currentGLViewport(viewport[0], viewport[1], viewport[2], viewport[3]); in debugMatrixInfo()
DTransferQueue.cpp550 glGetIntegerv(GL_VIEWPORT, m_GLStateBeforeBlit.viewport); in saveGLState()
574 glViewport(m_GLStateBeforeBlit.viewport[0], in restoreGLState()
575 m_GLStateBeforeBlit.viewport[1], in restoreGLState()
576 m_GLStateBeforeBlit.viewport[2], in restoreGLState()
577 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/skia/src/gpu/
Dapp-android.cpp279 SkBitmap viewport; in doDraw() local
280 viewport.setConfig(SkBitmap::kARGB_8888_Config, in doDraw()
285 canvas.setBitmapDevice(viewport); in doDraw()
314 c.setBitmapDevice(viewport); in doDraw()
/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()
Dcomposer.h40 …rawFunc)( void* user, SkinRegion* region, SkinPos* apos, SkinViewport* viewport, int opaque );
/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/chromium-trace/src/tracing/
Dtimeline.js454 get viewport() { getter in Timeline
506 this.viewportTrack.viewport = this.viewport_;
517 track.viewport = this.viewport_;
526 track.viewport = this.viewport_;
549 track.viewport = this.viewport_;
566 track.viewport = this.viewport_;
Dtimeline_track.js55 get viewport() { getter in TimelineContainerTrack
59 set viewport(v) { setter in TimelineContainerTrack
62 this.tracks_[i].viewport = v;
200 track.viewport = this.viewport_;
328 track.viewport = this.viewport_;
394 get viewport() { getter in CanvasBasedTrack
398 set viewport(v) { setter in CanvasBasedTrack
/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/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,
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/html-values/
Dwebkit84 viewport

1234