Searched defs:visible_rect (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/cc/quads/
H A Dcheckerboard_draw_quad.cc20 const gfx::Rect& visible_rect,
25 visible_rect, needs_blending);
32 const gfx::Rect& visible_rect,
36 visible_rect, needs_blending);
18 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& visible_rect, SkColor color) argument
29 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, SkColor color) argument
H A Dcontent_draw_quad_base.cc24 const gfx::Rect& visible_rect,
30 visible_rect, needs_blending);
40 const gfx::Rect& visible_rect,
46 visible_rect, needs_blending);
20 SetNew(const SharedQuadState* shared_quad_state, DrawQuad::Material material, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, bool swizzle_contents) argument
36 SetAll(const SharedQuadState* shared_quad_state, DrawQuad::Material material, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, bool swizzle_contents) argument
H A Ddebug_border_draw_quad.cc23 const gfx::Rect& visible_rect,
29 visible_rect, needs_blending);
37 const gfx::Rect& visible_rect,
42 visible_rect, needs_blending);
21 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& visible_rect, SkColor color, int width) argument
34 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, SkColor color, int width) argument
H A Dio_surface_draw_quad.cc25 const gfx::Rect& visible_rect,
31 opaque_rect, visible_rect, needs_blending);
40 const gfx::Rect& visible_rect,
46 opaque_rect, visible_rect, needs_blending);
22 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::Size& io_surface_size, unsigned io_surface_resource_id, Orientation orientation) argument
37 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::Size& io_surface_size, unsigned io_surface_resource_id, Orientation orientation) argument
H A Dsolid_color_draw_quad.cc21 const gfx::Rect& visible_rect,
27 visible_rect, needs_blending);
35 const gfx::Rect& visible_rect,
40 visible_rect, needs_blending);
19 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& visible_rect, SkColor color, bool force_anti_aliasing_off) argument
32 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, SkColor color, bool force_anti_aliasing_off) argument
H A Dstream_video_draw_quad.cc22 const gfx::Rect& visible_rect,
27 opaque_rect, visible_rect, needs_blending);
35 const gfx::Rect& visible_rect,
40 opaque_rect, visible_rect, needs_blending);
19 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, unsigned resource_id, const gfx::Transform& matrix) argument
32 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, unsigned resource_id, const gfx::Transform& matrix) argument
H A Dsurface_draw_quad.cc21 const gfx::Rect& visible_rect,
26 opaque_rect, visible_rect, needs_blending);
33 const gfx::Rect& visible_rect,
37 opaque_rect, visible_rect, needs_blending);
19 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& visible_rect, SurfaceId surface_id) argument
30 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, SurfaceId surface_id) argument
H A Ddraw_quad.cc42 const gfx::Rect& visible_rect,
44 DCHECK(rect.Contains(visible_rect)) << "rect: " << rect.ToString()
45 << " visible_rect: "
46 << visible_rect.ToString();
54 this->visible_rect = visible_rect;
136 MathUtil::AsValue(visible_rect).release());
140 gfx::QuadF(visible_rect),
38 SetAll(const SharedQuadState* shared_quad_state, Material material, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending) argument
H A Dpicture_draw_quad.cc26 const gfx::Rect& visible_rect,
38 visible_rect,
51 const gfx::Rect& visible_rect,
63 visible_rect,
23 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, ResourceFormat texture_format, const gfx::Rect& content_rect, float contents_scale, scoped_refptr<PicturePileImpl> picture_pile) argument
48 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, ResourceFormat texture_format, const gfx::Rect& content_rect, float contents_scale, scoped_refptr<PicturePileImpl> picture_pile) argument
H A Drender_pass_draw_quad.cc40 const gfx::Rect& visible_rect,
53 SetAll(shared_quad_state, rect, opaque_rect, visible_rect, needs_blending,
63 const gfx::Rect& visible_rect,
76 visible_rect, needs_blending);
37 SetNew( const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& visible_rect, RenderPass::Id render_pass_id, bool is_replica, ResourceProvider::ResourceId mask_resource_id, const gfx::Rect& contents_changed_since_last_frame, const gfx::RectF& mask_uv_rect, const FilterOperations& filters, const FilterOperations& background_filters) argument
59 SetAll( const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, RenderPass::Id render_pass_id, bool is_replica, ResourceProvider::ResourceId mask_resource_id, const gfx::Rect& contents_changed_since_last_frame, const gfx::RectF& mask_uv_rect, const FilterOperations& filters, const FilterOperations& background_filters) argument
H A Dtexture_draw_quad.cc32 const gfx::Rect& visible_rect,
43 opaque_rect, visible_rect, needs_blending);
59 const gfx::Rect& visible_rect, bool needs_blending,
67 opaque_rect, visible_rect, needs_blending);
29 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, unsigned resource_id, bool premultiplied_alpha, const gfx::PointF& uv_top_left, const gfx::PointF& uv_bottom_right, SkColor background_color, const float vertex_opacity[4], bool flipped) argument
56 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, unsigned resource_id, bool premultiplied_alpha, const gfx::PointF& uv_top_left, const gfx::PointF& uv_bottom_right, SkColor background_color, const float vertex_opacity[4], bool flipped) argument
H A Dtile_draw_quad.cc27 const gfx::Rect& visible_rect,
36 visible_rect,
46 const gfx::Rect& visible_rect,
53 opaque_rect, visible_rect, needs_blending,
24 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, unsigned resource_id, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, bool swizzle_contents) argument
43 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, unsigned resource_id, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, bool swizzle_contents) argument
H A Dyuv_video_draw_quad.cc27 const gfx::Rect& visible_rect,
36 opaque_rect, visible_rect, needs_blending);
48 const gfx::Rect& visible_rect,
57 opaque_rect, visible_rect, needs_blending);
24 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::RectF& tex_coord_rect, unsigned y_plane_resource_id, unsigned u_plane_resource_id, unsigned v_plane_resource_id, unsigned a_plane_resource_id, ColorSpace color_space) argument
45 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::RectF& tex_coord_rect, unsigned y_plane_resource_id, unsigned u_plane_resource_id, unsigned v_plane_resource_id, unsigned a_plane_resource_id, ColorSpace color_space) argument
H A Ddraw_quad.h77 gfx::Rect visible_rect; member in class:cc::DrawQuad
94 if (visible_rect.IsEmpty())
96 return !opaque_rect.Contains(visible_rect);
138 const gfx::Rect& visible_rect,
/external/chromium_org/media/base/
H A Dvideo_decoder_config.cc23 const gfx::Rect& visible_rect,
28 Initialize(codec, profile, format, coded_size, visible_rect, natural_size,
60 const gfx::Rect& visible_rect,
77 UMA_HISTOGRAM_COUNTS_10000("Media.VideoVisibleWidth", visible_rect.width());
78 UmaHistogramAspectRatio("Media.VideoVisibleAspectRatio", visible_rect);
87 visible_rect_ = visible_rect;
106 (visible_rect() == config.visible_rect()) &&
121 << " visible rect: [" << visible_rect().x()
122 << "," << visible_rect()
19 VideoDecoderConfig(VideoCodec codec, VideoCodecProfile profile, VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const uint8* extra_data, size_t extra_data_size, bool is_encrypted) argument
56 Initialize(VideoCodec codec, VideoCodecProfile profile, VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const uint8* extra_data, size_t extra_data_size, bool is_encrypted, bool record_stats) argument
148 gfx::Rect VideoDecoderConfig::visible_rect() const { function in class:media::VideoDecoderConfig
[all...]
H A Dvideo_frame_pool.cc25 const gfx::Rect& visible_rect,
61 const gfx::Rect& visible_rect,
75 pool_frame->visible_rect() == visible_rect &&
85 format, coded_size, visible_rect, natural_size, timestamp);
89 frame, frame->visible_rect(), frame->natural_size(),
118 const gfx::Rect& visible_rect,
121 return pool_->CreateFrame(format, coded_size, visible_rect, natural_size,
58 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
115 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
H A Dvideo_frame.h72 const gfx::Rect& visible_rect,
80 const gfx::Rect& visible_rect,
101 const gfx::Rect& visible_rect,
108 // least as large as 4 * visible_rect().size().GetArea().
120 const gfx::Rect& visible_rect,
142 const gfx::Rect& visible_rect,
157 const gfx::Rect& visible_rect,
169 // gets destroyed. |visible_rect| must be a sub rect within
170 // frame->visible_rect().
173 const gfx::Rect& visible_rect,
218 const gfx::Rect& visible_rect() const { return visible_rect_; } function in class:media::VideoFrame
[all...]
/external/chromium_org/media/tools/player_x11/
H A Dx11_video_renderer.cc89 Initialize(video_frame->coded_size(), video_frame->visible_rect());
93 const int visible_width = video_frame->visible_rect().width();
94 const int visible_height = video_frame->visible_rect().height();
151 video_frame->visible_rect().x(),
152 video_frame->visible_rect().y(),
177 video_frame->visible_rect().x(),
178 video_frame->visible_rect().y(),
185 gfx::Rect visible_rect) {
190 XResizeWindow(display_, window_, visible_rect.width(), visible_rect
184 Initialize(gfx::Size coded_size, gfx::Rect visible_rect) argument
[all...]
/external/chromium_org/cc/resources/
H A Dpriority_calculator.cc72 int PriorityCalculator::PriorityFromDistance(const gfx::Rect& visible_rect, argument
75 int distance = visible_rect.ManhattanInternalDistance(texture_rect);
/external/chromium_org/content/renderer/media/webrtc/
H A Dwebrtc_video_capturer_adapter.cc141 DCHECK(src->visible_rect().width() >= dst_width &&
142 src->visible_rect().height() >= dst_height);
144 const gfx::Rect& visible_rect = src->visible_rect(); local
147 visible_rect.y() * src->stride(media::VideoFrame::kYPlane) +
148 visible_rect.x();
150 visible_rect.y() / 2 * src->stride(media::VideoFrame::kUPlane) +
151 visible_rect.x() / 2;
153 visible_rect.y() / 2 * src->stride(media::VideoFrame::kVPlane) +
154 visible_rect
[all...]
/external/chromium_org/cc/layers/
H A Dnine_patch_layer_impl.cc210 gfx::Rect visible_rect; local
214 visible_rect =
216 if (!visible_rect.IsEmpty()) {
221 visible_rect,
232 visible_rect =
234 if (!visible_rect.IsEmpty()) {
239 visible_rect,
250 visible_rect =
252 if (!visible_rect.IsEmpty()) {
257 visible_rect,
[all...]
H A Dvideo_layer_impl.cc139 gfx::Rect visible_rect = frame_->visible_rect(); local
149 static_cast<float>(visible_rect.width()) / coded_size.width();
151 static_cast<float>(visible_rect.height()) / coded_size.height();
153 static_cast<float>(visible_rect.x()) / coded_size.width();
155 static_cast<float>(visible_rect.y()) / coded_size.height();
261 visible_rect.size(),
/external/chromium_org/cc/output/
H A Dsoftware_renderer_unittest.cc100 gfx::Rect visible_rect(gfx::Point(1, 2), gfx::Size(98, 97));
124 inner_quad->visible_rect = visible_rect;
247 gfx::Rect visible_rect = tile_rect; local
248 visible_rect.Inset(1, 2, 3, 4);
264 0, visible_rect.bottom() - 1, tile_rect.width(), tile_rect.bottom()),
298 quad->visible_rect = visible_rect;
317 output->getColor(visible_rect.x() - 1, visible_rect
[all...]
/external/chromium_org/content/renderer/media/
H A Drenderer_gpu_video_accelerator_factories.cc177 const gfx::Rect& visible_rect,
222 gles2->ReadPixels(visible_rect.x(),
223 visible_rect.y(),
224 visible_rect.width(),
225 visible_rect.height(),
234 int pixel_count = visible_rect.width() * visible_rect.height();
175 ReadPixels( uint32 texture_id, const gfx::Rect& visible_rect, const SkBitmap& pixels) argument
/external/chromium_org/media/filters/
H A Dgpu_video_decoder.h115 gfx::Rect* visible_rect, gfx::Size* natural_size);
171 BufferData(int32 bbid, base::TimeDelta ts, const gfx::Rect& visible_rect,
176 gfx::Rect visible_rect; member in struct:media::GpuVideoDecoder::BufferData

Completed in 366 milliseconds

12