/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | WebGLLoseContext.cpp | 62 m_context->forceLostContext(WebGLRenderingContextBase::WebGLLoseContextLostContext, WebGLRenderingContextBase::Manual); 68 m_context->forceRestoreContext();
|
H A D | WebGLDrawBuffers.cpp | 70 if (!m_context->m_framebufferBinding) { 72 m_context->synthesizeGLError(GL_INVALID_VALUE, "drawBuffersWEBGL", "more than one buffer"); 76 m_context->synthesizeGLError(GL_INVALID_OPERATION, "drawBuffersWEBGL", "BACK or NONE"); 81 m_context->webContext()->drawBuffersEXT(1, &value); 82 m_context->setBackDrawBuffer(bufs[0]); 84 if (n > m_context->maxDrawBuffers()) { 85 m_context->synthesizeGLError(GL_INVALID_VALUE, "drawBuffersWEBGL", "more than max draw buffers"); 90 m_context->synthesizeGLError(GL_INVALID_OPERATION, "drawBuffersWEBGL", "COLOR_ATTACHMENTi_EXT or NONE"); 94 m_context->m_framebufferBinding->drawBuffers(buffers);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | AudioSummingJunction.h | 47 AudioContext* context() { return m_context.get(); } 66 Member<AudioContext> m_context; member in class:blink::AudioSummingJunction
|
/external/deqp/framework/platform/osx/ |
H A D | tcuOSXPlatform.cpp | 82 CGLContextObj m_context; member in class:tcu::CGLRenderContext 112 , m_context (DE_NULL) 132 if (CGLCreateContext(pixelFormat, DE_NULL, &m_context) != kCGLNoError) 135 if (CGLSetCurrentContext(m_context) != kCGLNoError) 159 if (m_context) 162 CGLDestroyContext(m_context); 171 if (m_context) 172 CGLDestroyContext(m_context);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderExecuteTest.cpp | 56 gls::ShaderLibrary shaderLibrary(m_testCtx, m_context.getRenderContext(), m_context.getContextInfo());
|
H A D | es2fColorClearTest.cpp | 103 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 104 const tcu::RenderTarget& renderTarget = m_context.getRenderTarget(); 232 glu::readPixels(m_context.getRenderContext(), 0, 0, resImage.getAccess()); 308 addChild(new ColorClearCase(m_context, "single_rgb", 30, 1,3, false, false, false, true )); 309 addChild(new ColorClearCase(m_context, "single_rgba", 30, 1,3, true, false, false, true )); 310 addChild(new ColorClearCase(m_context, "multiple_rgb", 15, 4,20, false, false, false, true )); 311 addChild(new ColorClearCase(m_context, "multiple_rgba", 15, 4,20, true, false, false, true )); 312 addChild(new ColorClearCase(m_context, "long_rgb", 2, 100,500, false, false, false, true )); 313 addChild(new ColorClearCase(m_context, "long_rgba", 2, 100,500, true, false, false, true )); 314 addChild(new ColorClearCase(m_context, "subclears_rg [all...] |
H A D | es2fReadPixelsTests.cpp | 92 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); 244 if (m_context.getRenderTarget().getNumSamples() > 1) 247 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); 248 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); 249 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); 250 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); 260 const float redThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); 261 const float greenThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); 262 const float blueThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); 263 const float alphaThreshold = 2.0f / (1 << deMin32(m_context [all...] |
/external/deqp/modules/gles2/ |
H A D | tes2TestPackage.hpp | 43 Context& getContext (void) { return *m_context; } 47 Context* m_context; member in class:deqp::gles2::PackageContext
|
/external/deqp/modules/gles3/ |
H A D | tes3TestPackage.hpp | 43 Context& getContext (void) { return *m_context; } 47 Context* m_context; member in class:deqp::gles3::PackageContext
|
/external/deqp/modules/gles31/ |
H A D | tes31TestPackage.hpp | 43 Context& getContext (void) { return *m_context; } 47 Context* m_context; member in class:deqp::gles31::PackageContext
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fColorClearTest.cpp | 103 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 104 const tcu::RenderTarget& renderTarget = m_context.getRenderTarget(); 232 glu::readPixels(m_context.getRenderContext(), 0, 0, resImage.getAccess()); 308 addChild(new ColorClearCase(m_context, "single_rgb", 30, 1,3, false, false, false, true )); 309 addChild(new ColorClearCase(m_context, "single_rgba", 30, 1,3, true, false, false, true )); 310 addChild(new ColorClearCase(m_context, "multiple_rgb", 15, 4,20, false, false, false, true )); 311 addChild(new ColorClearCase(m_context, "multiple_rgba", 15, 4,20, true, false, false, true )); 312 addChild(new ColorClearCase(m_context, "long_rgb", 2, 100,500, false, false, false, true )); 313 addChild(new ColorClearCase(m_context, "long_rgba", 2, 100,500, true, false, false, true )); 314 addChild(new ColorClearCase(m_context, "subclears_rg [all...] |
H A D | es3fOcclusionQueryTests.cpp | 167 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSource, fragShaderSource)); 190 const tcu::RenderTarget& renderTarget = m_context.getRenderTarget(); 388 glu::readPixels(m_context.getRenderContext(), 0, 0, pixels.getAccess()); 449 addChild(new OcclusionQueryCase(m_context, "scissor", "scissor", 1, 10, 1.6f, 1, 1, 0.3f, GL_ANY_SAMPLES_PASSED, OCCLUDER_SCISSOR)); 450 addChild(new OcclusionQueryCase(m_context, "depth_write", "depth_write", 8, 10, 1.6f, 1, 7, 0.3f, GL_ANY_SAMPLES_PASSED, OCCLUDER_DEPTH_WRITE)); 451 addChild(new OcclusionQueryCase(m_context, "depth_clear", "depth_clear", 5, 10, 1.6f, 1, 5, 0.2f, GL_ANY_SAMPLES_PASSED, OCCLUDER_DEPTH_CLEAR)); 452 addChild(new OcclusionQueryCase(m_context, "stencil_write", "stencil_write", 8, 10, 2.0f, 1, 5, 0.4f, GL_ANY_SAMPLES_PASSED, OCCLUDER_STENCIL_WRITE)); 453 addChild(new OcclusionQueryCase(m_context, "stencil_clear", "stencil_clear", 5, 10, 2.0f, 1, 3, 0.3f, GL_ANY_SAMPLES_PASSED, OCCLUDER_STENCIL_CLEAR)); 455 addChild(new OcclusionQueryCase(m_context, "scissor_depth_write", "scissor_depth_write", 5, 10, 1.6f, 2, 5, 0.3f, GL_ANY_SAMPLES_PASSED, OCCLUDER_SCISSOR | OCCLUDER_DEPTH_WRITE)); 456 addChild(new OcclusionQueryCase(m_context, "scissor_depth_clea [all...] |
H A D | es3fCompressedTextureTests.cpp | 67 TestCaseGroup* const astcGroup = new TestCaseGroup(m_context, "astc", "ASTC Tests"); 75 TestCaseGroup* const testTypeGroup = new TestCaseGroup(m_context, getBlockTestTypeName(astcTestType), getBlockTestTypeDescription(astcTestType)); 87 testTypeGroup->addChild(new ASTCBlockCase2D(m_context, getASTCFormatShortName(format).c_str(), glu::getCompressedTexFormatName(glu::getGLFormat(format)), astcTestType, format)); 94 TestCaseGroup* const blockSizeRemainderGroup = new TestCaseGroup(m_context, "block_size_remainder", "Test image size/block size remainders"); 104 blockSizeRemainderGroup->addChild(new ASTCBlockSizeRemainderCase2D(m_context, getASTCFormatShortName(format).c_str(), glu::getCompressedTexFormatName(glu::getGLFormat(format)), format));
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | ExceptionState.cpp | 171 if (propertyName() && interfaceName() && m_context != UnknownContext) { 172 if (m_context == DeletionContext) 174 else if (m_context == ExecutionContext) 176 else if (m_context == GetterContext) 178 else if (m_context == SetterContext) 181 if (m_context == ConstructionContext) 183 else if (m_context == EnumerationContext) 185 else if (m_context == IndexedDeletionContext) 187 else if (m_context == IndexedGetterContext) 189 else if (m_context [all...] |
H A D | ExceptionState.h | 65 , m_context(context) 73 , m_context(context) 77 , m_isolate(isolate) { ASSERT(m_context == ConstructionContext || m_context == EnumerationContext || m_context == IndexedSetterContext || m_context == IndexedGetterContext || m_context == IndexedDeletionContext); } 101 Context context() const { return m_context; } 112 Context m_context; member in class:blink::ExceptionState
|
/external/deqp/framework/platform/win32/ |
H A D | tcuWGLContextFactory.cpp | 50 : m_context(context) 56 return (glw::GenericFuncType)m_context.getGLFunction(name); 60 const wgl::Context& m_context; member in class:tcu::__anon19773::WGLFunctionLoader 81 wgl::Context* m_context; member in class:tcu::__anon19773::WGLContext 92 , m_context (DE_NULL) 109 m_context = new wgl::Context(&wglCore, deviceCtx, config.type, pixelFormat); 124 WGLFunctionLoader funcLoader(*m_context); 136 delete m_context; 143 delete m_context; 148 m_context [all...] |
H A D | tcuWin32GLES3Platform.cpp | 77 gl3Context* m_context; member in class:tcu::Win32GLES3Context 89 , m_context (DE_NULL) 101 m_context = gl3Context_create(&m_platformCtx); 102 if (!m_context) 105 gl3Context_setCurrentContext(m_context); 122 if (m_context) 123 gl3Context_destroy(m_context); 131 if (m_context) 132 gl3Context_destroy(m_context);
|
/external/deqp/framework/opengl/ |
H A D | gluTexture.cpp | 53 : m_context (context) 64 : m_context (context) 77 m_context.getFunctions().deleteTextures(1, &m_glTexture); 82 const glw::Functions& gl = m_context.getFunctions(); 106 : m_context (context) 118 : m_context (context) 130 : m_context (context) 158 m_context.getFunctions().deleteTextures(1, &m_glTexture); 163 const glw::Functions& gl = m_context.getFunctions(); 189 const glw::Functions& gl = m_context [all...] |
H A D | gluContextInfo.cpp | 72 bool isVertexUniformLoopSupported (void) const { return m_vertexUniformLoopsSupported.getValue(m_context); } 73 bool isVertexDynamicLoopSupported (void) const { return m_vertexDynamicLoopsSupported.getValue(m_context); } 74 bool isFragmentHighPrecisionSupported (void) const { return m_fragmentHighPrecisionSupported.getValue(m_context); } 75 bool isFragmentUniformLoopSupported (void) const { return m_fragmentUniformLoopsSupported.getValue(m_context); } 76 bool isFragmentDynamicLoopSupported (void) const { return m_fragmentDynamicLoopsSupported.getValue(m_context); } 217 : m_context(context) 228 m_context.getFunctions().getIntegerv(param, &val); 229 GLU_EXPECT_NO_ERROR(m_context.getFunctions().getError(), "glGetIntegerv() failed"); 236 m_context.getFunctions().getBooleanv(param, &val); 237 GLU_EXPECT_NO_ERROR(m_context [all...] |
/external/deqp/modules/gles2/stress/ |
H A D | es2sLongRunningTests.cpp | 109 TestCaseGroup* const bufferGroup = new TestCaseGroup(m_context, "buffer", "Buffer stress tests"); 118 bufferGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 176 TestCaseGroup* const textureGroup = new TestCaseGroup(m_context, "texture", "Texture stress tests"); 186 textureGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 232 TestCaseGroup* const drawCallGroup = new TestCaseGroup(m_context, "draw_call", "Draw call stress tests"); 237 drawCallGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 269 TestCaseGroup* const shaderGroup = new TestCaseGroup(m_context, "progra [all...] |
/external/deqp/modules/gles3/stress/ |
H A D | es3sLongRunningTests.cpp | 109 TestCaseGroup* const bufferGroup = new TestCaseGroup(m_context, "buffer", "Buffer stress tests"); 118 bufferGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 176 TestCaseGroup* const textureGroup = new TestCaseGroup(m_context, "texture", "Texture stress tests"); 186 textureGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 232 TestCaseGroup* const drawCallGroup = new TestCaseGroup(m_context, "draw_call", "Draw call stress tests"); 237 drawCallGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 269 TestCaseGroup* const shaderGroup = new TestCaseGroup(m_context, "progra [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGTextLayoutAttributes.h | 54 RenderSVGInlineText* context() const { return m_context; } 63 RenderSVGInlineText* m_context; member in class:blink::SVGTextLayoutAttributes
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | SkiaImageFilterBuilder.h | 62 GraphicsContext* context() { return m_context; } 66 GraphicsContext* m_context; member in class:blink::SkiaImageFilterBuilder
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | ConsoleMessageStorage.cpp | 18 , m_context(context) 25 , m_context(nullptr) 94 return m_frame ? m_frame->document() : m_context; 100 visitor->trace(m_context);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | LifecycleNotifier.h | 61 , m_context(context) 65 Context* context() const { return m_context; } 83 Context* m_context; member in class:blink::LifecycleNotifier 93 ASSERT(observer->lifecycleContext() == m_context);
|