| Index: content/common/gpu/client/context_provider_command_buffer.cc
|
| diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc
|
| index 4b24d0134b627df9ebe048dcb6082e6c113c7f7e..857d0938615048c7e673d780452c4fe6d9837c00 100644
|
| --- a/content/common/gpu/client/context_provider_command_buffer.cc
|
| +++ b/content/common/gpu/client/context_provider_command_buffer.cc
|
| @@ -111,6 +111,15 @@ ContextProviderCommandBuffer::GetCommandBufferProxy() {
|
| return command_buffer_.get();
|
| }
|
|
|
| +uint32_t ContextProviderCommandBuffer::GetCopyTextureInternalFormat() {
|
| + if (attributes_.alpha_size > 0)
|
| + return GL_RGBA;
|
| + DCHECK_NE(attributes_.red_size, 0);
|
| + DCHECK_NE(attributes_.green_size, 0);
|
| + DCHECK_NE(attributes_.blue_size, 0);
|
| + return GL_RGB;
|
| +}
|
| +
|
| bool ContextProviderCommandBuffer::BindToCurrentThread() {
|
| // This is called on the thread the context will be used.
|
| DCHECK(context_thread_checker_.CalledOnValidThread());
|
|
|