Home
last modified time | relevance | path

Searched refs:GL_RENDERBUFFER (Results 1 – 25 of 217) sorted by relevance

123456789

/external/angle/src/tests/gl_tests/
DWebGLFramebufferTest.cpp130 glBindRenderbuffer(GL_RENDERBUFFER, renderbuffer); in TEST_P()
131 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, width, height); in TEST_P()
132 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, renderbuffer); in TEST_P()
136 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, 0); in TEST_P()
142 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_STENCIL, width, height); in TEST_P()
143 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
160 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuffer); in testAttachment()
161 glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, *buffer); in testAttachment()
185 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer); in testAttachments()
186 glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachment0, GL_RENDERBUFFER, buffer0); in testAttachments()
[all …]
DRenderbufferMultisampleTest.cpp56 glBindRenderbuffer(GL_RENDERBUFFER, mRenderbuffer); in TEST_P()
57 glRenderbufferStorageMultisample(GL_RENDERBUFFER, 1, GL_RGBA8I, 64, 64); in TEST_P()
67 glGetInternalformativ(GL_RENDERBUFFER, GL_RGBA8I, GL_SAMPLES, 1, &maxSamplesRGBA8I); in TEST_P()
73 glRenderbufferStorageMultisample(GL_RENDERBUFFER, maxSamplesRGBA8I + 1, GL_RGBA8I, 64, 64); in TEST_P()
75 glRenderbufferStorageMultisample(GL_RENDERBUFFER, maxIntegerSamples + 1, GL_RGBA8I, 64, 64); in TEST_P()
91 glBindRenderbuffer(GL_RENDERBUFFER, mRenderbuffer); in TEST_P()
98 glGetInternalformativ(GL_RENDERBUFFER, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, queryBufferSize, in TEST_P()
103 glGetInternalformativ(GL_RENDERBUFFER, GL_RGBA8, GL_SAMPLES, queryBufferSize, in TEST_P()
113 glRenderbufferStorageMultisample(GL_RENDERBUFFER, sampleCounts[i] + 1, GL_RGBA8, 64, in TEST_P()
117 glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_SAMPLES, in TEST_P()
DDepthStencilTest.cpp47 glBindRenderbuffer(GL_RENDERBUFFER, mStencilTexture); in testSetUp()
48 glRenderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, getWindowWidth(), in testSetUp()
50 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
63 glBindRenderbuffer(GL_RENDERBUFFER, mDepthTexture); in testSetUp()
64 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT24, getWindowWidth(), in testSetUp()
66 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
371 glBindRenderbuffer(GL_RENDERBUFFER, depthRenderbuffer); in TEST_P()
372 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT24, getWindowWidth(), in TEST_P()
374 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
406 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in TEST_P()
[all …]
DBlendIntegerTest.cpp69 glBindRenderbuffer(GL_RENDERBUFFER, colorRenderbuffer); in runTest()
70 glRenderbufferStorage(GL_RENDERBUFFER, internalformat, getWindowWidth(), getWindowHeight()); in runTest()
71 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in runTest()
147 glBindRenderbuffer(GL_RENDERBUFFER, colorRenderbuffer1); in runTestMRT()
148 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, getWindowWidth(), getWindowHeight()); in runTestMRT()
149 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_RENDERBUFFER, in runTestMRT()
153 glBindRenderbuffer(GL_RENDERBUFFER, colorRenderbuffer2); in runTestMRT()
154 glRenderbufferStorage(GL_RENDERBUFFER, isSigned ? GL_RGBA32I : GL_RGBA32UI, in runTestMRT()
156 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT2, GL_RENDERBUFFER, in runTestMRT()
160 glBindRenderbuffer(GL_RENDERBUFFER, colorRenderbuffer3); in runTestMRT()
[all …]
DBlitFramebufferANGLETest.cpp95 glBindRenderbuffer(GL_RENDERBUFFER, mUserDepthStencilBuffer); in testSetUp()
96 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8_OES, getWindowWidth(), in testSetUp()
98 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
100 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
115 glBindRenderbuffer(GL_RENDERBUFFER, mSmallDepthStencilBuffer); in testSetUp()
116 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8_OES, getWindowWidth() / 2, in testSetUp()
118 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
120 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
202 glBindRenderbuffer(GL_RENDERBUFFER, mRGBAMultisampledRenderbuffer); in testSetUp()
203 glRenderbufferStorageMultisampleANGLE(GL_RENDERBUFFER, 1, GL_RGBA8, getWindowWidth(), in testSetUp()
[all …]
DClearTest.cpp249 glBindRenderbuffer(GL_RENDERBUFFER, mStencilTexture); in testSetUp()
250 glRenderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, getWindowWidth(), in testSetUp()
252 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
265 glBindRenderbuffer(GL_RENDERBUFFER, mDepthTexture); in testSetUp()
266 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT24, getWindowWidth(), in testSetUp()
268 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
497 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in TEST_P()
498 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGB565, 16, 16); in TEST_P()
502 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in TEST_P()
548 glBindRenderbuffer(GL_RENDERBUFFER, renderbuffer); in TEST_P()
[all …]
DMultisampledRenderToTextureTest.cpp195 glBindRenderbuffer(GL_RENDERBUFFER, renderbuffer); in TEST_P()
198 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, 4, GL_DEPTH_COMPONENT16, 64, 64); in TEST_P()
200 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, 4, GL_STENCIL_INDEX8, 64, 64); in TEST_P()
202 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, 4, GL_RGBA4, 64, 64); in TEST_P()
204 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, 4, GL_RGB5_A1, 64, 64); in TEST_P()
206 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, 4, GL_RGB565, 64, 64); in TEST_P()
212 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, 4, GL_DEPTH24_STENCIL8, 64, 64); in TEST_P()
214 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, 4, GL_RGBA8, 64, 64); in TEST_P()
219 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, mMaxIntegerSamples, GL_RGBA32I, 64, in TEST_P()
222 glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER, mMaxIntegerSamples, GL_RGBA32UI, in TEST_P()
[all …]
/external/deqp/modules/gles3/functional/
Des3fRboStateQueryTests.cpp69 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, paramNames[ndx], &state); in checkRenderbufferComponentSize()
110 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, pname, &state); in checkRenderbufferParam()
119 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, pname, &state); in checkRenderbufferParamGreaterOrEqual()
139 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
152 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGB8, w, h); in test()
174 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
190 glRenderbufferStorage(GL_RENDERBUFFER, requiredColorformats[ndx], 128, 128); in test()
212 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
256 glRenderbufferStorage(GL_RENDERBUFFER, requiredColorFormats[ndx].internalFormat, 128, 128); in test()
280 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
[all …]
Des3fFboStateQueryTests.cpp257 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
258 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGB8, 128, 128); in test()
261 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, renderbufferID); in test()
264 …entParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_RENDERBUFFER); in test()
267 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in test()
431 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
432 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGB8, 128, 128); in test()
435 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, renderbufferID); in test()
440 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in test()
448 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
[all …]
Des3fFboStencilbufferTests.cpp81 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in render()
82 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_size.x(), m_size.y()); in render()
86 glBindRenderbuffer(GL_RENDERBUFFER, depthStencilRbo); in render()
87 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_size.x(), m_size.y()); in render()
92 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
93 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
95 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
175 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in render()
176 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in render()
180 glBindRenderbuffer(GL_RENDERBUFFER, depthStencilRbo); in render()
[all …]
Des3fNegativeBufferApiTests.cpp277 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
278 glRenderbufferStorageMultisample(GL_RENDERBUFFER, 4, GL_RGBA8, 32, 32); in init()
279 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in init()
302 glBindRenderbuffer (GL_RENDERBUFFER, 0); in init()
901 glBindFramebuffer(GL_RENDERBUFFER, 0); in init()
919 glCheckFramebufferStatus(GL_RENDERBUFFER); in init()
960 glFramebufferRenderbuffer(-1, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in init()
965 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
968 glBindRenderbuffer(GL_RENDERBUFFER, 0); in init()
972 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, -1); in init()
[all …]
Des3fFboMultisampleTests.cpp107 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in render()
108 … glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, m_colorFormat, m_size.x(), m_size.y()); in render()
113 glBindRenderbuffer(GL_RENDERBUFFER, depthStencilRbo); in render()
114 …glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, m_depthStencilFormat, m_size.x(), m_siz… in render()
119 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
121 … glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
123 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
269 glGetInternalformativ(GL_RENDERBUFFER, GL_RGBA8, GL_SAMPLES, 1, &maxSamples); in test()
283 glBindRenderbuffer(GL_RENDERBUFFER, rboResolve); in test()
284 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, W2, H2); in test()
[all …]
Des3fFboDepthbufferTests.cpp88 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in render()
89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
91 glBindRenderbuffer(GL_RENDERBUFFER, depthRbo); in render()
92 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_width, m_height); in render()
95 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
96 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthRbo); in render()
178 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in render()
179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
187 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
264 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in render()
[all …]
Des3fFboApiTests.cpp108 case GL_RENDERBUFFER: return "GL_RENDERBUFFER"; in getAttachmentParameterValueName()
236 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in validRboAttachmentsTest()
239 context.framebufferRenderbuffer(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_RENDERBUFFER, rbo); in validRboAttachmentsTest()
256 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in attachToDefaultFramebufferTest()
257 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo); in attachToDefaultFramebufferTest()
300 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in invalidRboAttachmentTest()
306 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo); in invalidRboAttachmentTest()
330 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, reservedRbo… in attachNamesTest()
402 ctx.bindRenderbuffer(GL_RENDERBUFFER, 3); in attachmentQueryRboTest()
403 ctx.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, 3); in attachmentQueryRboTest()
[all …]
/external/deqp/modules/gles2/functional/
Des2fNegativeBufferApiTests.cpp226 glBindFramebuffer(GL_RENDERBUFFER, 0); in init()
244 glCheckFramebufferStatus(GL_RENDERBUFFER); in init()
285 glFramebufferRenderbuffer(-1, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in init()
290 glFramebufferRenderbuffer(GL_FRAMEBUFFER, -1, GL_RENDERBUFFER, 0); in init()
295 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
298 glBindRenderbuffer(GL_RENDERBUFFER, 0); in init()
302 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, -1); in init()
308 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in init()
383 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
393 glRenderbufferStorage(GL_RENDERBUFFER, -1, 1, 1); in init()
[all …]
Des2fRboStateQueryTests.cpp69 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, paramNames[ndx], &state); in checkRenderbufferComponentSize()
98 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, pname, &state); in checkRenderbufferParam()
118 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
131 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, w, h); in test()
138 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in test()
155 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
168 glRenderbufferStorage(GL_RENDERBUFFER, requiredColorformats[ndx], 1, 1); in test()
190 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
209 glRenderbufferStorage(GL_RENDERBUFFER, requiredColorFormats[ndx].internalFormat, 1, 1); in test()
233 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
[all …]
Des2fMultisampledRenderToTextureTests.cpp101 gl.bindRenderbuffer(GL_RENDERBUFFER, depthStencil); in iterate()
102 gl.renderbufferStorageMultisampleEXT(GL_RENDERBUFFER, max_samples, GL_DEPTH24_STENCIL8, 1, 1); in iterate()
103 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencil); in iterate()
104 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencil); in iterate()
130 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in iterate()
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.mm237 gl.bindRenderbuffer(GL_RENDERBUFFER, *m_colorBuffer);
238 if (![getEAGLContext() renderbufferStorage:GL_RENDERBUFFER fromDrawable:(CAEAGLLayer *)m_layer])
242 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &width);
243 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &height);
244 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_RED_SIZE, &pixelFormat.redBits);
245 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_GREEN_SIZE, &pixelFormat.greenBits);
246 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_BLUE_SIZE, &pixelFormat.blueBits);
247 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, &pixelFormat.alphaBits);
252 gl.bindRenderbuffer(GL_RENDERBUFFER, *m_depthStencilBuffer);
253 gl.renderbufferStorage(GL_RENDERBUFFER, depthStencilFormat, width, height);
[all …]
/external/deqp/framework/opengl/
DgluFboRenderContext.cpp242 gl.bindRenderbuffer(GL_RENDERBUFFER, m_colorBuffer); in createFramebuffer()
245 … gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); in createFramebuffer()
247 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in createFramebuffer()
249 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in createFramebuffer()
258 gl.bindRenderbuffer(GL_RENDERBUFFER, m_depthStencilBuffer); in createFramebuffer()
261 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, depthStencilFormat, width, h… in createFramebuffer()
263 gl.renderbufferStorage(GL_RENDERBUFFER, depthStencilFormat, width, height); in createFramebuffer()
265 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in createFramebuffer()
273 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_colorBuffer); in createFramebuffer()
278 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_depthStencilBuf… in createFramebuffer()
[all …]
/external/angle/src/libANGLE/renderer/gl/eagl/
DPbufferSurfaceEAGL.cpp55 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mColorRenderbuffer); in initialize()
56 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize()
59 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDSRenderbuffer); in initialize()
60 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize()
137 functions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in createDefaultFramebuffer()
139 functions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in createDefaultFramebuffer()
/external/angle/src/libANGLE/renderer/gl/cgl/
DPbufferSurfaceCGL.cpp53 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mColorRenderbuffer); in initialize()
54 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize()
57 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDSRenderbuffer); in initialize()
58 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize()
134 functions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in createDefaultFramebuffer()
136 functions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in createDefaultFramebuffer()
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp339 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo); in read_pixels_fbo_format_mismatch()
340 ctx.glRenderbufferStorageMultisample(GL_RENDERBUFFER, 4, GL_RGBA8, 32, 32); in read_pixels_fbo_format_mismatch()
341 ctx.glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in read_pixels_fbo_format_mismatch()
363 ctx.glBindRenderbuffer (GL_RENDERBUFFER, 0); in read_pixels_fbo_format_mismatch()
1051 ctx.glBindFramebuffer(GL_RENDERBUFFER, 0); in bind_framebuffer()
1071 ctx.glCheckFramebufferStatus(GL_RENDERBUFFER); in check_framebuffer_status()
1117 ctx.glFramebufferRenderbuffer(-1, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in framebuffer_renderbuffer()
1122 ctx.glFramebufferRenderbuffer(GL_FRAMEBUFFER, -1, GL_RENDERBUFFER, 0); in framebuffer_renderbuffer()
1127 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo); in framebuffer_renderbuffer()
1130 ctx.glBindRenderbuffer(GL_RENDERBUFFER, 0); in framebuffer_renderbuffer()
[all …]
/external/angle/src/libANGLE/renderer/gl/
DRenderbufferGL.cpp51 stateManager->bindRenderbuffer(GL_RENDERBUFFER, mRenderbufferID); in setStorage()
56 context, functions->renderbufferStorage(GL_RENDERBUFFER, renderbufferFormat.internalFormat, in setStorage()
75 stateManager->bindRenderbuffer(GL_RENDERBUFFER, mRenderbufferID); in setStorageMultisample()
82 GL_RENDERBUFFER, samples, in setStorageMultisample()
94 GL_RENDERBUFFER, samples, renderbufferFormat.internalFormat, width, height)); in setStorageMultisample()
102 GL_RENDERBUFFER, samples, renderbufferFormat.internalFormat, width, height)); in setStorageMultisample()
/external/angle/src/tests/perf_tests/
DClearPerf.cpp135 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in drawBenchmark()
136 glRenderbufferStorage(GL_RENDERBUFFER, params.internalFormat, params.fboSize, params.fboSize); in drawBenchmark()
139 glBindRenderbuffer(GL_RENDERBUFFER, depthRbo); in drawBenchmark()
140 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, params.fboSize, params.fboSize); in drawBenchmark()
144 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in drawBenchmark()
145 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthRbo); in drawBenchmark()
/external/deqp/external/openglcts/modules/common/
DglcFramebufferCompleteness.cpp113 gl.bindRenderbuffer(GL_RENDERBUFFER, rboId); in renderbufferStorage()
117 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in renderbufferStorage()
124 gl.bindRenderbuffer(GL_RENDERBUFFER, rboId); in renderbufferStorageMultisample()
128 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in renderbufferStorageMultisample()
224 …testContext.renderbufferStorageMultisample(testContext.rboIds[0], GL_RENDERBUFFER, 1, GL_RGBA8, TE… in isDifferentRboSampleCountsSupported()
225 gl.bindRenderbuffer(GL_RENDERBUFFER, testContext.rboIds[0]); in isDifferentRboSampleCountsSupported()
229 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_SAMPLES, &minSamplesRbo); in isDifferentRboSampleCountsSupported()
231 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in isDifferentRboSampleCountsSupported()
659 …context.renderbufferStorage(context.rboIds[0], GL_RENDERBUFFER, GL_RGBA8, TEXTURE_WIDTH, TEXTURE_H… in __anon42c6949f1f02()
660 …context.renderbufferStorage(context.rboIds[1], GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, TEXTURE_WIDTH, in __anon42c6949f1f02()
[all …]

123456789