| Index: examples/surfaces_app/child_gl_impl.cc
|
| diff --git a/examples/surfaces_app/child_gl_impl.cc b/examples/surfaces_app/child_gl_impl.cc
|
| index fe4f23225187a480d2cfdbe41fbd231815d31211..8b8e942c147c13066383cebc4adcb1c79937cf88 100644
|
| --- a/examples/surfaces_app/child_gl_impl.cc
|
| +++ b/examples/surfaces_app/child_gl_impl.cc
|
| @@ -158,17 +158,21 @@ void ChildGLImpl::Draw() {
|
| TextureDrawQuad* texture_quad =
|
| pass->CreateAndAppendDrawQuad<TextureDrawQuad>();
|
| float vertex_opacity[4] = {1.0f, 1.0f, 0.2f, 1.0f};
|
| + const bool premultiplied_alpha = true;
|
| + const bool flipped = false;
|
| + const bool nearest_neighbor = false;
|
| texture_quad->SetNew(pass->shared_quad_state_list.back(),
|
| rect,
|
| rect,
|
| rect,
|
| resource.id,
|
| - true,
|
| + premultiplied_alpha,
|
| gfx::PointF(),
|
| gfx::PointF(1.f, 1.f),
|
| SK_ColorBLUE,
|
| vertex_opacity,
|
| - false);
|
| + flipped,
|
| + nearest_neighbor);
|
|
|
| scoped_ptr<DelegatedFrameData> delegated_frame_data(new DelegatedFrameData);
|
| delegated_frame_data->render_pass_list.push_back(pass.Pass());
|
|
|