summaryrefslogtreecommitdiffstats
path: root/cc/quads/picture_draw_quad.cc
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 21:29:24 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 21:29:24 +0000
commit2eeea2b3af3a75fd682fca39fc21423887539373 (patch)
tree8c67d7dc754c817dc501b5dbde929a78d92a28b0 /cc/quads/picture_draw_quad.cc
parent48329446603c155f1b0c5394ac6c993e22e8af1c (diff)
downloadchromium_src-2eeea2b3af3a75fd682fca39fc21423887539373.zip
chromium_src-2eeea2b3af3a75fd682fca39fc21423887539373.tar.gz
chromium_src-2eeea2b3af3a75fd682fca39fc21423887539373.tar.bz2
Remove direct-to-backbuffer Ganesh path
The usage of the GrContext in GLRenderer is getting in the way of cleaning up the WebGraphicsContext3D usage in cc. This path was good for trying out the Ganesh path, but was never really used, available on all platforms, or compatible with ubercompositor. Ganesh-to-tile is almost landed and so it seems like this can be safely removed for the present. BUG=none TBR=sky Review URL: https://codereview.chromium.org/98463008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/quads/picture_draw_quad.cc')
-rw-r--r--cc/quads/picture_draw_quad.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/cc/quads/picture_draw_quad.cc b/cc/quads/picture_draw_quad.cc
index e566b24..bdb12e6 100644
--- a/cc/quads/picture_draw_quad.cc
+++ b/cc/quads/picture_draw_quad.cc
@@ -28,7 +28,6 @@ void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
ResourceFormat texture_format,
gfx::Rect content_rect,
float contents_scale,
- bool can_draw_direct_to_backbuffer,
scoped_refptr<PicturePileImpl> picture_pile) {
ContentDrawQuadBase::SetNew(shared_quad_state,
DrawQuad::PICTURE_CONTENT,
@@ -40,7 +39,6 @@ void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
texture_format));
this->content_rect = content_rect;
this->contents_scale = contents_scale;
- this->can_draw_direct_to_backbuffer = can_draw_direct_to_backbuffer;
this->picture_pile = picture_pile;
this->texture_format = texture_format;
}
@@ -55,7 +53,6 @@ void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
ResourceFormat texture_format,
gfx::Rect content_rect,
float contents_scale,
- bool can_draw_direct_to_backbuffer,
scoped_refptr<PicturePileImpl> picture_pile) {
ContentDrawQuadBase::SetAll(shared_quad_state,
DrawQuad::PICTURE_CONTENT,
@@ -69,7 +66,6 @@ void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
texture_format));
this->content_rect = content_rect;
this->contents_scale = contents_scale;
- this->can_draw_direct_to_backbuffer = can_draw_direct_to_backbuffer;
this->picture_pile = picture_pile;
this->texture_format = texture_format;
}
@@ -89,8 +85,6 @@ void PictureDrawQuad::ExtendValue(base::DictionaryValue* value) const {
ContentDrawQuadBase::ExtendValue(value);
value->Set("content_rect", MathUtil::AsValue(content_rect).release());
value->SetDouble("contents_scale", contents_scale);
- value->SetBoolean("can_draw_direct_to_backbuffer",
- can_draw_direct_to_backbuffer);
value->SetInteger("texture_format", texture_format);
// TODO(piman): picture_pile?
}