/frameworks/base/services/java/com/android/server/display/ |
DisplayViewport.java | 30 // True if this viewport is valid. 53 public void copyFrom(DisplayViewport viewport) { 54 valid = viewport.valid; 55 displayId = viewport.displayId; 56 orientation = viewport.orientation; 57 logicalFrame.set(viewport.logicalFrame); 58 physicalFrame.set(viewport.physicalFrame); 59 deviceWidth = viewport.deviceWidth; 60 deviceHeight = viewport.deviceHeight;
|
DisplayDevice.java | 175 * Populates the specified viewport object with orientation, 178 public final void populateViewportLocked(DisplayViewport viewport) { 179 viewport.orientation = mCurrentOrientation; 182 viewport.logicalFrame.set(mCurrentLayerStackRect); 184 viewport.logicalFrame.setEmpty(); 188 viewport.physicalFrame.set(mCurrentDisplayRect); 190 viewport.physicalFrame.setEmpty(); 196 viewport.deviceWidth = isRotated ? info.height : info.width; 197 viewport.deviceHeight = isRotated ? info.width : info.height;
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_viewport.c | 36 * Update the viewport transformation matrix. Depends on: 37 * - viewport pos/size 51 * Y=0=TOP but OpenGL is Y=0=BOTTOM. So we need to invert the viewport. 65 GLfloat x = (GLfloat)ctx->Viewport.X; 66 GLfloat y = (GLfloat)ctx->Viewport.Y; 67 GLfloat z = ctx->Viewport.Near; 68 GLfloat half_width = (GLfloat)ctx->Viewport.Width * 0.5f; 69 GLfloat half_height = (GLfloat)ctx->Viewport.Height * 0.5f; 70 GLfloat half_depth = (GLfloat)(ctx->Viewport.Far - ctx->Viewport.Near) * 0.5f [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_viewport.c | 36 * Update the viewport transformation matrix. Depends on: 37 * - viewport pos/size 51 * Y=0=TOP but OpenGL is Y=0=BOTTOM. So we need to invert the viewport. 65 GLfloat x = (GLfloat)ctx->Viewport.X; 66 GLfloat y = (GLfloat)ctx->Viewport.Y; 67 GLfloat z = ctx->Viewport.Near; 68 GLfloat half_width = (GLfloat)ctx->Viewport.Width * 0.5f; 69 GLfloat half_height = (GLfloat)ctx->Viewport.Height * 0.5f; 70 GLfloat half_depth = (GLfloat)(ctx->Viewport.Far - ctx->Viewport.Near) * 0.5f [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLRenderTarget.cpp | 17 const GrGLIRect& viewport, 22 fViewport = viewport; 45 const GrGLIRect& viewport, 52 viewport.fWidth, viewport.fHeight, 61 // we assume this is true, TODO: get rid of viewport as a param. 62 GrAssert(viewport.fWidth == texture->width()); 63 GrAssert(viewport.fHeight == texture->height()); 65 this->init(desc, viewport, texID); 70 const GrGLIRect& viewport) [all...] |
GrGLRenderTarget.h | 41 const GrGLIRect& viewport, 48 const GrGLIRect& viewport); 94 // when we switch to this render target we want to set the viewport to 102 void init(const Desc& desc, const GrGLIRect& viewport, GrGLTexID* texID);
|
/external/skia/src/gpu/gl/ |
GrGLRenderTarget.cpp | 17 const GrGLIRect& viewport, 22 fViewport = viewport; 45 const GrGLIRect& viewport, 52 viewport.fWidth, viewport.fHeight, 61 // we assume this is true, TODO: get rid of viewport as a param. 62 GrAssert(viewport.fWidth == texture->width()); 63 GrAssert(viewport.fHeight == texture->height()); 65 this->init(desc, viewport, texID); 70 const GrGLIRect& viewport) [all...] |
GrGLRenderTarget.h | 41 const GrGLIRect& viewport, 48 const GrGLIRect& viewport); 94 // when we switch to this render target we want to set the viewport to 102 void init(const Desc& desc, const GrGLIRect& viewport, GrGLTexID* texID);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
gen7_viewport_state.c | 38 const GLfloat *v = ctx->Viewport._WindowMap.m; 62 vp->viewport.m00 = v[MAT_SX]; 63 vp->viewport.m11 = v[MAT_SY] * y_scale; 64 vp->viewport.m22 = v[MAT_SZ] * depth_scale; 65 vp->viewport.m30 = v[MAT_TX]; 66 vp->viewport.m31 = v[MAT_TY] * y_scale + y_bias; 67 vp->viewport.m32 = v[MAT_TZ] * depth_scale;
|
gen6_viewport_state.c | 75 const GLfloat *v = ctx->Viewport._WindowMap.m; 91 sfv->viewport.m00 = v[MAT_SX]; 92 sfv->viewport.m11 = v[MAT_SY] * y_scale; 93 sfv->viewport.m22 = v[MAT_SZ] * depth_scale; 94 sfv->viewport.m30 = v[MAT_TX]; 95 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias; 96 sfv->viewport.m32 = v[MAT_TZ] * depth_scale;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_viewport_state.c | 38 const GLfloat *v = ctx->Viewport._WindowMap.m; 62 vp->viewport.m00 = v[MAT_SX]; 63 vp->viewport.m11 = v[MAT_SY] * y_scale; 64 vp->viewport.m22 = v[MAT_SZ] * depth_scale; 65 vp->viewport.m30 = v[MAT_TX]; 66 vp->viewport.m31 = v[MAT_TY] * y_scale + y_bias; 67 vp->viewport.m32 = v[MAT_TZ] * depth_scale;
|
gen6_viewport_state.c | 75 const GLfloat *v = ctx->Viewport._WindowMap.m; 91 sfv->viewport.m00 = v[MAT_SX]; 92 sfv->viewport.m11 = v[MAT_SY] * y_scale; 93 sfv->viewport.m22 = v[MAT_SZ] * depth_scale; 94 sfv->viewport.m30 = v[MAT_TX]; 95 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias; 96 sfv->viewport.m32 = v[MAT_TZ] * depth_scale;
|
/external/chromium_org/ppapi/thunk/ |
ppb_view_api.h | 23 virtual PP_Bool GetRect(PP_Rect* viewport) const = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGLengthContext.h | 57 static FloatRect resolveRectangle(const T* context, SVGUnitTypes::SVGUnitType type, const FloatRect& viewport) 59 return SVGLengthContext::resolveRectangle(context, type, viewport, context->xCurrentValue(), context->yCurrentValue(), context->widthCurrentValue(), context->heightCurrentValue()); 62 static FloatRect resolveRectangle(const SVGElement*, SVGUnitTypes::SVGUnitType, const FloatRect& viewport, const SVGLength& x, const SVGLength& y, const SVGLength& width, const SVGLength& height); 72 SVGLengthContext(const SVGElement*, const FloatRect& viewport);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_state_clip.c | 48 const struct pipe_viewport_state *viewport) 52 /* pass the viewport info to the draw module */ 53 draw_set_viewport_state(llvmpipe->draw, viewport); 55 llvmpipe->viewport = *viewport; /* struct copy */
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_state_clip.c | 48 const struct pipe_viewport_state *viewport) 52 /* pass the viewport info to the draw module */ 53 draw_set_viewport_state(softpipe->draw, viewport); 55 softpipe->viewport = *viewport; /* struct copy */
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_clip.c | 48 const struct pipe_viewport_state *viewport) 52 /* pass the viewport info to the draw module */ 53 draw_set_viewport_state(llvmpipe->draw, viewport); 55 llvmpipe->viewport = *viewport; /* struct copy */
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_state_clip.c | 48 const struct pipe_viewport_state *viewport) 52 /* pass the viewport info to the draw module */ 53 draw_set_viewport_state(softpipe->draw, viewport); 55 softpipe->viewport = *viewport; /* struct copy */
|
/external/chromium_org/ash/wm/ |
workspace_controller.h | 29 explicit WorkspaceController(aura::Window* viewport);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/ |
pp_program.h | 48 struct pipe_viewport_state viewport; member in struct:program
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_program.h | 48 struct pipe_viewport_state viewport; member in struct:program
|
/external/chromium_org/content/browser/android/in_process/ |
synchronous_compositor_output_surface.cc | 192 gfx::Rect viewport, 194 // CC's draw origin starts at the viewport. 195 transform->matrix().postTranslate(-viewport.x(), -viewport.y(), 0); 219 gfx::Rect viewport, 228 InvokeComposite(transform, viewport, clip, true); 257 gfx::Rect viewport, 265 AdjustTransform(&adjusted_transform, viewport, clip); 266 SetExternalDrawConstraints(adjusted_transform, viewport, clip, hardware); 267 SetNeedsRedrawRect(gfx::Rect(viewport.size())) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
tri.c | 71 struct pipe_viewport_state viewport; member in struct:program 170 /* viewport, depth isn't really needed */ 188 p->viewport.scale[0] = half_width; 189 p->viewport.scale[1] = half_height * scale; 190 p->viewport.scale[2] = half_depth; 191 p->viewport.scale[3] = 1.0f; 193 p->viewport.translate[0] = half_width + x; 194 p->viewport.translate[1] = (half_height + y) * scale + bias; 195 p->viewport.translate[2] = half_depth + z; 196 p->viewport.translate[3] = 0.0f [all...] |
/external/mesa3d/src/gallium/tests/trivial/ |
tri.c | 71 struct pipe_viewport_state viewport; member in struct:program 170 /* viewport, depth isn't really needed */ 188 p->viewport.scale[0] = half_width; 189 p->viewport.scale[1] = half_height * scale; 190 p->viewport.scale[2] = half_depth; 191 p->viewport.scale[3] = 1.0f; 193 p->viewport.translate[0] = half_width + x; 194 p->viewport.translate[1] = (half_height + y) * scale + bias; 195 p->viewport.translate[2] = half_depth + z; 196 p->viewport.translate[3] = 0.0f [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_context.cpp | 175 int viewport[4] = {}; local 176 hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport); 177 unsigned fbContentsSize = viewport[2] * viewport[3] * 4; 193 hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3], 203 *fbwidth = viewport[2]; 204 *fbheight = viewport[3] [all...] |