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

Side by Side Diff: src/gpu/gl/GrGLDefines.h

Issue 211683002: Add discard API to SkCanvas, plumb it to glDiscardFramebuffer() (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: move to ToT Created 6 years, 9 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 | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGpuGL.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 9
10 #ifndef GrGLDefines_DEFINED 10 #ifndef GrGLDefines_DEFINED
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 #define GR_GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 684 #define GR_GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
685 #define GR_GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 685 #define GR_GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
686 #define GR_GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 686 #define GR_GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
687 #define GR_GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 687 #define GR_GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
688 #define GR_GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 688 #define GR_GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
689 689
690 #define GR_GL_COLOR_ATTACHMENT0 0x8CE0 690 #define GR_GL_COLOR_ATTACHMENT0 0x8CE0
691 #define GR_GL_DEPTH_ATTACHMENT 0x8D00 691 #define GR_GL_DEPTH_ATTACHMENT 0x8D00
692 #define GR_GL_STENCIL_ATTACHMENT 0x8D20 692 #define GR_GL_STENCIL_ATTACHMENT 0x8D20
693 693
694 // GL_EXT_discard_framebuffer
695 #define GR_GL_COLOR 0x1800
696 #define GR_GL_DEPTH 0x1801
697 #define GR_GL_STENCIL 0x1802
698
694 #define GR_GL_NONE 0 699 #define GR_GL_NONE 0
695 700
696 #define GR_GL_FRAMEBUFFER_COMPLETE 0x8CD5 701 #define GR_GL_FRAMEBUFFER_COMPLETE 0x8CD5
697 #define GR_GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 702 #define GR_GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
698 #define GR_GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 703 #define GR_GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
699 #define GR_GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 704 #define GR_GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9
700 #define GR_GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD 705 #define GR_GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
701 706
702 #define GR_GL_FRAMEBUFFER_BINDING 0x8CA6 707 #define GR_GL_FRAMEBUFFER_BINDING 0x8CA6
703 #define GR_GL_RENDERBUFFER_BINDING 0x8CA7 708 #define GR_GL_RENDERBUFFER_BINDING 0x8CA7
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 #define GR_GL_ADJACENT_PAIRS 0x90AE 882 #define GR_GL_ADJACENT_PAIRS 0x90AE
878 #define GR_GL_FIRST_TO_REST 0x90AF 883 #define GR_GL_FIRST_TO_REST 0x90AF
879 884
880 //path gen modes 885 //path gen modes
881 #define GR_GL_PATH_GEN_MODE 0x90B0 886 #define GR_GL_PATH_GEN_MODE 0x90B0
882 #define GR_GL_PATH_GEN_COEFF 0x90B1 887 #define GR_GL_PATH_GEN_COEFF 0x90B1
883 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 888 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2
884 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 889 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3
885 890
886 #endif 891 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGpuGL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698