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

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

Issue 8512005: Plumb through EGL_NV_post_sub_buffer and GLX_MESA_copy_sub_buffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual bool setParentContext(WebGraphicsContext3D* parent_context); 75 virtual bool setParentContext(WebGraphicsContext3D* parent_context);
76 76
77 virtual void reshape(int width, int height); 77 virtual void reshape(int width, int height);
78 78
79 virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize); 79 virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize);
80 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size, 80 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size,
81 WebGLId framebuffer, int width, int height); 81 WebGLId framebuffer, int width, int height);
82 82
83 virtual WebGLId getPlatformTextureId(); 83 virtual WebGLId getPlatformTextureId();
84 virtual void prepareTexture(); 84 virtual void prepareTexture();
85 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height);
85 86
86 virtual void synthesizeGLError(WGC3Denum error); 87 virtual void synthesizeGLError(WGC3Denum error);
87 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset, 88 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset,
88 WGC3Dsizeiptr size, WGC3Denum access); 89 WGC3Dsizeiptr size, WGC3Denum access);
89 virtual void unmapBufferSubDataCHROMIUM(const void*); 90 virtual void unmapBufferSubDataCHROMIUM(const void*);
90 virtual void* mapTexSubImage2DCHROMIUM( 91 virtual void* mapTexSubImage2DCHROMIUM(
91 WGC3Denum target, 92 WGC3Denum target,
92 WGC3Dint level, 93 WGC3Dint level,
93 WGC3Dint xoffset, 94 WGC3Dint xoffset,
94 WGC3Dint yoffset, 95 WGC3Dint yoffset,
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 ShHandle fragment_compiler_; 515 ShHandle fragment_compiler_;
515 ShHandle vertex_compiler_; 516 ShHandle vertex_compiler_;
516 gfx::PluginWindowHandle window_; 517 gfx::PluginWindowHandle window_;
517 scoped_refptr<gfx::GLShareGroup> share_group_; 518 scoped_refptr<gfx::GLShareGroup> share_group_;
518 }; 519 };
519 520
520 } // namespace gpu 521 } // namespace gpu
521 } // namespace webkit 522 } // namespace webkit
522 523
523 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 524 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698