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

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: 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 <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 void DeleteValuebuffersCHROMIUMHelper(GLsizei n, const GLuint* valuebuffers); 507 void DeleteValuebuffersCHROMIUMHelper(GLsizei n, const GLuint* valuebuffers);
508 void DeleteSamplersHelper(GLsizei n, const GLuint* samplers); 508 void DeleteSamplersHelper(GLsizei n, const GLuint* samplers);
509 void DeleteTransformFeedbacksHelper( 509 void DeleteTransformFeedbacksHelper(
510 GLsizei n, const GLuint* transformfeedbacks); 510 GLsizei n, const GLuint* transformfeedbacks);
511 void DeleteSyncHelper(GLsync sync); 511 void DeleteSyncHelper(GLsync sync);
512 512
513 void DeleteBuffersStub(GLsizei n, const GLuint* buffers); 513 void DeleteBuffersStub(GLsizei n, const GLuint* buffers);
514 void DeleteFramebuffersStub(GLsizei n, const GLuint* framebuffers); 514 void DeleteFramebuffersStub(GLsizei n, const GLuint* framebuffers);
515 void DeleteRenderbuffersStub(GLsizei n, const GLuint* renderbuffers); 515 void DeleteRenderbuffersStub(GLsizei n, const GLuint* renderbuffers);
516 void DeleteTexturesStub(GLsizei n, const GLuint* textures); 516 void DeleteTexturesStub(GLsizei n, const GLuint* textures);
517 void DeletePathsCHROMIUMStub(GLuint first_client_id, GLsizei range);
517 void DeleteProgramStub(GLsizei n, const GLuint* programs); 518 void DeleteProgramStub(GLsizei n, const GLuint* programs);
518 void DeleteShaderStub(GLsizei n, const GLuint* shaders); 519 void DeleteShaderStub(GLsizei n, const GLuint* shaders);
519 void DeleteVertexArraysOESStub(GLsizei n, const GLuint* arrays); 520 void DeleteVertexArraysOESStub(GLsizei n, const GLuint* arrays);
520 void DeleteValuebuffersCHROMIUMStub(GLsizei n, const GLuint* valuebuffers); 521 void DeleteValuebuffersCHROMIUMStub(GLsizei n, const GLuint* valuebuffers);
521 void DeleteSamplersStub(GLsizei n, const GLuint* samplers); 522 void DeleteSamplersStub(GLsizei n, const GLuint* samplers);
522 void DeleteTransformFeedbacksStub( 523 void DeleteTransformFeedbacksStub(
523 GLsizei n, const GLuint* transformfeedbacks); 524 GLsizei n, const GLuint* transformfeedbacks);
524 void DeleteSyncStub(GLsizei n, const GLuint* syncs); 525 void DeleteSyncStub(GLsizei n, const GLuint* syncs);
525 526
526 void BufferDataHelper( 527 void BufferDataHelper(
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 bool GetTexParameterfvHelper(GLenum target, GLenum pname, GLfloat* params); 591 bool GetTexParameterfvHelper(GLenum target, GLenum pname, GLfloat* params);
591 bool GetTexParameterivHelper(GLenum target, GLenum pname, GLint* params); 592 bool GetTexParameterivHelper(GLenum target, GLenum pname, GLint* params);
592 const GLubyte* GetStringHelper(GLenum name); 593 const GLubyte* GetStringHelper(GLenum name);
593 594
594 bool IsExtensionAvailable(const char* ext); 595 bool IsExtensionAvailable(const char* ext);
595 596
596 // Caches certain capabilties state. Return true if cached. 597 // Caches certain capabilties state. Return true if cached.
597 bool SetCapabilityState(GLenum cap, bool enabled); 598 bool SetCapabilityState(GLenum cap, bool enabled);
598 599
599 IdHandlerInterface* GetIdHandler(int id_namespace) const; 600 IdHandlerInterface* GetIdHandler(int id_namespace) const;
601 RangeIdHandlerInterface* GetRangeIdHandler(int id_namespace) const;
600 // IdAllocators for objects that can't be shared among contexts. 602 // IdAllocators for objects that can't be shared among contexts.
601 // For now, used only for Queries. TODO(hj.r.chung) Should be added for 603 // For now, used only for Queries. TODO(hj.r.chung) Should be added for
602 // Framebuffer and Vertex array objects. 604 // Framebuffer and Vertex array objects.
603 IdAllocator* GetIdAllocator(int id_namespace) const; 605 IdAllocator* GetIdAllocator(int id_namespace) const;
604 606
605 void FinishHelper(); 607 void FinishHelper();
606 void FlushHelper(); 608 void FlushHelper();
607 609
608 void RunIfContextNotLost(const base::Closure& callback); 610 void RunIfContextNotLost(const base::Closure& callback);
609 611
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 853
852 inline bool GLES2Implementation::GetTexParameterivHelper( 854 inline bool GLES2Implementation::GetTexParameterivHelper(
853 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 855 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
854 return false; 856 return false;
855 } 857 }
856 858
857 } // namespace gles2 859 } // namespace gles2
858 } // namespace gpu 860 } // namespace gpu
859 861
860 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 862 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698