HomeSort by relevance Sort by last modified time
    Searched refs:glContext (Results 1 - 25 of 31) sorted by null

1 2

  /external/skia/tools/fiddle/
egl_context.cpp 21 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) {
23 glContext->reset(sk_gpu_test::CreatePlatformGLTestContext(kGLES_GrGLStandard));
24 if (!glContext) {
27 (*glContext)->makeCurrent();
28 sk_sp<GrContext> result = (*glContext)->makeGrContext(GrContextOptions());
30 glContext->reset();
null_context.cpp 12 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) {
fiddle_main.h 95 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext);
fiddle_main.cpp 282 std::unique_ptr<sk_gpu_test::GLTestContext> glContext;
283 sk_sp<GrContext> grContext = create_grcontext(gGLDriverInfo, &glContext);
  /external/skqp/tools/fiddle/
egl_context.cpp 21 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) {
23 glContext->reset(sk_gpu_test::CreatePlatformGLTestContext(kGLES_GrGLStandard));
24 if (!glContext) {
27 (*glContext)->makeCurrent();
28 sk_sp<GrContext> result = (*glContext)->makeGrContext(GrContextOptions());
30 glContext->reset();
null_context.cpp 12 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) {
fiddle_main.h 95 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext);
fiddle_main.cpp 282 std::unique_ptr<sk_gpu_test::GLTestContext> glContext;
283 sk_sp<GrContext> grContext = create_grcontext(gGLDriverInfo, &glContext);
  /external/skia/example/
SkiaSDLExample.cpp 116 SDL_GLContext glContext = nullptr;
172 glContext = SDL_GL_CreateContext(window);
173 if (!glContext) {
178 int success = SDL_GL_MakeCurrent(window, glContext);
284 if (glContext) {
285 SDL_GL_DeleteContext(glContext);
  /external/skqp/example/
SkiaSDLExample.cpp 116 SDL_GLContext glContext = nullptr;
172 glContext = SDL_GL_CreateContext(window);
173 if (!glContext) {
178 int success = SDL_GL_MakeCurrent(window, glContext);
284 if (glContext) {
285 SDL_GL_DeleteContext(glContext);
  /external/webrtc/talk/app/webrtc/objc/
RTCEAGLVideoView.m 139 EAGLContext* glContext =
141 if (!glContext) {
142 glContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
144 _glRenderer = [[RTCOpenGLVideoRenderer alloc] initWithContext:glContext];
148 context:glContext];
  /external/webrtc/webrtc/api/objc/
RTCEAGLVideoView.m 121 EAGLContext *glContext =
123 if (!glContext) {
124 glContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
126 _glRenderer = [[RTCOpenGLVideoRenderer alloc] initWithContext:glContext];
130 context:glContext];
  /external/skia/tests/
RectangleTextureTest.cpp 97 sk_gpu_test::GLTestContext* glContext = ctxInfo.glContext();
111 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA,
143 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID));
174 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID));
TextureBindingsResetTest.cpp 16 #define GL(F) GR_GL_CALL(ctxInfo.glContext()->gl(), F)
107 GrEGLImage eglImage = ctxInfo.glContext()->texture2DToEGLImage(info2D.fID);
110 infoExternal.fID = ctxInfo.glContext()->eglImageToExternalTexture(eglImage);
128 ctxInfo.glContext()->destroyEGLImage(eglImage);
134 GrGLuint id = ctxInfo.glContext()->createTextureRectangle(10, 10, GR_GL_RGBA, GR_GL_RGBA,
EGLImageTest.cpp 50 sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.glContext();
  /external/skqp/tests/
RectangleTextureTest.cpp 97 sk_gpu_test::GLTestContext* glContext = ctxInfo.glContext();
111 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA,
143 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID));
175 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID));
EGLImageTest.cpp 50 sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.glContext();
  /external/skia/src/gpu/gl/builders/
GrGLProgramBuilder.cpp 92 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(),
119 std::unique_ptr<SkSL::Program> program = GrSkSLtoGLSL(gpu()->glContext(), type,
338 std::unique_ptr<SkSL::Program> fs = GrSkSLtoGLSL(gpu()->glContext(),
365 std::unique_ptr<SkSL::Program> vs = GrSkSLtoGLSL(gpu()->glContext(),
394 gs = GrSkSLtoGLSL(gpu()->glContext(),
420 GrGLPrintShader(fGpu->glContext(),
428 GrGLPrintShader(fGpu->glContext(),
435 GrGLPrintShader(fGpu->glContext(),
  /external/skqp/src/gpu/gl/builders/
GrGLProgramBuilder.cpp 92 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(),
119 std::unique_ptr<SkSL::Program> program = GrSkSLtoGLSL(gpu()->glContext(), type,
283 std::unique_ptr<SkSL::Program> fs = GrSkSLtoGLSL(gpu()->glContext(),
308 std::unique_ptr<SkSL::Program> vs = GrSkSLtoGLSL(gpu()->glContext(),
330 gs = GrSkSLtoGLSL(gpu()->glContext(),
351 GrGLPrintShader(fGpu->glContext(),
359 GrGLPrintShader(fGpu->glContext(),
366 GrGLPrintShader(fGpu->glContext(),
  /external/skia/tools/gpu/
GrContextFactory.h 178 GLTestContext* glContext() const {
  /external/skqp/tools/gpu/
GrContextFactory.h 178 GLTestContext* glContext() const {
  /external/skia/src/gpu/gl/
GrGLRenderTarget.cpp 124 if (kChromium_GrGLDriver != gpu->glContext().driver()) {
154 if (kChromium_GrGLDriver != gpu->glContext().driver()) {
  /external/skia/tools/skiaserve/
Request.cpp 54 GrContextFactory::ContextOverrides::kNone).glContext();
57 GrContextFactory::ContextOverrides::kNone).glContext();
  /external/skqp/src/gpu/gl/
GrGLRenderTarget.cpp 124 if (kChromium_GrGLDriver != gpu->glContext().driver()) {
154 if (kChromium_GrGLDriver != gpu->glContext().driver()) {
  /external/skqp/tools/skiaserve/
Request.cpp 54 GrContextFactory::ContextOverrides::kNone).glContext();
57 GrContextFactory::ContextOverrides::kNone).glContext();

Completed in 501 milliseconds

1 2