diff options
author | 2012-02-07 15:57:36 +0000 | |
---|---|---|
committer | 2012-02-07 15:57:36 +0000 | |
commit | 0439e569969d560e1c6d1716c8cb3d29b82305f9 (patch) | |
tree | bc874c40171eeb92c1424cb45f1aa0e9f7fe188a /include | |
parent | aa6773557919fc9640e0873b7e87d4138aa2a6ad (diff) |
revert 3144
git-svn-id: http://skia.googlecode.com/svn/trunk@3145 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrGLConfig.h | 33 | ||||
-rw-r--r-- | include/gpu/GrGLConfig_chrome.h | 3 | ||||
-rw-r--r-- | include/gpu/GrTypes.h | 2 |
3 files changed, 11 insertions, 27 deletions
diff --git a/include/gpu/GrGLConfig.h b/include/gpu/GrGLConfig.h index 5ae931c607..167c8eb072 100644 --- a/include/gpu/GrGLConfig.h +++ b/include/gpu/GrGLConfig.h @@ -92,61 +92,50 @@ * amounts to ensuring the error is GL_NO_ERROR, calling the allocating * function, and then checking that the error is still GL_NO_ERROR. When the * value is 0 we will assume no error was generated without checking. - * - * GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT: We will normally check the FBO status - * every time we bind a texture or renderbuffer to an FBO. However, in some - * environments CheckFrameBufferStatus is very expensive. If this is set we will - * check the first time we use a color format or a combination of color / - * stencil formats as attachments. If the FBO is complete we will assume - * subsequent attachments with the same formats are complete as well. */ #if !defined(GR_GL_LOG_CALLS) - #define GR_GL_LOG_CALLS GR_DEBUG + #define GR_GL_LOG_CALLS GR_DEBUG #endif #if !defined(GR_GL_LOG_CALLS_START) - #define GR_GL_LOG_CALLS_START 0 + #define GR_GL_LOG_CALLS_START 0 #endif #if !defined(GR_GL_CHECK_ERROR) - #define GR_GL_CHECK_ERROR GR_DEBUG + #define GR_GL_CHECK_ERROR GR_DEBUG #endif #if !defined(GR_GL_CHECK_ERROR_START) - #define GR_GL_CHECK_ERROR_START 1 + #define GR_GL_CHECK_ERROR_START 1 #endif #if !defined(GR_GL_NO_CONSTANT_ATTRIBUTES) - #define GR_GL_NO_CONSTANT_ATTRIBUTES 0 + #define GR_GL_NO_CONSTANT_ATTRIBUTES 0 #endif #if !defined(GR_GL_ATTRIBUTE_MATRICES) - #define GR_GL_ATTRIBUTE_MATRICES 0 + #define GR_GL_ATTRIBUTE_MATRICES 0 #endif #if !defined(GR_GL_USE_BUFFER_DATA_NULL_HINT) - #define GR_GL_USE_BUFFER_DATA_NULL_HINT 1 + #define GR_GL_USE_BUFFER_DATA_NULL_HINT 1 #endif #if !defined(GR_GL_PER_GL_FUNC_CALLBACK) - #define GR_GL_PER_GL_FUNC_CALLBACK 0 + #define GR_GL_PER_GL_FUNC_CALLBACK 0 #endif #if !defined(GR_GL_RGBA_8888_PIXEL_OPS_SLOW) - #define GR_GL_RGBA_8888_PIXEL_OPS_SLOW 0 + #define GR_GL_RGBA_8888_PIXEL_OPS_SLOW 0 #endif #if !defined(GR_GL_FULL_READPIXELS_FASTER_THAN_PARTIAL) - #define GR_GL_FULL_READPIXELS_FASTER_THAN_PARTIAL 0 + #define GR_GL_FULL_READPIXELS_FASTER_THAN_PARTIAL 0 #endif #if !defined(GR_GL_CHECK_ALLOC_WITH_GET_ERROR) - #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 1 -#endif - -#if !defined(GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT) - #define GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT 0 + #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 1 #endif #if(GR_GL_NO_CONSTANT_ATTRIBUTES) && (GR_GL_ATTRIBUTE_MATRICES) diff --git a/include/gpu/GrGLConfig_chrome.h b/include/gpu/GrGLConfig_chrome.h index 50ea34c6d3..2bae14579e 100644 --- a/include/gpu/GrGLConfig_chrome.h +++ b/include/gpu/GrGLConfig_chrome.h @@ -31,7 +31,4 @@ // compositor also doesn't check its allocations. #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0 -// CheckFramebufferStatus in chrome synchronizes the gpu and renderer processes. -#define GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT 1 - #endif diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index f6809d6ca4..9f245d944a 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -301,8 +301,6 @@ enum GrPixelConfig { * Unpremultiplied. Byte order is b,g,r,a */ kBGRA_8888_UPM_GrPixelConfig, - - kGrPixelConfigCount }; // Aliases for pixel configs that match skia's byte order |