/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLIOSurfaceClientBufferTest.cpp | 176 EGLSurface *pbuffer) const in createIOSurfacePbuffer() 192 *pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, ioSurface.get(), in createIOSurfacePbuffer() 194 EXPECT_NE(EGL_NO_SURFACE, *pbuffer); in createIOSurfacePbuffer() 203 EGLSurface *pbuffer, in bindIOSurfaceToTexture() 206 createIOSurfacePbuffer(ioSurface, width, height, plane, internalFormat, type, pbuffer); in bindIOSurfaceToTexture() 208 // Bind the pbuffer in bindIOSurfaceToTexture() 210 EGLBoolean result = eglBindTexImage(mDisplay, *pbuffer, EGL_BACK_BUFFER); in bindIOSurfaceToTexture() 237 EGLSurface pbuffer; in doClearTest() local 239 bindIOSurfaceToTexture(ioSurface, width, height, plane, internalFormat, type, &pbuffer, in doClearTest() 256 // Unbind pbuffer an in doClearTest() 197 bindIOSurfaceToTexture(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, EGLSurface *pbuffer, GLTexture *texture) const bindIOSurfaceToTexture() argument 317 EGLSurface pbuffer; doSampleTest() local 379 EGLSurface pbuffer; doBlitTest() local 724 EGLSurface pbuffer; TEST_P() local 763 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, ioSurface.get(), mConfig, attribs); TEST_P() local 785 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 805 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 825 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 846 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 866 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 887 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 907 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 936 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, ioSurface.get(), mConfig, attribs); TEST_P() local 959 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 980 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 1001 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 1022 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 1043 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 1077 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 1098 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 1119 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 1140 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, TEST_P() local 1154 EGLSurface pbuffer; TEST_P() local [all...] |
H A D | EGLSurfacelessContextTest.cpp | 227 // Test clear+readpixels in an FBO in surfaceless and in the default FBO in a pbuffer 237 EGLSurface pbuffer = createPbuffer(500, 500); in TEST_P() local 259 // Clear to green in the pbuffer in TEST_P() 260 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, pbuffer, pbuffer, context)); in TEST_P()
|
H A D | EGLContextCompatibilityTest.cpp | 295 EGLSurface pbuffer = eglCreatePbufferSurface(mDisplay, pbufferConfig, pBufferAttribs); in testPbufferCompatibility() local 296 ASSERT_TRUE(pbuffer != EGL_NO_SURFACE); in testPbufferCompatibility() 300 testClearSurface(pbuffer, pbufferConfig, context); in testPbufferCompatibility() 304 testMakeCurrentFails(pbuffer, context); in testPbufferCompatibility() 307 eglDestroySurface(mDisplay, pbuffer); in testPbufferCompatibility() 442 // Check that a context rendering to a pbuffer with a different
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | D3DTextureTest.cpp | 159 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(display, EGL_D3D_TEXTURE_ANGLE, in createD3D11PBuffer() local 164 return pbuffer; in createD3D11PBuffer() 218 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(display, EGL_D3D_TEXTURE_ANGLE, in createPBuffer() local 223 return pbuffer; in createPBuffer() 300 // Test creating pbuffer from textures with several different DXGI formats. 321 EGLSurface pbuffer = createD3D11PBuffer(32, 32, EGL_TEXTURE_RGBA, EGL_TEXTURE_2D, 1, 0, in TEST_P() local 324 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P() 330 eglQuerySurface(display, pbuffer, EGL_GL_COLORSPACE, &colorspace); in TEST_P() 342 eglMakeCurrent(display, pbuffer, pbuffer, windo in TEST_P() 379 EGLSurface pbuffer = TEST_P() local 479 EGLSurface pbuffer = createD3D11PBuffer( TEST_P() local 579 EGLSurface pbuffer = createD3D11PBuffer( TEST_P() local 655 EGLSurface pbuffer = TEST_P() local 683 EGLSurface pbuffer = TEST_P() local 714 EGLSurface pbuffer = TEST_P() local 740 EGLSurface pbuffer = TEST_P() local 776 EGLSurface pbuffer = TEST_P() local 827 EGLSurface pbuffer = TEST_P() local 896 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 2, TEST_P() local 909 EGLSurface pbuffer = TEST_P() local 972 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, TEST_P() local 1000 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, TEST_P() local 1044 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_TEXTURE_RGBA, EGL_TEXTURE_2D, 4, TEST_P() local 1057 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 2, TEST_P() local 1073 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, TEST_P() local 1119 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, TEST_P() local 1161 EGLSurface pbuffer = createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 4, TEST_P() local [all...] |
H A D | RobustResourceInitTest.cpp | 760 EGLSurface pbuffer = eglCreatePbufferSurface(display, config, attribs); in TEST_P() local 761 ASSERT_NE(EGL_NO_SURFACE, pbuffer); in TEST_P() 763 // Clear the pbuffer in TEST_P() 764 eglMakeCurrent(display, pbuffer, pbuffer, context); in TEST_P() 770 // Bind the pbuffer to a texture and read its color in TEST_P() 775 eglBindTexImage(display, pbuffer, EGL_BACK_BUFFER); in TEST_P() 789 eglDestroySurface(display, pbuffer); in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/ |
H A D | unittests.cpp | 2279 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, buffer, getConfig(), attribs); in createIOSurfacePbuffer() local 2280 EXPECT_NE(EGL_NO_SURFACE, pbuffer); in createIOSurfacePbuffer() 2281 return pbuffer; in createIOSurfacePbuffer() 2284 void bindIOSurfaceToTexture(EGLClientBuffer buffer, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, EGLSurface *pbuffer, GLuint *texture) const in bindIOSurfaceToTexture() argument 2286 *pbuffer = createIOSurfacePbuffer(buffer, width, height, plane, internalFormat, type); in bindIOSurfaceToTexture() 2288 // Bind the pbuffer in bindIOSurfaceToTexture() 2290 EGLBoolean result = eglBindTexImage(getDisplay(), *pbuffer, EGL_BACK_BUFFER); in bindIOSurfaceToTexture() 2321 EGLSurface pbuffer; in doClearTest() local 2322 bindIOSurfaceToTexture(clientBufferWrapper.getClientBuffer(), 1, 1, 0, internalFormat, type, &pbuffer, &texture); in doClearTest() 2324 // glClear the pbuffer in doClearTest() 2359 EGLSurface pbuffer; doSampleTest() local 2572 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2599 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2623 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2647 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2672 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2696 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2721 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2745 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2783 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2812 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2838 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2864 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2891 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2917 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2943 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2970 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 2996 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 3022 EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); TEST_F() local 3039 EGLSurface pbuffer = createIOSurfacePbuffer(clientBufferWrapper.getClientBuffer(), 10, 10, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE); TEST_F() local [all...] |
/third_party/mesa3d/src/glx/apple/ |
H A D | apple_glx_pbuffer.c | 77 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; in pbuffer_make_current() 94 apple_glx_diagnostic("made pbuffer drawable 0x%lx current\n", d->drawable); in pbuffer_make_current() 102 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; in pbuffer_destroy() 106 apple_glx_diagnostic("destroying pbuffer for drawable 0x%lx\n", in pbuffer_destroy() 157 pbuf = &d->types.pbuffer; in apple_glx_pbuffer_create() 270 pbuf = &d->types.pbuffer; in apple_glx_pbuffer_query() 292 "unable to find the largest pbuffer!\n"); in apple_glx_pbuffer_query() 323 d->types.pbuffer.event_mask = mask; in apple_glx_pbuffer_set_event_mask() 340 *mask = d->types.pbuffer.event_mask; in apple_glx_pbuffer_get_event_mask()
|
H A D | apple_cgl.h | 72 GLint max_level, CGLPBufferObj * pbuffer); 74 CGLError(*destroy_pbuffer) (CGLPBufferObj pbuffer); 77 CGLPBufferObj pbuffer,
|
H A D | apple_glx_drawable.h | 109 struct apple_glx_pbuffer pbuffer; member 198 /* Returns true if the pbuffer was invalid. */ 201 /* Returns true if the pbuffer was valid and the attribute. */
|
/third_party/ffmpeg/libavcodec/ |
H A D | fmvc.c | 46 uint8_t *pbuffer; member 463 bytestream2_init_writer(pb, s->pbuffer, s->pbuffer_size); in decode_frame() 494 src = (const uint32_t *)s->pbuffer; in decode_frame() 620 s->pbuffer = av_mallocz(s->pbuffer_size); in decode_init() 621 if (!s->buffer || !s->pbuffer) in decode_init() 632 av_freep(&s->pbuffer); in decode_close()
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
H A D | tomoyo_new_file_test.c | 97 char pbuffer[1024]; in stage_file_test() local 245 memset(pbuffer, 0, sizeof(pbuffer)); in stage_file_test() 249 snprintf(pbuffer, sizeof(pbuffer) - 1, "allow_write %s", filename); in stage_file_test() 250 policy = pbuffer; in stage_file_test()
|
/third_party/ffmpeg/libavformat/ |
H A D | avio.h | 735 * @param pbuffer pointer to a byte buffer 738 int avio_get_dyn_buf(AVIOContext *s, uint8_t **pbuffer); 746 * @param pbuffer pointer to a byte buffer 749 int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer);
|
H A D | aviobuf.c | 1495 int avio_get_dyn_buf(AVIOContext *s, uint8_t **pbuffer) in avio_get_dyn_buf() argument 1500 *pbuffer = NULL; in avio_get_dyn_buf() 1506 *pbuffer = d->io_buffer; in avio_get_dyn_buf() 1512 *pbuffer = d->buffer; in avio_get_dyn_buf() 1528 int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer) in avio_close_dyn_buf() argument 1535 *pbuffer = NULL; in avio_close_dyn_buf() 1548 *pbuffer = d->buffer; in avio_close_dyn_buf()
|
/third_party/lame/Dll/ |
H A D | MP3export.pas | 247 FillChar(pbuffer^,dwSamples,0); 251 if FileRead(fs, pbuffer^, toread) = -1
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
H A D | FunctionsGLX.h | 63 void destroyPbuffer(glx::Pbuffer pbuffer) const;
|
H A D | FunctionsGLX.cpp | 394 void FunctionsGLX::destroyPbuffer(glx::Pbuffer pbuffer) const in destroyPbuffer() 396 mFnPtrs->destroyPbufferPtr(mXDisplay, pbuffer); in destroyPbuffer()
|
/third_party/skia/src/utils/win/ |
H A D | SkWGL.h | 142 * Helper class for creating a pbuffer context and deleting all the handles when finished. This 143 * requires that a device context has been created. However, the pbuffer gets its own device 144 * context. The original device context can be released once the pbuffer context is created. 157 SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc);
|
H A D | SkWGL_win.cpp | 509 SkWGLPbufferContext::SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc) in SkWGLPbufferContext() argument 510 : fPbuffer(pbuffer) in SkWGLPbufferContext()
|
/third_party/mesa3d/include/GL/ |
H A D | glx.h | 174 ** event - this helps initialization if the server supports the pbuffer 359 extern Bool glXBindTexImageARB(Display *dpy, GLXPbuffer pbuffer, int buffer); 360 extern Bool glXReleaseTexImageARB(Display *dpy, GLXPbuffer pbuffer, int buffer);
|
H A D | glxext.h | 739 typedef Bool ( *PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer); 741 Bool glXAssociateDMPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
|
/third_party/mesa3d/src/glx/ |
H A D | glx_pbuffer.c | 27 * Implementation of pbuffer related functions. 457 req->pbuffer = (GLXPbuffer) drawable; in protocolDestroyDrawable() 477 * Create a non-pbuffer GLX drawable. 549 * Destroy a non-pbuffer GLX drawable. 564 * Create a pbuffer. 614 req->pbuffer = id; in CreatePbuffer() 648 /* xserver created a pixmap with the same id as pbuffer */ in CreatePbuffer() 659 * Destroy a pbuffer. 690 req->pbuffer = (GLXPbuffer) drawable; in DestroyPbuffer() 715 * Create a new pbuffer [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
H A D | DisplayWGL.cpp | 922 HPBUFFERARB pbuffer, 938 HPBUFFERARB pbuffer, in WorkerContextWGL() 941 : mFunctionsWGL(functions), mPbuffer(pbuffer), mDeviceContext(deviceContext), mContext(context) in WorkerContextWGL() 937 WorkerContextWGL(FunctionsWGL *functions, HPBUFFERARB pbuffer, HDC deviceContext, HGLRC context) WorkerContextWGL() argument
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_fftdnoiz.c | 379 static void filter_block3d2(FFTdnoizContext *s, int plane, float *pbuffer, float *nbuffer, in filter_block3d2() argument 391 float *pbuff = pbuffer; in filter_block3d2() 441 static void filter_block3d1(FFTdnoizContext *s, int plane, float *pbuffer, in filter_block3d1() argument 453 float *pbuff = pbuffer; in filter_block3d1()
|
/third_party/backends/backend/ |
H A D | hp3900_sane.c | 2474 SANE_Byte *buffer, *pbuffer; in sane_read() local 2505 pbuffer = buffer; in sane_read() 2530 memcpy (pbuffer, s->rest, bufflength); in sane_read() 2532 pbuffer += bufflength; in sane_read() 2555 memcpy (pbuffer, s->image, bufflength); in sane_read() 2557 pbuffer += bufflength; in sane_read()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
H A D | DisplayEGL.cpp | 69 WorkerContextEGL(EGLContext context, rx::FunctionsEGL *functions, EGLSurface pbuffer); 83 EGLSurface pbuffer) in WorkerContextEGL() 84 : mContext(context), mFunctions(functions), mPbuffer(pbuffer) in WorkerContextEGL() 322 // A mock pbuffer is only needed if surfaceless contexts are not supported. in initialize() 352 return egl::EglNotInitialized() << "Failed to find a config for the mock pbuffer."; in initialize() 81 WorkerContextEGL(EGLContext context, rx::FunctionsEGL *functions, EGLSurface pbuffer) WorkerContextEGL() argument
|