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

Side by Side Diff: chrome/renderer/webgraphicscontext3d_command_buffer_impl.h

Issue 6369016: Add GL_CHROMIUM_framebuffer_multisample support to Chromium's... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 5 #ifndef CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
6 #define CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 6 #define CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_GPU) 9 #if defined(ENABLE_GPU)
10 10
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 unsigned type, 357 unsigned type,
358 unsigned access); 358 unsigned access);
359 virtual void unmapTexSubImage2DCHROMIUM(const void*); 359 virtual void unmapTexSubImage2DCHROMIUM(const void*);
360 360
361 virtual void copyTextureToParentTextureCHROMIUM( 361 virtual void copyTextureToParentTextureCHROMIUM(
362 unsigned texture, unsigned parentTexture); 362 unsigned texture, unsigned parentTexture);
363 363
364 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); 364 virtual WebKit::WebString getRequestableExtensionsCHROMIUM();
365 virtual void requestExtensionCHROMIUM(const char*); 365 virtual void requestExtensionCHROMIUM(const char*);
366 366
367 virtual void blitFramebufferCHROMIUM(
368 int srcX0, int srcY0, int srcX1, int srcY1,
369 int dstX0, int dstY0, int dstX1, int dstY1,
370 unsigned mask, unsigned filter);
371 virtual void renderbufferStorageMultisampleCHROMIUM(
372 unsigned long target, int samples, unsigned internalformat,
373 unsigned width, unsigned height);
374
367 virtual unsigned createCompositorTexture(unsigned width, unsigned height); 375 virtual unsigned createCompositorTexture(unsigned width, unsigned height);
368 virtual void deleteCompositorTexture(unsigned parent_texture); 376 virtual void deleteCompositorTexture(unsigned parent_texture);
369 virtual void copyTextureToCompositor(unsigned texture, 377 virtual void copyTextureToCompositor(unsigned texture,
370 unsigned parent_texture); 378 unsigned parent_texture);
371 379
372 ggl::Context* context() { return context_; } 380 ggl::Context* context() { return context_; }
373 381
374 private: 382 private:
375 // SwapBuffers callback; 383 // SwapBuffers callback;
376 void OnSwapBuffers(); 384 void OnSwapBuffers();
(...skipping 20 matching lines...) Expand all
397 scoped_ptr<uint8> scanline_; 405 scoped_ptr<uint8> scanline_;
398 void FlipVertically(uint8* framebuffer, 406 void FlipVertically(uint8* framebuffer,
399 unsigned int width, 407 unsigned int width,
400 unsigned int height); 408 unsigned int height);
401 #endif 409 #endif
402 }; 410 };
403 411
404 #endif // defined(ENABLE_GPU) 412 #endif // defined(ENABLE_GPU)
405 #endif // CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 413 #endif // CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
406 414
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698