| Index: cc/resources/resource_provider.cc
|
| diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
|
| index 07ce62c88352cfad3533970f4261ba455bd9d215..a5c0b42c3f7d6cf17b3591d69cfbd1d4f6da87c2 100644
|
| --- a/cc/resources/resource_provider.cc
|
| +++ b/cc/resources/resource_provider.cc
|
| @@ -1210,6 +1210,7 @@ ResourceProvider::ResourceProvider(
|
| yuv_resource_format_(LUMINANCE_8),
|
| max_texture_size_(0),
|
| best_texture_format_(RGBA_8888),
|
| + best_render_buffer_format_(RGBA_8888),
|
| use_rgba_4444_texture_format_(use_rgba_4444_texture_format),
|
| id_allocation_chunk_size_(id_allocation_chunk_size),
|
| use_sync_query_(false),
|
| @@ -1252,6 +1253,9 @@ void ResourceProvider::Initialize() {
|
| best_texture_format_ =
|
| PlatformColor::BestTextureFormat(use_texture_format_bgra_);
|
|
|
| + best_render_buffer_format_ =
|
| + PlatformColor::BestTextureFormat(caps.gpu.render_buffer_format_bgra8888);
|
| +
|
| texture_id_allocator_.reset(
|
| new TextureIdAllocator(gl, id_allocation_chunk_size_));
|
| buffer_id_allocator_.reset(
|
|
|