| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index 3b45922c697f3ca0a0dc16125a005582064c124a..c373850f0bf3bb478dc5a3fbe8cf685d70f5f88b 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -1923,7 +1923,7 @@ class GLES2DecoderImpl : public GLES2Decoder, public ErrorStateClient {
|
|
|
| // Copies the image to the texture currently bound to |textarget|. The image
|
| // state of |texture| is updated to reflect the new state.
|
| - void DoCopyTexImage(Texture* texture, GLenum textarget, gfx::GLImage* image);
|
| + void DoCopyTexImage(Texture* texture, GLenum textarget, gl::GLImage* image);
|
|
|
| // This will call DoCopyTexImage if texture has an image but that image is
|
| // not bound or copied to the texture.
|
| @@ -7559,7 +7559,7 @@ void GLES2DecoderImpl::PerformanceWarning(
|
|
|
| void GLES2DecoderImpl::DoCopyTexImage(Texture* texture,
|
| GLenum textarget,
|
| - gfx::GLImage* image) {
|
| + gl::GLImage* image) {
|
| // Note: We update the state to COPIED prior to calling CopyTexImage()
|
| // as that allows the GLImage implemenatation to set it back to UNBOUND
|
| // and ensure that CopyTexImage() is called each time the texture is
|
| @@ -7574,7 +7574,7 @@ void GLES2DecoderImpl::DoCopyTexImageIfNeeded(Texture* texture,
|
| // Image is already in use if texture is attached to a framebuffer.
|
| if (texture && !texture->IsAttachedToFramebuffer()) {
|
| Texture::ImageState image_state;
|
| - gfx::GLImage* image = texture->GetLevelImage(textarget, 0, &image_state);
|
| + gl::GLImage* image = texture->GetLevelImage(textarget, 0, &image_state);
|
| if (image && image_state == Texture::UNBOUND) {
|
| ScopedGLErrorSuppressor suppressor(
|
| "GLES2DecoderImpl::DoCopyTexImageIfNeeded", GetErrorState());
|
| @@ -7628,7 +7628,7 @@ bool GLES2DecoderImpl::PrepareTexturesForRender() {
|
| if (textarget != GL_TEXTURE_CUBE_MAP) {
|
| Texture* texture = texture_ref->texture();
|
| Texture::ImageState image_state;
|
| - gfx::GLImage* image =
|
| + gl::GLImage* image =
|
| texture->GetLevelImage(textarget, 0, &image_state);
|
| if (image && image_state == Texture::UNBOUND &&
|
| !texture->IsAttachedToFramebuffer()) {
|
| @@ -9393,7 +9393,7 @@ error::Error GLES2DecoderImpl::HandleScheduleOverlayPlaneCHROMIUM(
|
| return error::kNoError;
|
| }
|
| Texture::ImageState image_state;
|
| - gfx::GLImage* image =
|
| + gl::GLImage* image =
|
| ref->texture()->GetLevelImage(ref->texture()->target(), 0, &image_state);
|
| if (!image || image_state != Texture::BOUND) {
|
| LOCAL_SET_GL_ERROR(GL_INVALID_VALUE,
|
| @@ -13026,7 +13026,7 @@ void GLES2DecoderImpl::DoCopyTextureCHROMIUM(
|
| Texture* dest_texture = dest_texture_ref->texture();
|
| int source_width = 0;
|
| int source_height = 0;
|
| - gfx::GLImage* image =
|
| + gl::GLImage* image =
|
| source_texture->GetLevelImage(source_texture->target(), 0);
|
| if (image) {
|
| gfx::Size size = image->GetSize();
|
| @@ -13184,7 +13184,7 @@ void GLES2DecoderImpl::DoCopySubTextureCHROMIUM(
|
| Texture* dest_texture = dest_texture_ref->texture();
|
| int source_width = 0;
|
| int source_height = 0;
|
| - gfx::GLImage* image =
|
| + gl::GLImage* image =
|
| source_texture->GetLevelImage(source_texture->target(), 0);
|
| if (image) {
|
| gfx::Size size = image->GetSize();
|
| @@ -13330,7 +13330,7 @@ void GLES2DecoderImpl::DoCompressedCopyTextureCHROMIUM(GLenum target,
|
| Texture* dest_texture = dest_texture_ref->texture();
|
| int source_width = 0;
|
| int source_height = 0;
|
| - gfx::GLImage* image =
|
| + gl::GLImage* image =
|
| source_texture->GetLevelImage(source_texture->target(), 0);
|
| if (image) {
|
| gfx::Size size = image->GetSize();
|
| @@ -13506,7 +13506,7 @@ void GLES2DecoderImpl::DoCompressedCopySubTextureCHROMIUM(GLenum target,
|
| Texture* dest_texture = dest_texture_ref->texture();
|
| int source_width = 0;
|
| int source_height = 0;
|
| - gfx::GLImage* image =
|
| + gl::GLImage* image =
|
| source_texture->GetLevelImage(source_texture->target(), 0);
|
| if (image) {
|
| gfx::Size size = image->GetSize();
|
| @@ -14111,7 +14111,7 @@ void GLES2DecoderImpl::DoBindTexImage2DCHROMIUM(
|
| return;
|
| }
|
|
|
| - gfx::GLImage* image = image_manager()->LookupImage(image_id);
|
| + gl::GLImage* image = image_manager()->LookupImage(image_id);
|
| if (!image) {
|
| LOCAL_SET_GL_ERROR(
|
| GL_INVALID_OPERATION,
|
| @@ -14154,7 +14154,7 @@ void GLES2DecoderImpl::DoReleaseTexImage2DCHROMIUM(
|
| return;
|
| }
|
|
|
| - gfx::GLImage* image = image_manager()->LookupImage(image_id);
|
| + gl::GLImage* image = image_manager()->LookupImage(image_id);
|
| if (!image) {
|
| LOCAL_SET_GL_ERROR(
|
| GL_INVALID_OPERATION,
|
|
|