/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | AlphaMacros.h | 68 AlphaOperands dstOps; member in struct:__anon911 100 ExtractAlphaOperandsFor ## STRATEGY(AlphaRules[pCompInfo->rule].dstOps, \ 530 ExtractAlphaOperandsFor ## STRATEGY(AlphaRules[pCompInfo->rule].dstOps, \
|
H A D | Blit.c | 43 SurfaceDataOps *dstOps; local 63 dstOps = SurfaceData_GetOps(env, dstData); 64 if (srcOps == 0 || dstOps == 0) { 87 if (dstOps->Lock(env, dstOps, &dstInfo, dstFlags) != SD_SUCCESS) { 97 dstOps->GetRasInfo(env, dstOps, &dstInfo); 127 SurfaceData_InvokeRelease(env, dstOps, &dstInfo); 130 SurfaceData_InvokeUnlock(env, dstOps, &dstInfo);
|
H A D | BlitBg.c | 43 SurfaceDataOps *dstOps; local 63 dstOps = SurfaceData_GetOps(env, dstData); 64 if (srcOps == 0 || dstOps == 0) { 87 if (dstOps->Lock(env, dstOps, &dstInfo, dstFlags) != SD_SUCCESS) { 98 dstOps->GetRasInfo(env, dstOps, &dstInfo); 132 SurfaceData_InvokeRelease(env, dstOps, &dstInfo); 135 SurfaceData_InvokeUnlock(env, dstOps, &dstInfo);
|
H A D | MaskBlit.c | 44 SurfaceDataOps *dstOps; local 63 dstOps = SurfaceData_GetOps(env, dstData); 64 if (srcOps == 0 || dstOps == 0) { 82 if (dstOps->Lock(env, dstOps, &dstInfo, pPrim->dstflags) != SD_SUCCESS) { 92 dstOps->GetRasInfo(env, dstOps, &dstInfo); 133 SurfaceData_InvokeRelease(env, dstOps, &dstInfo); 136 SurfaceData_InvokeUnlock(env, dstOps, &dstInfo);
|
H A D | ScaledBlit.c | 274 SurfaceDataOps *dstOps; local 299 dstOps = SurfaceData_GetOps(env, dstData); 300 if (srcOps == 0 || dstOps == 0) { 423 if (dstOps->Lock(env, dstOps, &dstInfo, dstFlags) != SD_SUCCESS) { 432 dstOps->GetRasInfo(env, dstOps, &dstInfo); 523 SurfaceData_InvokeRelease(env, dstOps, &dstInfo); 526 SurfaceData_InvokeUnlock(env, dstOps, &dstInfo);
|
H A D | TransformHelper.c | 247 SurfaceDataOps *dstOps, 275 SurfaceDataOps *dstOps; local 329 dstOps = SurfaceData_GetOps(env, dstData); 330 if (srcOps == 0 || dstOps == 0) { 373 if (dstOps->Lock(env, dstOps, &dstInfo, pMaskBlitPrim->dstflags) 414 SurfaceData_InvokeUnlock(env, dstOps, &dstInfo); 424 dstOps->GetRasInfo(env, dstOps, &dstInfo); 430 Transform_SafeHelper(env, srcOps, dstOps, 538 Transform_SafeHelper(JNIEnv *env, SurfaceDataOps *srcOps, SurfaceDataOps *dstOps, SurfaceDataRasInfo *pSrcInfo, SurfaceDataRasInfo *pDstInfo, NativePrimitive *pMaskBlitPrim, CompositeInfo *pCompInfo, TransformHelperFunc *pHelperFunc, TransformInterpFunc *pInterpFunc, RegionData *pClipInfo, TransformInfo *pItxInfo, jint *pData, jint *pEdges, jint dxoff, jint dyoff, jint sw, jint sh) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/ |
H A D | GLXSurfaceData.c | 264 OGLSD_MakeOGLContextCurrent(JNIEnv *env, OGLSDOps *srcOps, OGLSDOps *dstOps) argument 266 GLXSDOps *dstGLXOps = (GLXSDOps *)dstOps->privOps; 278 if (dstOps->drawableType == OGLSD_FBOBJECT) { 294 j2d_glBindTexture(dstOps->textureTarget, 0); 295 j2d_glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, dstOps->fbobjectID);
|
/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIBlitLoops.cpp | 64 GDIWinSDOps *dstOps = GDIWindowSurfaceData_GetOps(env, dstData); local 112 HDC hDC = dstOps->GetDC(env, dstOps, 0, NULL, clip, NULL, 0); 119 dstOps->ReleaseDC(env, dstOps, hDC); 189 if (::IsWindowVisible(dstOps->window)) { 200 if (::IsWindowVisible(dstOps->window)) { 210 dstOps->ReleaseDC(env, dstOps, hDC);
|
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/ |
H A D | WGLSurfaceData.c | 231 OGLSD_MakeOGLContextCurrent(JNIEnv *env, OGLSDOps *srcOps, OGLSDOps *dstOps) argument 234 WGLSDOps *dstWGLOps = (WGLSDOps *)dstOps->privOps; 244 dstOps->drawableType, dstOps); 253 if (dstOps->drawableType == OGLSD_FBOBJECT) { 269 j2d_glBindTexture(dstOps->textureTarget, 0); 270 j2d_glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, dstOps->fbobjectID); 278 if (dstOps->drawableType == OGLSD_PBUFFER) { 308 if (dstOps->drawableType != OGLSD_PBUFFER) { 321 if (dstOps [all...] |
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DPaints.cpp | 429 D3DPaints_SetLinearGradientPaint(D3DContext *d3dc, D3DSDOps *dstOps, argument 444 RETURN_STATUS_IF_NULL(dstOps, E_FAIL); 474 D3DPaints_SetRadialGradientPaint(D3DContext *d3dc, D3DSDOps *dstOps, argument 492 RETURN_STATUS_IF_NULL(dstOps, E_FAIL);
|
H A D | D3DBlitLoops.cpp | 331 D3DBlitSurfaceToSurface(D3DContext *d3dc, D3DSDOps *srcOps, D3DSDOps *dstOps, argument 341 RETURN_STATUS_IF_NULL(dstOps->pResource, E_FAIL); 343 RETURN_STATUS_IF_NULL(pDst = dstOps->pResource->GetSurface(), E_FAIL); 361 dstOps->width, dstOps->height); 495 D3DSDOps *srcOps, D3DSDOps *dstOps, 509 RETURN_STATUS_IF_NULL(dstOps->pResource, E_FAIL); 669 D3DSDOps *dstOps, 672 RETURN_STATUS_IF_NULL(dstOps->pResource, E_FAIL); 673 RETURN_STATUS_IF_NULL(dstOps 494 D3DBlitTextureToSurface(D3DContext *d3dc, D3DSDOps *srcOps, D3DSDOps *dstOps, jboolean rtt, D3DTEXTUREFILTERTYPE hint, jint sx1, jint sy1, jint sx2, jint sy2, float dx1, float dy1, float dx2, float dy2) argument 667 D3DBlitSwToTexture(D3DContext *d3dc, SurfaceDataRasInfo *srcInfo, int srctype, D3DSDOps *dstOps, jint sx1, jint sy1, jint sx2, jint sy2) argument 697 D3DSDOps *dstOps = (D3DSDOps *)jlong_to_ptr(pDstOps); local 807 D3DSDOps *dstOps = (D3DSDOps *)jlong_to_ptr(pDstOps); local 903 SurfaceDataOps *dstOps = (SurfaceDataOps *)jlong_to_ptr(pDstOps); local 1018 D3DBlitLoops_CopyArea(JNIEnv *env, D3DContext *d3dc, D3DSDOps *dstOps, jint x, jint y, jint width, jint height, jint dx, jint dy) argument [all...] |
H A D | D3DRenderQueue.cpp | 51 static D3DSDOps *dstOps = NULL; variable 81 D3DRQ_MarkLostIfNeeded(res, dstOps); 395 res = D3DTR_DrawGlyphList(d3dc, dstOps, 413 res = D3DBlitLoops_CopyArea(env, d3dc, dstOps, 585 dstOps = (D3DSDOps *)jlong_to_ptr(pDst); 586 res = pMgr->GetD3DContext(dstOps->adapter, &d3dc); 599 CONTINUE_IF_NULL(dstOps->pResource); 600 res = d3dc->SetRenderTarget(dstOps->pResource->GetSurface()); 628 if (dstOps == d3dsdo) { 629 dstOps [all...] |
H A D | D3DTextRenderer.cpp | 169 D3DTR_EnableLCDGlyphModeState(D3DContext *d3dc, D3DSDOps *dstOps, argument 175 RETURN_STATUS_IF_NULL(dstOps->pResource, E_FAIL); 189 GetCachedDestTexture(dstOps->pResource->GetDesc()->Format, 349 D3DTR_UpdateCachedDestination(D3DContext *d3dc, D3DSDOps *dstOps, argument 383 RETURN_STATUS_IF_NULL(dstOps->pResource, E_FAIL); 384 RETURN_STATUS_IF_NULL(pDst = dstOps->pResource->GetSurface(), 387 GetCachedDestTexture(dstOps->pResource->GetDesc()->Format, 398 jint cx2 = (dx2 > dstOps->width) ? dstOps->width : dx2; 399 jint cy2 = (dy2 > dstOps 517 D3DTR_DrawLCDGlyphViaCache(D3DContext *d3dc, D3DSDOps *dstOps, GlyphInfo *ginfo, jint x, jint y, jint glyphIndex, jint totalGlyphs, jboolean rgbOrder, jint contrast) argument 633 D3DTR_DrawLCDGlyphNoCache(D3DContext *d3dc, D3DSDOps *dstOps, GlyphInfo *ginfo, jint x, jint y, jint rowBytesOffset, jboolean rgbOrder, jint contrast) argument 761 D3DTR_DrawGlyphList(D3DContext *d3dc, D3DSDOps *dstOps, jint totalGlyphs, jboolean usePositions, jboolean subPixPos, jboolean rgbOrder, jint lcdContrast, jfloat glyphListOrigX, jfloat glyphListOrigY, unsigned char *images, unsigned char *positions) argument 881 D3DSDOps *dstOps = D3DRQ_GetCurrentDestination(); local [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLBlitLoops.c | 52 OGLBlitSurfaceToSurface(OGLContext *oglc, OGLSDOps *srcOps, OGLSDOps *dstOps, argument 106 OGLSDOps *srcOps, OGLSDOps *dstOps, 393 OGLSDOps *dstOps, 397 j2d_glBindTexture(dstOps->textureTarget, dstOps->textureID); 414 j2d_glTexSubImage2D(dstOps->textureTarget, 0, 421 j2d_glTexSubImage2D(dstOps->textureTarget, 0, 452 OGLSDOps *dstOps = (OGLSDOps *)jlong_to_ptr(pDstOps); local 468 RETURN_IF_NULL(dstOps); 509 OGLBlitTextureToSurface(oglc, srcOps, dstOps, rt 105 OGLBlitTextureToSurface(OGLContext *oglc, OGLSDOps *srcOps, OGLSDOps *dstOps, jboolean rtt, jint hint, jint sx1, jint sy1, jint sx2, jint sy2, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2) argument 392 OGLBlitSwToTexture(SurfaceDataRasInfo *srcInfo, OGLPixelFormat *pf, OGLSDOps *dstOps, jint dx1, jint dy1, jint dx2, jint dy2) argument 573 OGLSDOps *dstOps = (OGLSDOps *)jlong_to_ptr(pDstOps); local 705 SurfaceDataOps *dstOps = (SurfaceDataOps *)jlong_to_ptr(pDstOps); local 807 OGLBlitLoops_CopyArea(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps, jint x, jint y, jint width, jint height, jint dx, jint dy) argument [all...] |
H A D | OGLContext.c | 48 OGLSDOps *dstOps); 83 OGLContext_SetViewport(OGLSDOps *srcOps, OGLSDOps *dstOps) argument 85 jint width = dstOps->width; 86 jint height = dstOps->height; 92 OGLC_ACTIVE_BUFFER_NAME(dstOps->activeBuffer)); 95 j2d_glViewport(dstOps->xOffset, dstOps->yOffset, 103 j2d_glDrawBuffer(dstOps->activeBuffer); 106 j2d_glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, (GLboolean)!dstOps->isOpaque); 152 OGLSDOps *dstOps local 225 OGLContext_SetRectClip(OGLContext *oglc, OGLSDOps *dstOps, jint x1, jint y1, jint x2, jint y2) argument 306 OGLContext_EndShapeClip(OGLContext *oglc, OGLSDOps *dstOps) argument [all...] |
H A D | OGLPaints.c | 720 * yoff = dstOps->yOffset + dstOps->height 735 OGLPaints_SetLinearGradientPaint(OGLContext *oglc, OGLSDOps *dstOps, argument 749 RETURN_IF_NULL(dstOps); 778 j2d_glUniform1fARB(loc, (GLfloat)(dstOps->yOffset + dstOps->height)); 829 * precalc.y = yoff = dstOps->yOffset + dstOps->height 858 OGLPaints_SetRadialGradientPaint(OGLContext *oglc, OGLSDOps *dstOps, argument 875 RETURN_IF_NULL(dstOps); [all...] |
H A D | OGLRenderQueue.c | 57 static OGLSDOps *dstOps = NULL; variable 180 OGLRenderer_DrawAAParallelogram(oglc, dstOps, 227 OGLRenderer_FillAAParallelogram(oglc, dstOps, 259 OGLTR_DrawGlyphList(env, oglc, dstOps, 277 OGLBlitLoops_CopyArea(env, oglc, dstOps, 368 OGLContext_SetRectClip(oglc, dstOps, x1, y1, x2, y2); 385 OGLContext_EndShapeClip(oglc, dstOps); 438 dstOps = (OGLSDOps *)jlong_to_ptr(pDst); 448 dstOps = NULL; 484 // so we should nullify the current oglc and dstOps t [all...] |
H A D | OGLRenderer.c | 588 OGLRenderer_FillAAParallelogram(OGLContext *oglc, OGLSDOps *dstOps, argument 609 RETURN_IF_NULL(dstOps); 649 OGLRenderer_FillAAParallelogramInnerOuter(OGLContext *oglc, OGLSDOps *dstOps, argument 667 RETURN_IF_NULL(dstOps); 673 OGLRenderer_FillAAParallelogram(oglc, dstOps, 721 OGLRenderer_DrawAAParallelogram(OGLContext *oglc, OGLSDOps *dstOps, argument 744 RETURN_IF_NULL(dstOps); 772 OGLRenderer_FillAAParallelogramInnerOuter(oglc, dstOps, 780 OGLRenderer_FillAAParallelogram(oglc, dstOps,
|
H A D | OGLTextRenderer.c | 712 OGLTR_UpdateCachedDestination(OGLSDOps *dstOps, GlyphInfo *ginfo, argument 734 dx1adj = dstOps->xOffset + dx1; 735 dy1adj = dstOps->yOffset + dstOps->height - dy2; 794 dx1adj = dstOps->xOffset + dx1; 795 dy1adj = dstOps->yOffset + dstOps->height - dy2; 821 OGLTR_DrawLCDGlyphViaCache(OGLContext *oglc, OGLSDOps *dstOps, argument 885 OGLTR_UpdateCachedDestination(dstOps, ginfo, 951 OGLTR_DrawLCDGlyphNoCache(OGLContext *oglc, OGLSDOps *dstOps, argument 1063 OGLTR_DrawGlyphList(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps, jint totalGlyphs, jboolean usePositions, jboolean subPixPos, jboolean rgbOrder, jint lcdContrast, jfloat glyphListOrigX, jfloat glyphListOrigY, unsigned char *images, unsigned char *positions) argument 1181 OGLSDOps *dstOps = OGLRenderQueue_GetCurrentDestination(); local [all...] |