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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: fix windows build Created 5 years, 5 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 GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 void DeleteValuebuffersCHROMIUMHelper(GLsizei n, const GLuint* valuebuffers); 503 void DeleteValuebuffersCHROMIUMHelper(GLsizei n, const GLuint* valuebuffers);
504 void DeleteSamplersHelper(GLsizei n, const GLuint* samplers); 504 void DeleteSamplersHelper(GLsizei n, const GLuint* samplers);
505 void DeleteTransformFeedbacksHelper( 505 void DeleteTransformFeedbacksHelper(
506 GLsizei n, const GLuint* transformfeedbacks); 506 GLsizei n, const GLuint* transformfeedbacks);
507 void DeleteSyncHelper(GLsync sync); 507 void DeleteSyncHelper(GLsync sync);
508 508
509 void DeleteBuffersStub(GLsizei n, const GLuint* buffers); 509 void DeleteBuffersStub(GLsizei n, const GLuint* buffers);
510 void DeleteFramebuffersStub(GLsizei n, const GLuint* framebuffers); 510 void DeleteFramebuffersStub(GLsizei n, const GLuint* framebuffers);
511 void DeleteRenderbuffersStub(GLsizei n, const GLuint* renderbuffers); 511 void DeleteRenderbuffersStub(GLsizei n, const GLuint* renderbuffers);
512 void DeleteTexturesStub(GLsizei n, const GLuint* textures); 512 void DeleteTexturesStub(GLsizei n, const GLuint* textures);
513 void DeletePathsCHROMIUMStub(GLuint first_client_id, GLsizei range);
513 void DeleteProgramStub(GLsizei n, const GLuint* programs); 514 void DeleteProgramStub(GLsizei n, const GLuint* programs);
514 void DeleteShaderStub(GLsizei n, const GLuint* shaders); 515 void DeleteShaderStub(GLsizei n, const GLuint* shaders);
515 void DeleteVertexArraysOESStub(GLsizei n, const GLuint* arrays); 516 void DeleteVertexArraysOESStub(GLsizei n, const GLuint* arrays);
516 void DeleteValuebuffersCHROMIUMStub(GLsizei n, const GLuint* valuebuffers); 517 void DeleteValuebuffersCHROMIUMStub(GLsizei n, const GLuint* valuebuffers);
517 void DeleteSamplersStub(GLsizei n, const GLuint* samplers); 518 void DeleteSamplersStub(GLsizei n, const GLuint* samplers);
518 void DeleteTransformFeedbacksStub( 519 void DeleteTransformFeedbacksStub(
519 GLsizei n, const GLuint* transformfeedbacks); 520 GLsizei n, const GLuint* transformfeedbacks);
520 void DeleteSyncStub(GLsizei n, const GLuint* syncs); 521 void DeleteSyncStub(GLsizei n, const GLuint* syncs);
521 522
522 void BufferDataHelper( 523 void BufferDataHelper(
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 bool GetTexParameterfvHelper(GLenum target, GLenum pname, GLfloat* params); 587 bool GetTexParameterfvHelper(GLenum target, GLenum pname, GLfloat* params);
587 bool GetTexParameterivHelper(GLenum target, GLenum pname, GLint* params); 588 bool GetTexParameterivHelper(GLenum target, GLenum pname, GLint* params);
588 const GLubyte* GetStringHelper(GLenum name); 589 const GLubyte* GetStringHelper(GLenum name);
589 590
590 bool IsExtensionAvailable(const char* ext); 591 bool IsExtensionAvailable(const char* ext);
591 592
592 // Caches certain capabilties state. Return true if cached. 593 // Caches certain capabilties state. Return true if cached.
593 bool SetCapabilityState(GLenum cap, bool enabled); 594 bool SetCapabilityState(GLenum cap, bool enabled);
594 595
595 IdHandlerInterface* GetIdHandler(int id_namespace) const; 596 IdHandlerInterface* GetIdHandler(int id_namespace) const;
597 RangeIdHandlerInterface* GetRangeIdHandler(int id_namespace) const;
596 // IdAllocators for objects that can't be shared among contexts. 598 // IdAllocators for objects that can't be shared among contexts.
597 // For now, used only for Queries. TODO(hj.r.chung) Should be added for 599 // For now, used only for Queries. TODO(hj.r.chung) Should be added for
598 // Framebuffer and Vertex array objects. 600 // Framebuffer and Vertex array objects.
599 IdAllocator* GetIdAllocator(int id_namespace) const; 601 IdAllocator* GetIdAllocator(int id_namespace) const;
600 602
601 void FinishHelper(); 603 void FinishHelper();
602 void FlushHelper(); 604 void FlushHelper();
603 605
604 void RunIfContextNotLost(const base::Closure& callback); 606 void RunIfContextNotLost(const base::Closure& callback);
605 607
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 849
848 inline bool GLES2Implementation::GetTexParameterivHelper( 850 inline bool GLES2Implementation::GetTexParameterivHelper(
849 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 851 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
850 return false; 852 return false;
851 } 853 }
852 854
853 } // namespace gles2 855 } // namespace gles2
854 } // namespace gpu 856 } // namespace gpu
855 857
856 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 858 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698