[OpenJDK 2D-Dev] Integrated: 8265062: Remove duplication constant MaxTextureSize

2021-05-10 Thread Denis Konoplev
On Thu, 15 Apr 2021 14:42:55 GMT, Denis Konoplev wrote: > I've removed MaxTextureSize and replaced its usages with > MTL_GPU_FAMILY_MAC_TXT_SIZE This pull request has now been integrated. Changeset: 0e7bdae0 Author:Denis Konoplev Committer: Sergey Bylokhov URL:

Re: [OpenJDK 2D-Dev] RFR: 8265062: Remove duplication constant MaxTextureSize

2021-05-10 Thread Sergey Bylokhov
On Thu, 15 Apr 2021 14:42:55 GMT, Denis Konoplev wrote: > I've removed MaxTextureSize and replaced its usages with > MTL_GPU_FAMILY_MAC_TXT_SIZE Marked as reviewed by serb (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/3519

[OpenJDK 2D-Dev] Integrated: 8226384: Implement a better logic to switch between OpenGL and Metal pipeline

2021-05-10 Thread Jayathirth D V
On Tue, 4 May 2021 11:02:40 GMT, Jayathirth D V wrote: > We have many if else conditions to select OpenGL/Metal pipeline objects. > Apart from initialization phase we should not fetch these objects everytime > checking whether we are using OpenGL/Metal pipeline. This pull request has now been

Re: [OpenJDK 2D-Dev] RFR: 8226384: Implement a better logic to switch between OpenGL and Metal pipeline [v2]

2021-05-10 Thread Jayathirth D V
On Mon, 10 May 2021 10:14:40 GMT, Jayathirth D V wrote: >> You can add a new abstract method to the parent class: getRenderQueue(), and >> override it in subclasses to call MTLRenderQueue/OGL.getInstance(); In this >> way, you can push to the parent more methods by calling just this new >>

Re: [OpenJDK 2D-Dev] RFR: 8226384: Implement a better logic to switch between OpenGL and Metal pipeline [v2]

2021-05-10 Thread Jayathirth D V
On Fri, 7 May 2021 19:44:31 GMT, Sergey Bylokhov wrote: >> In dispose() we call validate which internally calls corresponding >> RenderQueue's of OpenGL/Metal, thats why it is not moved to CFLayer. >> For other getters since initialization of peer was happening in individual >>