Home
last modified time | relevance | path

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

1234

/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 …]
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 …]
Des3fFboInvalidateTests.cpp478 glBindRenderbuffer (GL_RENDERBUFFER, colorRbo); in render()
479 glRenderbufferStorage (GL_RENDERBUFFER, m_colorFmt, getWidth(), getHeight()); in render()
484 glBindRenderbuffer (GL_RENDERBUFFER, depthStencilRbo); in render()
485 glRenderbufferStorage (GL_RENDERBUFFER, m_depthStencilFmt, getWidth(), getHeight()); in render()
490 glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
493 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
496 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
726 glBindRenderbuffer (GL_RENDERBUFFER, colorRbo); in render()
727 …glRenderbufferStorageMultisample (GL_RENDERBUFFER, m_numSamples, m_colorFmt, quadSizePixels.x(), q… in render()
732 glBindRenderbuffer (GL_RENDERBUFFER, depthStencilRbo); in render()
[all …]
Des3fFboMultisampleTests.cpp106 glBindRenderbuffer(GL_RENDERBUFFER, colorRbo); in render()
107 … glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, m_colorFormat, m_size.x(), m_size.y()); in render()
112 glBindRenderbuffer(GL_RENDERBUFFER, depthStencilRbo); in render()
113 …glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, m_depthStencilFormat, m_size.x(), m_siz… in render()
118 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
120 … glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
122 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
Des3fFboRenderTest.cpp113 case GL_RENDERBUFFER: return "rbo"; in getTypeName()
272 case GL_RENDERBUFFER: in Framebuffer()
274 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_colorBuff… in Framebuffer()
287 …case GL_RENDERBUFFER: m_depthStencilBuffer = createRbo(depthStencilBufferName, m_config.depthStenc… in Framebuffer()
304 …case GL_RENDERBUFFER: context.framebufferRenderbuffer(GL_FRAMEBUFFER, point, GL_RENDERBUFFER, m_de… in Framebuffer()
359 m_context.bindRenderbuffer(GL_RENDERBUFFER, name); in createRbo()
360 m_context.renderbufferStorage(GL_RENDERBUFFER, format, width, height); in createRbo()
369 else if (type == GL_RENDERBUFFER) in destroyBuffer()
658 case GL_RENDERBUFFER: in render()
659 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, fboA.getCol… in render()
[all …]
Des3fInternalFormatQueryTests.cpp59 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
72 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_SAMPLES, sampleCounts, &samples[0]); in test()
139 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
147 …glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 0, &queryTargetValu… in test()
Des3fNegativeStateApiTests.cpp867 glBindRenderbuffer (GL_RENDERBUFFER, rbo[0]); in init()
868 glRenderbufferStorage (GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, 16, 16); in init()
869 glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo[0]); in init()
870 glBindRenderbuffer (GL_RENDERBUFFER, rbo[1]); in init()
871 glRenderbufferStorage (GL_RENDERBUFFER, GL_STENCIL_INDEX8, 16, 16); in init()
872 glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo[1]); in init()
917 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
925 glGetRenderbufferParameteriv(GL_RENDERBUFFER, -1, &params[0]); in init()
930 glBindRenderbuffer(GL_RENDERBUFFER, 0); in init()
939 glGetInternalformativ (GL_RENDERBUFFER, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, -1, &params[0]); in init()
[all …]
/external/deqp/modules/gles2/functional/
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()
135 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, w, h); in test()
142 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in test()
159 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
172 glRenderbufferStorage(GL_RENDERBUFFER, requiredColorformats[ndx], 1, 1); in test()
194 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
213 glRenderbufferStorage(GL_RENDERBUFFER, requiredColorFormats[ndx].internalFormat, 1, 1); in test()
237 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
[all …]
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()
382 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
392 glRenderbufferStorage(GL_RENDERBUFFER, -1, 1, 1); in init()
[all …]
Des2fFboApiTest.cpp112 case GL_RENDERBUFFER: return "GL_RENDERBUFFER"; in getAttachmentParameterValueName()
260 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in validRboAttachmentsTest()
263 context.framebufferRenderbuffer(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_RENDERBUFFER, rbo); in validRboAttachmentsTest()
280 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in attachToDefaultFramebufferTest()
281 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo); in attachToDefaultFramebufferTest()
324 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in invalidRboAttachmentTest()
330 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo); in invalidRboAttachmentTest()
354 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, reservedRbo… in attachNamesTest()
426 ctx.bindRenderbuffer(GL_RENDERBUFFER, 3); in attachmentQueryRboTest()
427 ctx.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, 3); in attachmentQueryRboTest()
[all …]
Des2fFboRenderTest.cpp294 case GL_RENDERBUFFER: name += "rbo_"; break; in getName()
302 DE_ASSERT(depthbufferType == GL_RENDERBUFFER); in getName()
310 DE_ASSERT(stencilbufferType == GL_RENDERBUFFER); in getName()
447 case GL_RENDERBUFFER: in Framebuffer()
449 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_colorbuff… in Framebuffer()
457 if (m_config.depthbufferType == GL_RENDERBUFFER) in Framebuffer()
460 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_depthbuffe… in Framebuffer()
465 if (m_config.stencilbufferType == GL_RENDERBUFFER) in Framebuffer()
468 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, m_stencilb… in Framebuffer()
497 m_context.bindRenderbuffer(GL_RENDERBUFFER, name); in createRbo()
[all …]
Des2fFboStateQueryTests.cpp109 glBindRenderbuffer(GL_RENDERBUFFER, renderbufferID); in test()
110 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 128, 128); in test()
113 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, renderbufferID); in test()
116 …entParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_RENDERBUFFER); in test()
119 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in test()
/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.cpp237 gl.bindRenderbuffer(GL_RENDERBUFFER, m_colorBuffer); in createFramebuffer()
240 … gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); in createFramebuffer()
242 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in createFramebuffer()
244 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in createFramebuffer()
253 gl.bindRenderbuffer(GL_RENDERBUFFER, m_depthStencilBuffer); in createFramebuffer()
256 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, depthStencilFormat, width, h… in createFramebuffer()
258 gl.renderbufferStorage(GL_RENDERBUFFER, depthStencilFormat, width, height); in createFramebuffer()
260 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in createFramebuffer()
268 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_colorBuffer); in createFramebuffer()
273 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_depthStencilBuf… in createFramebuffer()
[all …]
/external/swiftshader/src/OpenGL/libGL/
DFramebuffer.cpp51 else if(type == GL_RENDERBUFFER) in lookupRenderbuffer()
105 if(mColorbufferPointer.name() == renderbuffer && mColorbufferType == GL_RENDERBUFFER) in detachRenderbuffer()
111 if(mDepthbufferPointer.name() == renderbuffer && mDepthbufferType == GL_RENDERBUFFER) in detachRenderbuffer()
117 if(mStencilbufferPointer.name() == renderbuffer && mStencilbufferType == GL_RENDERBUFFER) in detachRenderbuffer()
246 if(mColorbufferType == GL_RENDERBUFFER) in completeness()
298 if(mDepthbufferType == GL_RENDERBUFFER) in completeness()
348 if(mStencilbufferType == GL_RENDERBUFFER) in completeness()
410 mColorbufferType = GL_RENDERBUFFER; in DefaultFramebuffer()
411 mDepthbufferType = (depthStencilRenderbuffer->getDepthSize() != 0) ? GL_RENDERBUFFER : GL_NONE; in DefaultFramebuffer()
412 mStencilbufferType = (depthStencilRenderbuffer->getStencilSize() != 0) ? GL_RENDERBUFFER : GL_NONE; in DefaultFramebuffer()
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp333 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo); in read_pixels_fbo_format_mismatch()
334 ctx.glRenderbufferStorageMultisample(GL_RENDERBUFFER, 4, GL_RGBA8, 32, 32); in read_pixels_fbo_format_mismatch()
335 ctx.glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in read_pixels_fbo_format_mismatch()
357 ctx.glBindRenderbuffer (GL_RENDERBUFFER, 0); in read_pixels_fbo_format_mismatch()
1046 ctx.glBindFramebuffer(GL_RENDERBUFFER, 0); in bind_framebuffer()
1066 ctx.glCheckFramebufferStatus(GL_RENDERBUFFER); in check_framebuffer_status()
1112 ctx.glFramebufferRenderbuffer(-1, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in framebuffer_renderbuffer()
1117 ctx.glFramebufferRenderbuffer(GL_FRAMEBUFFER, -1, GL_RENDERBUFFER, 0); in framebuffer_renderbuffer()
1122 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo); in framebuffer_renderbuffer()
1125 ctx.glBindRenderbuffer(GL_RENDERBUFFER, 0); in framebuffer_renderbuffer()
[all …]
Des31fStencilTexturingTests.cpp546 gl.bindRenderbuffer(GL_RENDERBUFFER, *colorBuf); in iterate()
547 gl.renderbufferStorage(GL_RENDERBUFFER, GL_R32UI, width, height); in iterate()
550 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuf); in iterate()
608 gl.bindRenderbuffer(GL_RENDERBUFFER, *colorBuf); in iterate()
609 gl.renderbufferStorage(GL_RENDERBUFFER, GL_R32UI, width, height); in iterate()
612 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuf); in iterate()
699 gl.bindRenderbuffer(GL_RENDERBUFFER, *colorBuf); in iterate()
700 gl.renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, renderWidth, renderHeight); in iterate()
703 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuf); in iterate()
767 gl.bindRenderbuffer(GL_RENDERBUFFER, *colorBuf); in iterate()
[all …]
/external/skia/experimental/iOSSampleApp/
DSkSampleUIView.mm291 glBindRenderbuffer(GL_RENDERBUFFER, fGL.fRenderbuffer);
292 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, fGL.fRenderbuffer…
294 glBindRenderbuffer(GL_RENDERBUFFER, fGL.fStencilbuffer);
295 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, fGL.fStencilbuff…
361 glBindRenderbuffer(GL_RENDERBUFFER, fGL.fRenderbuffer);
362 [fGL.fContext renderbufferStorage:GL_RENDERBUFFER fromDrawable:fGLLayer];
364 glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &fGL.fWidth);
365 glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &fGL.fHeight);
367 glBindRenderbuffer(GL_RENDERBUFFER, fGL.fStencilbuffer);
368 glRenderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, fGL.fWidth, fGL.fHeight);
[all …]
/external/webrtc/webrtc/modules/video_render/ios/
Dvideo_render_ios_view.mm108 glBindRenderbuffer(GL_RENDERBUFFER, _colorRenderBuffer);
109 [_context renderbufferStorage:GL_RENDERBUFFER
112 GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &_frameBufferWidth);
114 GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &_frameBufferHeight);
117 GL_RENDERBUFFER,
133 if (![_context presentRenderbuffer:GL_RENDERBUFFER]) {
/external/deqp/modules/egl/
DteglImageUtil.cpp365 GL_RENDERBUFFER, rbo)); in initializeStencilRbo()
390 GL_RENDERBUFFER, 0)); in initializeStencilRbo()
398 GL_RENDERBUFFER, rbo)); in initializeDepthRbo()
424 GL_RENDERBUFFER, 0)); in initializeDepthRbo()
441 GL_RENDERBUFFER, rbo)); in initializeColorRbo()
465 GL_RENDERBUFFER, 0)); in initializeColorRbo()
473 GLU_CHECK_CALL_ERROR(gl.bindRenderbuffer(GL_RENDERBUFFER, rbo), gl.getError()); in createBuffer()
476 GLU_CHECK_CALL_ERROR(gl.renderbufferStorage(GL_RENDERBUFFER, m_format, 64, 64), gl.getError()); in createBuffer()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp499 glBindRenderbuffer(GL_RENDERBUFFER, m_uiDepthBufferMultisampled); in CreateFBO()
500 …glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, GL_DEPTH_COMPONENT24, PVRShellGet(prefW… in CreateFBO()
503 glBindRenderbuffer(GL_RENDERBUFFER, m_uiColourBufferMultisampled); in CreateFBO()
504 …glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, GL_RGB8, PVRShellGet(prefWidth), PVRShe… in CreateFBO()
505 glBindRenderbuffer(GL_RENDERBUFFER, 0); in CreateFBO()
508 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_uiDepthBufferMul… in CreateFBO()
511 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_uiColourBufferM… in CreateFBO()

1234