Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1205)

Side by Side Diff: webkit/common/gpu/webgraphicscontext3d_in_process_impl.h

Issue 16200002: Remove unused methods in WebGraphicsContext3D: isGLES2Compliant() and getPlatformTextureId() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch to try bot. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 gfx::AcceleratedWidget window, 66 gfx::AcceleratedWidget window,
67 gfx::GLShareGroup* share_group); 67 gfx::GLShareGroup* share_group);
68 68
69 //---------------------------------------------------------------------- 69 //----------------------------------------------------------------------
70 // WebGraphicsContext3D methods 70 // WebGraphicsContext3D methods
71 virtual bool makeContextCurrent(); 71 virtual bool makeContextCurrent();
72 72
73 virtual int width(); 73 virtual int width();
74 virtual int height(); 74 virtual int height();
75 75
76 virtual bool isGLES2Compliant();
77
78 virtual bool setParentContext(WebGraphicsContext3D* parent_context); 76 virtual bool setParentContext(WebGraphicsContext3D* parent_context);
79 77
80 virtual void reshape(int width, int height); 78 virtual void reshape(int width, int height);
81 virtual void reshapeWithScaleFactor( 79 virtual void reshapeWithScaleFactor(
82 int width, int height, float scaleFactor); 80 int width, int height, float scaleFactor);
83 81
84 virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize); 82 virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize);
85 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size, 83 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size,
86 WebGLId framebuffer, int width, int height); 84 WebGLId framebuffer, int width, int height);
87 85
88 virtual WebGLId getPlatformTextureId();
89 virtual void prepareTexture(); 86 virtual void prepareTexture();
90 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height); 87 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height);
91 88
92 virtual void synthesizeGLError(WGC3Denum error); 89 virtual void synthesizeGLError(WGC3Denum error);
93 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset, 90 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset,
94 WGC3Dsizeiptr size, WGC3Denum access); 91 WGC3Dsizeiptr size, WGC3Denum access);
95 virtual void unmapBufferSubDataCHROMIUM(const void*); 92 virtual void unmapBufferSubDataCHROMIUM(const void*);
96 virtual void* mapTexSubImage2DCHROMIUM( 93 virtual void* mapTexSubImage2DCHROMIUM(
97 WGC3Denum target, 94 WGC3Denum target,
98 WGC3Dint level, 95 WGC3Dint level,
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 ShaderSourceMap shader_source_map_; 565 ShaderSourceMap shader_source_map_;
569 566
570 ShHandle fragment_compiler_; 567 ShHandle fragment_compiler_;
571 ShHandle vertex_compiler_; 568 ShHandle vertex_compiler_;
572 }; 569 };
573 570
574 } // namespace gpu 571 } // namespace gpu
575 } // namespace webkit 572 } // namespace webkit
576 573
577 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 574 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698