diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-11-18 18:15:42 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-11-18 18:15:42 +0000 |
commit | 598a1ff72ae06d96b53540307777be665800cece (patch) | |
tree | fce4623cd279d690510f4d18b971da72c6511eca /include/gpu/GrGLConfig_chrome.h | |
parent | 9998c669300281b5682fce72b036c1a6a619a44e (diff) |
Write direct to RT/Tex when possible, use BGRA rather than RGBA intermediate texture on ANGLE
Review URL: http://codereview.appspot.com/5417046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2714 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrGLConfig_chrome.h')
-rw-r--r-- | include/gpu/GrGLConfig_chrome.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpu/GrGLConfig_chrome.h b/include/gpu/GrGLConfig_chrome.h index 79324ab511..72d330acc5 100644 --- a/include/gpu/GrGLConfig_chrome.h +++ b/include/gpu/GrGLConfig_chrome.h @@ -14,8 +14,8 @@ // ANGLE creates a temp VB for vertex attributes not specified per-vertex. #define GR_GL_NO_CONSTANT_ATTRIBUTES GR_WIN32_BUILD -// RGBA Readbacks are a slow path in ANGLE -#define GR_GL_RGBA_8888_READBACK_SLOW GR_WIN32_BUILD +// For RGBA teximage/readpixels ANGLE will sw-convert to/from BGRA. +#define GR_GL_RGBA_8888_PIXEL_OPS_SLOW GR_WIN32_BUILD // cmd buffer allocates memory and memsets it to zero when it sees glBufferData // with NULL. |