X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Fcommon%2Fgpu%2Fclient%2Fwebgraphicscontext3d_command_buffer_impl.h;h=6a41e47d03bbd672a75493c4a85468010c9d87b2;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=25a487eac1d19345bd291c4ab8d75c5cc0604110;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/src/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h index 25a487e..6a41e47 100644 --- a/src/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h +++ b/src/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h @@ -123,9 +123,6 @@ class WebGraphicsContext3DCommandBufferImpl const GURL& active_url, GpuChannelHost* host, const Attributes& attributes, -#if !defined(OS_CHROMEOS) - bool bind_generates_resources, -#endif bool lose_context_when_out_of_memory, const SharedMemoryLimits& limits, WebGraphicsContext3DCommandBufferImpl* share_context); @@ -655,12 +652,19 @@ class WebGraphicsContext3DCommandBufferImpl virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor); // GL_CHROMIUM_map_image + // TODO(alexst): remove this old function after blink cleanup. virtual WGC3Duint createImageCHROMIUM( WGC3Dsizei width, WGC3Dsizei height, WGC3Denum internalformat); + virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width, + WGC3Dsizei height, + WGC3Denum internalformat, + WGC3Denum usage); virtual void destroyImageCHROMIUM(WGC3Duint image_id); virtual void getImageParameterivCHROMIUM( WGC3Duint image_id, WGC3Denum pname, WGC3Dint* params); + // TODO(alexst): remove this old function after blink cleanup. virtual void* mapImageCHROMIUM(WGC3Duint image_id, WGC3Denum access); + virtual void* mapImageCHROMIUM(WGC3Duint image_id); virtual void unmapImageCHROMIUM(WGC3Duint image_id); // GL_EXT_multisampled_render_to_texture @@ -771,9 +775,6 @@ class WebGraphicsContext3DCommandBufferImpl scoped_ptr real_gl_; scoped_ptr trace_gl_; Error last_error_; -#if !defined(OS_CHROMEOS) - bool bind_generates_resources_; -#endif bool lose_context_when_out_of_memory_; SharedMemoryLimits mem_limits_;