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

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

Issue 8680002: Added minimal support to command buffer for GL_ARB_texture_rectangle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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_COMMAND_BUFFER_IMPL_H_ 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 447
448 virtual WebGLId createCompositorTexture(WGC3Dsizei width, WGC3Dsizei height); 448 virtual WebGLId createCompositorTexture(WGC3Dsizei width, WGC3Dsizei height);
449 virtual void deleteCompositorTexture(WebGLId parent_texture); 449 virtual void deleteCompositorTexture(WebGLId parent_texture);
450 virtual void copyTextureToCompositor(WebGLId texture, 450 virtual void copyTextureToCompositor(WebGLId texture,
451 WebGLId parent_texture); 451 WebGLId parent_texture);
452 452
453 virtual void setContextLostCallback( 453 virtual void setContextLostCallback(
454 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback); 454 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback);
455 virtual WGC3Denum getGraphicsResetStatusARB(); 455 virtual WGC3Denum getGraphicsResetStatusARB();
456 456
457 virtual void texImageIOSurface2DCHROMIUM(
458 WGC3Denum target, WGC3Dint width, WGC3Dint height,
459 WGC3Duint ioSurfaceId, WGC3Duint plane);
460
457 protected: 461 protected:
458 #if WEBKIT_USING_SKIA 462 #if WEBKIT_USING_SKIA
459 virtual GrGLInterface* onCreateGrGLInterface(); 463 virtual GrGLInterface* onCreateGrGLInterface();
460 #endif 464 #endif
461 465
462 private: 466 private:
463 // SwapBuffers callback. 467 // SwapBuffers callback.
464 void OnSwapBuffersComplete(); 468 void OnSwapBuffersComplete();
465 virtual void OnContextLost(); 469 virtual void OnContextLost();
466 470
(...skipping 30 matching lines...) Expand all
497 unsigned int width, 501 unsigned int width,
498 unsigned int height); 502 unsigned int height);
499 #endif 503 #endif
500 }; 504 };
501 505
502 } // namespace gpu 506 } // namespace gpu
503 } // namespace webkit 507 } // namespace webkit
504 508
505 #endif // defined(ENABLE_GPU) 509 #endif // defined(ENABLE_GPU)
506 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 510 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698