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

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

Issue 15688002: Part 1/3 (compositor) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Android build Created 7 years, 7 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 | Annotate | Revision Log
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_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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(); 76 virtual bool isGLES2Compliant();
77 77
78 virtual bool setParentContext(WebGraphicsContext3D* parent_context); 78 virtual bool setParentContext(WebGraphicsContext3D* parent_context);
79 79
80 virtual void reshape(int width, int height); 80 virtual void reshape(int width, int height);
81 virtual void reshapeWithScaleFactor(
82 int width, int height, float scaleFactor);
81 83
82 virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize); 84 virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize);
83 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size, 85 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size,
84 WebGLId framebuffer, int width, int height); 86 WebGLId framebuffer, int width, int height);
85 87
86 virtual WebGLId getPlatformTextureId(); 88 virtual WebGLId getPlatformTextureId();
87 virtual void prepareTexture(); 89 virtual void prepareTexture();
88 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height); 90 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height);
89 91
90 virtual void synthesizeGLError(WGC3Denum error); 92 virtual void synthesizeGLError(WGC3Denum error);
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 ShaderSourceMap shader_source_map_; 568 ShaderSourceMap shader_source_map_;
567 569
568 ShHandle fragment_compiler_; 570 ShHandle fragment_compiler_;
569 ShHandle vertex_compiler_; 571 ShHandle vertex_compiler_;
570 }; 572 };
571 573
572 } // namespace gpu 574 } // namespace gpu
573 } // namespace webkit 575 } // namespace webkit
574 576
575 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 577 #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