/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 168 const struct pipe_viewport_state *viewport = &svga->curr.viewport; local 184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; 185 float fy = flip * viewport->scale[1] * -1.0 + viewport->translate[1]; 186 float fw = viewport->scale[0] * 2; 187 float fh = flip * viewport->scale[1] * 2; 191 /* Examine gallium viewport transformation and produce a screen 219 fx = viewport->scale[0] * 1.0 + viewport->translate[0] [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 168 const struct pipe_viewport_state *viewport = &svga->curr.viewport; local 184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; 185 float fy = flip * viewport->scale[1] * -1.0 + viewport->translate[1]; 186 float fw = viewport->scale[0] * 2; 187 float fh = flip * viewport->scale[1] * 2; 191 /* Examine gallium viewport transformation and produce a screen 219 fx = viewport->scale[0] * 1.0 + viewport->translate[0] [all...] |
/external/chromium_org/ppapi/shared_impl/ |
ppb_view_shared.cc | 61 PP_Bool PPB_View_Shared::GetRect(PP_Rect* viewport) const { 62 if (!viewport) 64 *viewport = data_.rect;
|
ppb_view_shared.h | 46 virtual PP_Bool GetRect(PP_Rect* viewport) const OVERRIDE;
|
/external/chromium_org/cc/output/ |
output_surface_client.h | 39 gfx::Rect viewport,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv04_context.h | 37 float viewport[16]; member in struct:nv04_context
|
nv04_render.c | 42 float *viewport = to_nv04_context(ctx)->viewport; local 45 get_viewport_scale(ctx, viewport); 46 get_viewport_translate(ctx, &viewport[MAT_TX]); 49 viewport[MAT_SZ] /= fb->_DepthMaxF; 50 viewport[MAT_TZ] /= fb->_DepthMaxF; 91 _tnl_install_attrs(ctx, map, n, nctx->viewport, 0);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_context.h | 37 float viewport[16]; member in struct:nv04_context
|
nv04_render.c | 42 float *viewport = to_nv04_context(ctx)->viewport; local 45 get_viewport_scale(ctx, viewport); 46 get_viewport_translate(ctx, &viewport[MAT_TX]); 49 viewport[MAT_SZ] /= fb->_DepthMaxF; 50 viewport[MAT_TZ] /= fb->_DepthMaxF; 91 _tnl_install_attrs(ctx, map, n, nctx->viewport, 0);
|
/external/chromium_org/content/browser/android/in_process/ |
synchronous_compositor_output_surface.h | 72 gfx::Rect viewport, 86 gfx::Rect viewport,
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
quad-tex.c | 74 struct pipe_viewport_state viewport; member in struct:program 229 /* viewport, depth isn't really needed */ 247 p->viewport.scale[0] = half_width; 248 p->viewport.scale[1] = half_height * scale; 249 p->viewport.scale[2] = half_depth; 250 p->viewport.scale[3] = 1.0f; 252 p->viewport.translate[0] = half_width + x; 253 p->viewport.translate[1] = (half_height + y) * scale + bias; 254 p->viewport.translate[2] = half_depth + z; 255 p->viewport.translate[3] = 0.0f [all...] |
/external/mesa3d/src/gallium/tests/trivial/ |
quad-tex.c | 74 struct pipe_viewport_state viewport; member in struct:program 229 /* viewport, depth isn't really needed */ 247 p->viewport.scale[0] = half_width; 248 p->viewport.scale[1] = half_height * scale; 249 p->viewport.scale[2] = half_depth; 250 p->viewport.scale[3] = 1.0f; 252 p->viewport.translate[0] = half_width + x; 253 p->viewport.translate[1] = (half_height + y) * scale + bias; 254 p->viewport.translate[2] = half_depth + z; 255 p->viewport.translate[3] = 0.0f [all...] |
/external/chromium_org/cc/test/ |
fake_output_surface_client.h | 31 gfx::Rect viewport) OVERRIDE {}
|
/external/chromium_org/content/public/browser/android/ |
synchronous_compositor.h | 73 gfx::Rect viewport,
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGViewportContainer.h | 35 FloatRect viewport() const { return m_viewport; } function in class:WebCore::FINAL
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_zscan.h | 60 struct pipe_viewport_state viewport; member in struct:vl_zscan_buffer
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.h | 60 struct pipe_viewport_state viewport; member in struct:vl_zscan_buffer
|
/external/skia/tools/ |
bench_pictures_cfg_helper.py | 46 return BitmapConfig(viewport=[str(viewport_x), str(viewport_y)], **kwargs) 50 return GPUConfig(viewport=[str(viewport_x), str(viewport_y)], **kwargs) 54 return RTreeConfig(mode='simple', viewport=[str(viewport_x), str(viewport_y)], 60 viewport=[str(viewport_x), str(viewport_y)], **kwargs)
|
PictureRenderingFlags.cpp | 64 DEFINE_string(viewport, "", "width height: Set the viewport."); 238 error.printf("--viewport requires a width and a height.\n"); 241 SkISize viewport; local 242 viewport.fWidth = atoi(FLAGS_viewport[0]); 243 viewport.fHeight = atoi(FLAGS_viewport[1]); 244 renderer->setViewport(viewport);
|
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.cpp | 392 Rect viewport(newViewport); 407 if (viewport.isEmpty()) { 408 // viewport can be invalid if it has never been set, in that case 410 // it's also invalid to have an empty viewport, so we handle that 412 viewport = Rect(w, h); 414 // viewport is always specified in the logical orientation 416 swap(viewport.right, viewport.bottom); 423 float src_width = viewport.width(); 424 float src_height = viewport.height() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGLengthContext.cpp | 45 SVGLengthContext::SVGLengthContext(const SVGElement* context, const FloatRect& viewport) 47 , m_overridenViewport(viewport) 51 FloatRect SVGLengthContext::resolveRectangle(const SVGElement* context, SVGUnitTypes::SVGUnitType type, const FloatRect& viewport, const SVGLength& x, const SVGLength& y, const SVGLength& width, const SVGLength& height) 59 SVGLengthContext lengthContext(context, viewport); 60 return FloatRect(x.value(lengthContext) + viewport.x(), 61 y.value(lengthContext) + viewport.y(), 92 // If the SVGLengthContext carries a custom viewport, force resolving against it. 288 // If an overriden viewport is given, it has precedence. 299 // Take size from nearest viewport element.
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_sf_state.c | 50 const GLfloat *v = ctx->Viewport._WindowMap.m; 67 sfv->viewport.m00 = v[MAT_SX]; 68 sfv->viewport.m11 = v[MAT_SY] * y_scale; 69 sfv->viewport.m22 = v[MAT_SZ] * depth_scale; 70 sfv->viewport.m30 = v[MAT_TX]; 71 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias; 72 sfv->viewport.m32 = v[MAT_TZ] * depth_scale; 209 * The viewport is inverted for rendering to a FBO, and that inverts 305 /* Emit SF viewport relocation */
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_sf_state.c | 50 const GLfloat *v = ctx->Viewport._WindowMap.m; 67 sfv->viewport.m00 = v[MAT_SX]; 68 sfv->viewport.m11 = v[MAT_SY] * y_scale; 69 sfv->viewport.m22 = v[MAT_SZ] * depth_scale; 70 sfv->viewport.m30 = v[MAT_TX]; 71 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias; 72 sfv->viewport.m32 = v[MAT_TZ] * depth_scale; 209 * The viewport is inverted for rendering to a FBO, and that inverts 305 /* Emit SF viewport relocation */
|
/external/skia/bench/ |
tile_analyze.py | 6 """ Analyze per-tile and viewport bench data, and output visualized results. 28 # Maximum number of rows of tiles to track for viewport covering. 39 For the given platform and revision number, find corresponding viewport and 91 non-tile, non-viewport bench files. 130 def GetTileMatrix(layout, tile_size, values, viewport): 132 bench values with tiles outside the given viewport set to 0. 134 layout, tile_size and viewport are given in string of format <w>x<h>, where 135 <w> is viewport width or number of tile columns, and <h> is viewport height or 142 viewport, and matrix is used for visualizing the tiles [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_blit.c | 66 struct pipe_viewport_state viewport; member in struct:blit_state 742 /* viewport */ 743 ctx->viewport.scale[0] = 0.5f * dst_surface->width; 744 ctx->viewport.scale[1] = 0.5f * dst_surface->height; 745 ctx->viewport.scale[2] = 0.5f; 746 ctx->viewport.scale[3] = 1.0f; 747 ctx->viewport.translate[0] = 0.5f * dst_surface->width; 748 ctx->viewport.translate[1] = 0.5f * dst_surface->height; 749 ctx->viewport.translate[2] = 0.5f; 750 ctx->viewport.translate[3] = 0.0f [all...] |